Queries the information about a role in a DataWorks workspace.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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. | 10002 |
Code | string | Yes | The code of the role in the DataWorks workspace. Valid values:
| role_project_guest |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "82F28E60-CF48-5EDF-AB25-D806847B97D1",
"ProjectRole": {
"ProjectId": 10002,
"Code": "role_project_guest",
"Name": "",
"Type": "System"
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history