RUM 設定の追加¶
POST /api/v1/rum_cfg/add
概要¶
Body リクエストパラメータ¶
| パラメータ名 | 型 | 必須 | 説明 |
|---|---|---|---|
| customIdentity | string | カスタム識別子(文字数最大19文字) 空を許可: False 空文字列を許可: True $maxCharacterLength: 19 |
|
| appId | string | カスタム appId(文字数最大48文字) 空を許可: False 空文字列を許可: True $maxCharacterLength: 48 |
|
| dashboardUuids | array | 組み込みビューの UUID 空を許可: False |
|
| jsonContent | json | Y | JSON 形式の内容 空を許可: False |
| jsonContent.name | string | Y | アプリケーション名 空を許可: False 最大長: 256 |
| jsonContent.type | string | Y | アプリケーションタイプ 空を許可: False 選択可能な値: ['web', 'miniapp', 'android', 'ios', 'custom', 'reactnative', 'harmonyos'] |
| jsonContent.extend | json | その他の設定(同階層のフィールドを追加する場合はお知らせください) 空を許可: False |
|
| clientToken | string | clientToken 空を許可: False 空文字列を許可: True |
パラメータ補足説明¶
リクエスト例¶
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
レスポンス¶
{
"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"
}