Skip to content

Modify RUM Configuration



POST /api/v1/rum_cfg/{appid}/modify

Overview

Route Parameters

Parameter Name Type Required Description
appid string Y App ID

Body Request Parameters

Parameter Name Type Required Description
newAppId string New App ID
Allow null: False
Allow empty string: True
$maxCharacterLength: 48
dashboardUuids array Built-in View UUIDs
Allow null: False
jsonContent json JSON formatted content
jsonContent.name string Application name
Allow null: False
Maximum length: 256
jsonContent.type string Application type, not editable for existing use cases
Allow null: False
Options: ['web', 'miniapp', 'android', 'ios', 'custom', 'reactnative']
jsonContent.extend json Additional settings (please inform if you need to add fields at the same level)
Allow null: False
clientToken string Client token
Allow null: False
Allow empty string: True

Additional Parameter 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"
} 

Feedback

Is this page helpful? ×