Queries a list of existing members in a DataWorks workspace.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The ID of the DataWorks workspace. | 27 |
PageNumber | integer | No | The page number. Valid values: 1 to 30. Default value: 1. | 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": "1AFAE64E-D1BE-432B-A9****",
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 3,
"ProjectMemberList": [
{
"Status": "0",
"ProjectMemberId": "121",
"Nick": "zhangsan",
"ProjectMemberName": "zhangsan",
"ProjectMemberType": "1",
"ProjectRoleList": [
{
"ProjectRoleId": 1,
"ProjectRoleType": "0",
"ProjectRoleName": "test",
"ProjectRoleCode": "role_project_guest"
}
]
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Invalid.Tenant.ConnectionNotExists | The connection does not exist. | The connection does not exist. |
400 | Invalid.Tenant.ProjectNotExists | The project does not exist. | The project does not exist. |
400 | Invalid.Tenant.UserNotInProject | The user is not in the project. | The user is not in the project. |
403 | Invalid.Tenant.UserIsNotProjectOwnerOrAdmin | The user is not a project administrator or owner. | The user is not a project administrator or owner. |
403 | Invalid.Tenant.UserNotInTenant | The user is not in tenant. | The user is not in tenant. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history