콘텐츠로 이동

RUM 구성 추가



POST /api/v1/rum_cfg/add

개요

Body 요청 매개변수

매개변수명 유형 필수 설명
customIdentity string 사용자 지정 식별자(최대 19자)
Null 허용: False
빈 문자열 허용: True
$maxCharacterLength: 19
appId string 사용자 지정 appId(최대 48자)
Null 허용: False
빈 문자열 허용: True
$maxCharacterLength: 48
dashboardUuids array 기본 제공 대시보드 UUID
Null 허용: False
jsonContent json Y JSON 형식 콘텐츠
Null 허용: False
jsonContent.name string Y 애플리케이션 이름
Null 허용: False
최대 길이: 256
jsonContent.type string Y 애플리케이션 유형
Null 허용: False
사용 가능한 값: ['web', 'miniapp', 'android', 'ios', 'custom', 'reactnative', 'harmonyos']
jsonContent.extend json 기타 설정(동일 레벨 필드 추가가 필요한 경우 알려주세요)
Null 허용: False
clientToken string clientToken
Null 허용: 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"
} 

문서 평가

이 페이지가 도움이 되었나요?