콘텐츠로 이동

가져오기



GET /api/v1/blacklist/{blist_uuid}/get

개요

블랙리스트 규칙 가져오기

경로 매개변수

매개변수명 유형 필수 설명
blist_uuid string Y 블랙리스트 규칙 uuid
비어 있음 허용: False

매개변수 추가 설명

요청 예시

curl 'https://openapi.guance.com/api/v1/blacklist/blist_xxxx32/get' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed

응답

{
    "code": 200,
    "content": {
        "conditions": "{ `source` =  'coredns'  and ( `source` in [ 'coredns' ] )}",
        "createAt": 1698121193,
        "creator": "acnt_xxxx32",
        "deleteAt": -1,
        "desc": "",
        "filters": [
            {
                "condition": "and",
                "name": "source",
                "operation": "in",
                "value": [
                    "coredns"
                ]
            }
        ],
        "id": 518,
        "name": "Rule1",
        "source": "coredns",
        "status": 0,
        "type": "logging",
        "updateAt": 1698121193,
        "updator": "acnt_xxxx32",
        "uuid": "blist_xxxx32",
        "workspaceUUID": "wksp_xxxx32"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-1E81F1DD-1276-48E1-8D48-51F35D1FB231"
}

문서 평가

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