Skip to content

List



GET /api/v1/data_mask_rule/list

Overview

Query Request Parameters

Parameter Name Type Required Description
search string No Search rule name
Can be empty: False
pageIndex integer No Page number
Can be empty: False
Example: 1
$minValue: 1
pageSize integer No Number of items per page
Can be empty: False
Example: 10
$minValue: 1
$maxValue: 100

Additional Parameter Notes

Request Example

curl 'https://openapi.guance.com/api/v1/data_mask_rule/list' \
-H 'Content-Type: application/json' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed

Response

{
    "code": 200,
    "content": {
        "data": [
            {
                "createAt": 1715571687,
                "creator": "acnt_xxxxxe",
                "creatorInfo": {
                    "uuid": "xx",
                    "status": 0,
                    "username": "xx",
                    "name": "xx",
                    "iconUrl": "",
                    "email": "xx",
                    "acntWsNickname": "xx"
                },
                "deleteAt": -1,
                "field": "aaabbb",
                "id": 150,
                "name": "gary-test123321",
                "reExpr": "https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_\\+.~#?&//=]*)",
                "roleUUIDs": [
                    "wsAdmin"
                ],
                "roles": [
                    {
                        "name": "Administrator",
                        "uuid": "wsAdmin"
                    }
                ],
                "status": 0,
                "type": "logging",
                "updateAt": 1715910622,
                "updator": "acnt_xxxxx1",
                "updatorInfo": {
                    "uuid": "xx",
                    "status": 0,
                    "username": "xx",
                    "name": "xx",
                    "iconUrl": "",
                    "email": "xx",
                    "acntWsNickname": "xx"
                },
                "uuid": "wdmk_xxxx6",
                "workspaceUUID": "wksp_xxxx015d"
            }
        ]
    },
    "errorCode": "",
    "message": "",
    "pageInfo": {
        "count": 1,
        "pageIndex": 1,
        "pageSize": 1,
        "totalCount": 11
    },
    "success": true,
    "traceId": "TRACE-DDB4E1C4-9E98-4D80-94BE-745918802B8B"
} 

Feedback

Is this page helpful? ×