Updated on 2026-01-13 GMT+08:00

Querying Masking Algorithms

Function

This API is used to obtain the available masking algorithms of a specified device.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/devices/{device_id}/mask-algorithms

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

device_id

Yes

String

Device ID.

project_id

Yes

String

Project ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

limit

No

Integer

Number of records on each page.

offset

No

Integer

Pagination offset.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

[items]

Array of DdsMaskAlgorithm objects

Response body.

Table 4 DdsMaskAlgorithm

Parameter

Type

Description

id

Integer

Algorithm ID.

name

String

Algorithm name.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Query result.

401

Unauthorized. The user is not logged in or the token is invalid.

403

Unauthorized to access the resource.

404

The specified project or device does not exist.

Error Codes

See Error Codes.