Updated on 2025-11-28 GMT+08:00

Obtaining the Reviewer List

Function

This API is used to obtain the reviewer list.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.

URI

GET /v1/{project_id}/service/authorizeapply/approver

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details about how to obtain it, see Project ID and Account ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

page

No

Integer

Page

size

No

Integer

Number of records on each page.

approver_name

No

String

Approver name.

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token. This parameter is mandatory when token authentication is used. You can obtain it from the value of X-Subject-Token in the response message header returned by the "Obtaining a User Token" API of the IAM service.

workspace

Yes

String

Workspace ID. For details about how to obtain it, see Instance ID and Workspace ID.

Dlm-Type

No

String

Edition of the DataArts DataService. The value can be SHARED or EXCLUSIVE.

Content-Type

Yes

String

Type (format) of the message body. This parameter is mandatory when there is a body. If the request body contains Chinese characters, use charset=utf8 to specify the Chinese character set, for example, application/json;charset=utf8.

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

total_records

String

Total records

size

Integer

Entries per page

total_pages

Integer

Total number of pages.

approvers

Array of approvers objects

Reviewer list information

Table 5 approvers

Parameter

Type

Description

id

String

Approver ID.

email

String

Email

department

String

Department

description

String

Description.

character

String

Role

approver_name

String

Approver name

user_id

String

User ID

user_name

String

Username

phone_number

String

Phone number.

create_by

String

Creator

create_time

Integer

Creation time.

app_name

String

app_name

topic_urn

String

topic_urn

template_id

String

template_id

project_id

String

The project ID.

approver_type

Integer

Reviewer Type

Status code: 400

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Requests

Querying the Approver List

/v1/0833a5737480d53b2f25c010dc1a7b88/service/authorizeapply/approver?page=1&size=10

{
  "total_records" : 2,
  "size" : 2,
  "total_pages" : 1,
  "approvers" : [ {
    "id" : "49517",
    "approver_name" : "pub_ei_dayu",
    "userId" : "08840179ee00d20a1f14c010a9c87b58",
    "user_name" : "pub_ei_dayu",
    "email" : null,
    "phone_number" : null,
    "create_by" : "08840179ee00d20a1f14c010a9c87b58",
    "create_time" : 1732589446000,
    "app_name" : "dlg_dlm",
    "topic_urn" : null,
    "templateId" : null,
    "project_id" : "0833a5737480d53b2f25c010dc1a7b88-workspace-27edbfb4c0c04f9d8381e0f915e1df57",
    "department" : null,
    "description" : null,
    "character" : null,
    "approver_type" : 0
  }, {
    "id" : "51278",
    "approver_name" : "ei_dayu_y00321344_01",
    "userId" : "0833a573fe80d5401f6dc010a775569a",
    "user_name" : "ei_dayu_y00321344_01",
    "email" : null,
    "phone_number" : null,
    "create_by" : "0833a573fe80d5401f6dc010a775569a",
    "create_time" : 1752051809000,
    "app_name" : "dlg_dlm",
    "topic_urn" : null,
    "template_id" : null,
    "project_id" : "0833a5737480d53b2f25c010dc1a7b88-workspace-27edbfb4c0c04f9d8381e0f915e1df57",
    "department" : null,
    "description" : null,
    "character" : null,
    "approver_type" : 0
  } ]
}

Example Responses

None

Status Codes

Status Code

Description

200

Success.

400

Bad request.