Skip to main content

Retrieve Masking Algorithm List

Paginated query of the sensitive data masking algorithm list.

Request URL: /openapi/v1/sensitiveData/algorithm/list

Request Method: GET

Request Parameters

ParameterTypeRequiredDescriptionExample
algorithmIdLongNoMasking algorithm ID.538
currentIntegerNoCurrent page number, starting from 1. Default value: 1.1
pageSizeIntegerNoPage size. Default value: 10.1

Request Example

For request headers, signatures, and GET query construction, see OpenAPI API Documentation.

{
"current": 1,
"pageSize": 1
}

Response Parameters

ParameterTypeDescription
successBooleanIndicates whether the API call is successful.
requestIdStringRequest ID.
dataArrayMasking algorithm detail list.
currentIntegerCurrent page number.
pageSizeIntegerPage size.
totalIntegerTotal number of records.

The fields of each masking algorithm detail are as follows:

ParameterTypeDescription
algorithmIdIntegerAlgorithm ID.
nameStringAlgorithm name.
descriptionStringAlgorithm description.

Successful Response Example

{
"success": true,
"requestId": "Jc4c7PKY-IOPHyYZnLOKm6PEdNQd8LIB",
"data": [
{
"algorithmId": 538,
"name": "后4位遮掩",
"description": "后4位遮掩"
}
],
"current": 1,
"pageSize": 1,
"total": 41
}