Skip to content

Get



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

Overview

Route Parameters

Parameter Name Type Required Description
wksp_share_uuid string Y The uuid of the data grant

Parameter Details

1. Response Parameter Details

Parameter Name Description
type Grant type, ["*"] means all, optional types: ["metric","keyevent","network","rum","dialtest","billing","logging","tracing","object","custom_object","profiling","llm","agent_monitor"]
indexes Granted log index names
regionCode Granting site code
regionName Granting site name
workspaceUUID Granting workspace uuid
workspaceName Granting workspace name
toRegionCode Granted site code
toRegionName Granted site name
toWorkspaceUUID Granted workspace uuid
toWorkspaceName Granted workspace name

Request Example

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

Response

{
    "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"
} 

Feedback

Is this page helpful? ×