跳转至

修改RUM配置



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

概述

路由参数

参数名 类型 必选 说明
appid string Y appId

Body 请求参数

参数名 类型 必选 说明
newAppId string 新的AppId
允许为空: False
允许空字符串: True
$maxCharacterLength: 48
dashboardUuids array 内置视图uuids
允许为空: False
jsonContent json JSON格式内容
jsonContent.name string 应用名称
允许为空: False
最大长度: 256
jsonContent.type string 应用类型,针对现有的业务场景,不支持修改类型
允许为空: False
可选值: ['web', 'miniapp', 'android', 'ios', 'custom']
jsonContent.extend json 其他设置(如需增加同级字段请告知)
允许为空: False

参数补充说明

请求例子

curl 'https://openapi.guance.com/api/v1/rum_cfg/fe52be60_2fac_11ee_8ee7_0ffb4a4ef591/modify' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"newAppId":"fe52be60_2fac_11ee_8ee7_0ffb4a4ef591","jsonContent":{"name":"assddd"}}' \
--compressed

响应

{
    "code": 200,
    "content": {
        "appId": "fe52be60_2fac_11ee_8ee7_0ffb4a4ef591",
        "createAt": 1690813059,
        "creator": "acnt_349ee5f70a89442fa94b4f754b5acbfe",
        "deleteAt": -1,
        "id": 1137,
        "jsonContent": {
            "name": "assddd",
            "type": "ios"
        },
        "status": 0,
        "updateAt": 1690813174.8154745,
        "updator": "acnt_349ee5f70a89442fa94b4f754b5acbfe",
        "uuid": "fe52be60_2fac_11ee_8ee7_0ffb4a4ef591",
        "workspaceUUID": "wksp_a7baa18031fb4a2db2ad467d384fd804"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "6253921915388520691"
} 

文档评价

文档内容是否对您有帮助? ×