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 data authorization

Parameter Additional Information

1. Response Parameter Description

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

Request Example

curl 'https://openapi.truewatch.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": "[email protected]",
            "iconUrl": "",
            "mobile": "15221535988",
            "name": "huangzhijie",
            "status": 0,
            "username": "[email protected]",
            "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"
}