콘텐츠로 이동

수정



POST /api/v1/error_track_rule/{rule_uuid}/modify

개요

경로 매개변수

매개변수명 유형 필수 설명
rule_uuid string Y 규칙 UUID
빈 문자열 허용: False

Body 요청 매개변수

매개변수명 유형 필수 설명
name string Y 이름
비워 둘 수 없음: False
최대 길이: 128
desc string 설명
비워 둘 수 없음: False
빈 문자열 허용: True
최대 길이: 256
type string Y 유형
비워 둘 수 없음: False
선택 가능한 값: ['logging', 'tracing', 'rum']
sources array 출처
예시: ['wsAdmin', 'acnt_xxxx', 'group_yyyy']
비워 둘 수 없음: False
extend json 확장 정보
비워 둘 수 없음: False

매개변수 추가 설명

요청 예시

curl 'https://openapi.guance.com/api/v1/error_track_rule/<rule_uuid>/modify' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"name":"jj_test-m","desc":"","type":"logging","sources":["front_backend"]}'

응답

{
    "code": 200,
    "content": {
        "createAt": 1772788123,
        "creator": "acnt_8b4bd2b8782646f3ba8f6554193f5997",
        "deleteAt": -1,
        "desc": "",
        "extend": {},
        "id": 30,
        "name": "jj_test-m",
        "sources": [
            "front_backend"
        ],
        "status": 0,
        "type": "logging",
        "updateAt": 1772788280.5053403,
        "updator": "acnt_8b4bd2b8782646f3ba8f6554193f5997",
        "uuid": "issetrule_02b5abf016524b3fa2c0a15bd3279c1b",
        "workspaceUUID": "wksp_84c4a0044edc4f878ea88e4517659bda"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "57e462a51b100daa7b48b57c57046b49"
} 

문서 평가

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