RUM 설정 수정¶
POST /api/v1/rum_cfg/{appid}/modify
개요¶
경로 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| appid | string | Y | appId |
본문 요청 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| newAppId | string | 새 AppId 비어 있음 허용: False 빈 문자열 허용: True $maxCharacterLength: 48 |
|
| dashboardUuids | array | 내장 뷰 UUID 비어 있음 허용: False |
|
| jsonContent | json | JSON 형식 내용 |
|
| jsonContent.name | string | 애플리케이션 이름 비어 있음 허용: False 최대 길이: 256 |
|
| jsonContent.type | string | 애플리케이션 유형, 기존 비즈니스 시나리오에 따라 유형을 수정할 수 없습니다. 비어 있음 허용: False 선택 가능 값: ['web', 'miniapp', 'android', 'ios', 'custom', 'reactnative', 'harmonyos'] |
|
| jsonContent.extend | json | 기타 설정 (동일 레벨 필드 추가가 필요한 경우 알려주세요) 비어 있음 허용: False |
|
| clientToken | string | clientToken 비어 있음 허용: False 빈 문자열 허용: True |
매개변수 추가 설명¶
요청 예시¶
curl 'https://openapi.guance.com/api/v1/rum_cfg/fe52be60_xxx_0ffb4a4ef591/modify' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"newAppId":"fe52be60_xxx_0ffb4a4ef591","jsonContent":{"name":"assddd"}, "clientToken":"xxx"}' \
--compressed
응답¶
{
"code": 200,
"content": {
"appId": "fe52be60_xxx0ffb4a4ef591",
"createAt": 1690813059,
"creator": "acnt_xxxx32",
"deleteAt": -1,
"id": 1137,
"jsonContent": {
"name": "assddd",
"type": "ios"
},
"status": 0,
"updateAt": 1690813174.8154745,
"updator": "acnt_xxxx32",
"uuid": "fe52be60_xxx8ee7_0ffb4a4ef591",
"workspaceUUID": "wksp_xxxx32",
"clientToken": "xxx"
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "6253921915388520691"
}