콘텐츠로 이동

수정



POST /api/v1/wksp_share/{wksp_share_uuid}/modify

개요

라우트 매개변수

매개변수명 유형 필수 여부 설명
data_mask_rule_uuid string Y 데이터 마스킹 규칙의 uuid

Body 요청 매개변수

매개변수명 유형 필수 여부 설명
type array Y 데이터 유형, ["*"]는 전체를 의미
예시: ['metric', 'keyevent', 'network', 'rum', 'dialtest', 'billing', 'logging', 'tracing', 'object', 'custom_object', 'profiling', 'llm', 'agent_monitor']
비어 있음 허용: True
indexes array Y 인덱스 이름, [""]는 전체를 의미
예시: ['
']
비어 있음 허용: False
conditions json 필터 조건
비어 있음 허용: False
conditions.metric array 메트릭 유형의 필터 조건
비어 있음 허용: False
conditions.tracing array APM 유형의 필터 조건
비어 있음 허용: False
conditions.rum array RUM 유형의 필터 조건
비어 있음 허용: False

매개변수 추가 설명

요청 예시

curl 'https://openapi.guance.com/api/v1/wksp_share/<wksp_share_uuid>/modify' \
-H 'Content-Type: application/json' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--data-raw '{"type":["logging"],"indexes":["test_aa"]}' \
--compressed

응답

{
    "code": 200,
    "content": {
        "authorizationCode": "3a76b5cf47b24bcfa1febbc3b31cb6be",
        "createAt": 1757572382,
        "creator": "wsak_7e0689c908774efda1b345c20c5d23d7",
        "declaration": {
            "asd": "aa,bb,cc,1,True",
            "asdasd": "dawdawd",
            "business": "aaa",
            "dd": "dd",
            "fawf": "afawf",
            "organization": "64fe7b4062f74d0007b46676"
        },
        "delayDeleteAt": -1,
        "deleteAt": -1,
        "id": 468,
        "indexes": [
            "test_aa"
        ],
        "regionCode": "testing",
        "status": 0,
        "toRegionCode": "testing",
        "toWorkspaceName": "doris testing",
        "toWorkspaceUUID": "wksp_a810008c0e4e4e70ad9222c01f083287",
        "type": [
            "logging"
        ],
        "updateAt": -1,
        "updator": "",
        "uuid": "grant_2ee1f355abf84a038f4aacb9319fd747",
        "workspaceName": "testing workspace",
        "workspaceUUID": "wksp_4b57c7bab38e4a2d9630f675dc20015d"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-B0F24E23-6043-4FF7-B77F-F33E07A3525E"
}

문서 평가

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