Queries the information about 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. You can call the ListProjects operation to query the ID. | 27 |
ProjectIdentifier | string | No | The name of the DataWorks workspace. You can call the ListProjects operation to query the name. | test_project |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"RequestId": "0bc1411515937635973****",
"Success": true,
"Data": {
"Status": 0,
"MaxFlowNode": 1,
"ProjectId": 27,
"IsAllowDownload": 1,
"ProjectMode": 2,
"GmtModified": "Dec 3, 2019 9:12:20 PM",
"ProdStorageQuota": " 1",
"ProjectDescription": "abc",
"DevelopmentType": 4,
"TablePrivacyMode": 1,
"DefaultDiResourceGroupIdentifier": "group_280749521****",
"SchedulerMaxRetryTimes": 3,
"ProtectedMode": 1,
"SchedulerRetryInterval": 120000,
"Appkey": "0",
"DevStorageQuota": "0",
"ResidentArea": "private",
"IsDefault": 1,
"Destination": 0,
"ProjectName": "abc",
"ProjectIdentifier": "abc",
"DisableDevelopment": true,
"ProjectOwnerBaseId": "18229311****",
"BaseProject": false,
"UseProxyOdpsAccount": true,
"GmtCreate": "Oct 10, 2019 3:42:53 PM",
"TenantId": 280749521,
"EnvTypes": [
"[\"PROD\"]"
],
"ResourceManagerResourceGroupId": "rg-acfmzbn7pti3zfa",
"Tags": [
{
"Key": "Env",
"Value": "Test"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
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 |
---|---|---|
2023-09-19 | The Error code has changed. The request parameters of the API has changed | View Change Details |
2022-11-07 | The Error code has changed | View Change Details |
2022-10-31 | API Description Update. The Error code has changed. The response structure of the API has changed | View Change Details |