Skip to content

Add RUM Configuration Information



POST /api/v1/rum_cfg/add

Overview

Body Request Parameters

Parameter Name Type Required Description
customIdentity string No Custom Identity (maximum 19 characters)
Allow Null: False
Allow Empty String: True
$maxCharacterLength: 19
appId string No Custom appId (maximum 48 characters)
Allow Null: False
Allow Empty String: True
$maxCharacterLength: 48
dashboardUuids array No Built-in View UUIDs
Allow Null: False
jsonContent json Yes JSON Format Content
Allow Null: False
jsonContent.name string Yes Application Name
Allow Null: False
Maximum Length: 256
jsonContent.type string Yes Application Type
Allow Null: False
Optional Values: ['web', 'miniapp', 'android', 'ios', 'custom', 'reactnative']
jsonContent.extend json No Other Settings (please inform if additional fields at the same level are needed)
Allow Null: False
clientToken string No clientToken
Allow Null: False
Allow 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? ×