콘텐츠로 이동

조회



GET /api/v1/wksp_share/{wksp_share_uuid}/get

개요

경로 매개변수

매개변수명 유형 필수 설명
wksp_share_uuid string Y 데이터 권한 부여의 uuid

매개변수 추가 설명

1. 응답 매개변수 설명

매개변수명 설명
type 권한 부여 유형, ["*"]는 전체를 의미, 선택 가능한 유형: ["metric","keyevent","network","rum","dialtest","billing","logging","tracing","object","custom_object","profiling","llm","agent_monitor"]
indexes 권한이 부여된 로그 인덱스 이름
regionCode 권한이 부여된 사이트 코드
regionName 권한이 부여된 사이트 이름
workspaceUUID 권한이 부여된 워크스페이스 uuid
workspaceName 권한이 부여된 워크스페이스 이름
toRegionCode 권한을 부여받은 사이트 코드
toRegionName 권한을 부여받은 사이트 이름
toWorkspaceUUID 권한을 부여받은 워크스페이스 uuid
toWorkspaceName 권한을 부여받은 워크스페이스 이름

요청 예시

curl 'https://openapi.guance.com/api/v1/wksp_share/<wksp_share_uuid>/get' \
-H 'Content-Type: application/json' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed

응답

{
    "code": 200,
    "content": {
        "createAt": 1748239945,
        "creator": "acnt_06d1380440d54f2d845cb1dd3c896e45",
        "creatorInfo": {
            "acntWsNickname": "wayne",
            "email": "xxx@guance.com",
            "iconUrl": "",
            "mobile": "15221535988",
            "name": "huangzhijie",
            "status": 0,
            "username": "xxx@guance.com",
            "uuid": "acnt_06d1380440d54f2d845cb1dd3c896e45",
            "wsAccountStatus": 0
        },
        "declaration": {
            "asd": "aa,bb,cc,1,True",
            "asdasd": "dawdawd",
            "business": "aaa",
            "dd": "dd",
            "fawf": "afawf",
            "organization": "64fe7b4062f74d0007b46676"
        },
        "delayDeleteAt": -1,
        "deleteAt": -1,
        "id": 432,
        "indexes": [],
        "regionCode": "testing",
        "regionName": "testing-guance",
        "status": 0,
        "toRegionCode": "testing",
        "toRegionName": "testing-guance",
        "toWorkspaceName": "Wayne",
        "toWorkspaceUUID": "wksp_dc1b82a836ba4f71a4c136c99f119a11",
        "type": [
            "object"
        ],
        "updateAt": -1,
        "updator": "",
        "updatorInfo": {},
        "uuid": "grant_991621bf749c484a90261eeb7468f18e",
        "workspaceName": "testing workspace",
        "workspaceUUID": "wksp_4b57c7bab38e4a2d9630f675dc20015d"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-7082B028-6C30-44D5-B7D1-7B749B780FDF"
}

문서 평가

이 페이지가 도움이 되었나요?