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 19 characters)
Allow empty: False
Allow empty string: True
$maxCharacterLength: 19
appId string Custom appId (maximum 48 characters)
Allow empty: False
Allow empty string: True
$maxCharacterLength: 48
dashboardUuids array Built-in view uuids
Allow empty: False
jsonContent json Y JSON format content
Allow empty: False
jsonContent.name string Y Application name
Allow empty: False
Maximum length: 256
jsonContent.type string Y Application type
Allow empty: False
Optional values: ['web', 'miniapp', 'android', 'ios', 'custom', 'reactnative']
jsonContent.extend json Other settings (if additional fields are needed, please inform)
Allow empty: False
clientToken string clientToken
Allow empty: False
Allow empty string: True

Parameter Additional Explanation

Request Example

curl 'https://openapi.truewatch.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"
}