Queries the information about roles in a DataWorks workspace by page.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to query the ID. You must configure this parameter to specify the DataWorks workspace to which the API operation is applied. | 21229 |
Codes | array | No | The codes of roles in the DataWorks workspace. | |
string | No | The code of the role in the DataWorks workspace. Valid values:
| role_project_guest | |
Names | array | No | The names of roles in the DataWorks workspace. | |
string | No | The name of the role in the DataWorks workspace. | ||
Type | string | No | The type of the role in the DataWorks workspace. Valid values:
| System |
PageNumber | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries per page. Default value: 10. Maximum value: 100. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "61649187-0BCF-5E75-8D4B-64FDBEBBB447",
"PagingInfo": {
"PageSize": "10",
"PageNumber": "1",
"TotalCount": "42",
"ProjectRoles": [
{
"ProjectId": 21229,
"Code": "role_project_guest\n",
"Name": "",
"Type": "System"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|