Obtaining the Reviewer List
Function
This API is used to obtain the reviewer list.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/service/authorizeapply/approver
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain it, see Project ID and Account ID. |
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
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
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 |
Parameter |
Type |
Description |
---|---|---|
id |
String |
Approver ID. |
|
String |
|
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
Parameter |
Type |
Description |
---|---|---|
- |
String |
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 |
|
400 |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot