Skip to content

Add RUM Configuration



POST /api/v1/rum_cfg/add

Overview

Body Request Parameters

Parameter Name Type Required Description
customIdentity string Custom identity (maximum character length of 19 characters)
Can be null: False
Can be an empty string: True
$maxCharacterLength: 19
appId string Custom appId (maximum character length of 48 characters)
Can be null: False
Can be an empty string: True
$maxCharacterLength: 48
dashboardUuids array Built-in view uuids
Can be null: False
jsonContent json Y JSON formatted content
Can be null: False
jsonContent.name string Y Application name
Can be null: False
Maximum length: 256
jsonContent.type string Y Application type
Can be null: False
Possible values: ['web', 'miniapp', 'android', 'ios', 'custom', 'reactnative']
jsonContent.extend json Other settings (inform us if you need to add fields at the same level)
Can be null: False
clientToken string clientToken
Can be null: False
Can be an empty string: True

Additional Parameter Notes

Request Example

curl 'https://openapi.guance.com/api/v1/rum_cfg/add' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"appId":"fe52be60_2fac_11ee_8ee7_0ffb4a4ef591","jsonContent":{"name":"ass","type":"ios"},"clientToken":"xxx"}' \
--compressed

Response

{
    "code": 200,
    "content": {
        "appId": "fe52be60_2fac_11ee_8ee7_0ffb4a4ef591",
        "createAt": 1690813059,
        "creator": "acnt_xxxx32",
        "deleteAt": -1,
        "id": null,
        "jsonContent": {
            "name": "ass",
            "type": "ios"
        },
        "status": 0,
        "updateAt": 1690813059,
        "updator": "acnt_xxxx32",
        "uuid": "fe52be60_2fac_11ee_8ee7_0ffb4a4ef591",
        "workspaceUUID": "wksp_xxxx32",
        "clientToken": "xxx"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "5891899618838740754"
} 

Feedback

Is this page helpful? ×