Modify RUM Configuration¶
POST /api/v1/rum_cfg/{appid}/modify
Overview¶
Route Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
appid | string | Y | appId |
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
newAppId | string | New AppId Allow empty: False Allow empty string: True $maxCharacterLength: 48 |
|
dashboardUuids | array | Built-in view uuids Allow empty: False |
|
jsonContent | json | JSON format content |
|
jsonContent.name | string | Application name Allow empty: False Max length: 256 |
|
jsonContent.type | string | Application type, for existing business scenarios, type modification is not supported Allow empty: False Optional values: ['web', 'miniapp', 'android', 'ios', 'custom', 'reactnative'] |
|
jsonContent.extend | json | Other settings (if you need to add sibling fields, please inform) Allow empty: False |
|
clientToken | string | clientToken Allow empty: False Allow empty string: True |
Parameter Additional Notes¶
Request Example¶
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
Response¶
{
"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"
}