수정¶
POST /api/v1/viewer/{viewer_uuid}/modify
개요¶
탐색기 수정
경로 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| viewer_uuid | string | Y | 탐색기 UUID |
본문 요청 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| name | string | 탐색기 이름 예시: 탐색기 1번 비워 둘 수 없음: False 최대 길이: 64 |
|
| desc | string | 설명 예시: 설명 1 비워 둘 수 없음: False 빈 문자열 허용: True 최대 길이: 2048 |
|
| type | string | 유형, 기본값은 CUSTOM 예시: CUSTOM 비워 둘 수 없음: False 최대 길이: 32 |
|
| extend | json | 탐색기의 추가 데이터, 기본값은 {} 예시: {} 비워 둘 수 없음: False |
|
| pathName | string | explorer 경로명 예시: tracing__profile 비워 둘 수 없음: False 최대 길이: 32 |
|
| tagNames | array | tag의 name 비워 둘 수 없음: False |
|
| tagNames[*] | string | tag명 비워 둘 수 없음: False 최대 길이: 128 |
|
| dashboardBindSet | array | 탐색기에 바인딩된 뷰 정보 예시: [] 비워 둘 수 없음: False 빈 문자열 허용: False |
매개변수 추가 설명¶
요청 예시¶
curl 'https://openapi.guance.com/api/v1/viewer/dsbd_xxxx32/modify' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"name":"modify_viewer","tagNames":["Application Performance"]}' \
--compressed
응답¶
{
"code": 200,
"content": {
"chartGroupPos": [],
"chartPos": [],
"createAt": 1677661673,
"createdWay": "manual",
"creator": "wsak_xxxxx",
"dashboardBidding": {},
"dashboardBindSet": [],
"deleteAt": -1,
"extend": {
"analysisField": "message",
"charts": [
null,
null,
null
],
"filters": [],
"index": "tracing",
"quickFilter": {
"columns": []
},
"rumAppId": "",
"rumType": "",
"selectedIndex": "default",
"source": "",
"table": {
"columns": []
}
},
"iconSet": {},
"id": 712,
"isPublic": 1,
"mapping": [],
"name": "modify_viewer",
"old_name": "add_viewer",
"ownerType": "viewer",
"status": 0,
"tag_info": {
"tagInfo": [
{
"id": "tag_xxxx32",
"name": "Application Performance"
}
]
},
"type": "CUSTOM",
"updateAt": 1677662058.377045,
"updator": "wsak_xxxxx",
"updatorInfo": {
"email": "wsak_xxxxx",
"iconUrl": "",
"name": "Smart Inspection Test",
"username": "xxxx"
},
"uuid": "dsbd_xxxx32",
"workspaceUUID": "wksp_xxxx32"
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-AECCF8D3-29D3-431E-AB68-046688C30035"
}