Queries the information about a DataWorks workspace.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetProjectDetail

The operation that you want to perform.

ProjectId Long Yes 27

Dataworks ID of the workspace.

RegionId String Yes cn-shanghai

The region ID of the workspace.

Response parameters

Parameter Type Example Description
Data Struct

The description of the workspace.

DefaultDiResourceGroupIdentifier String group_280749521****

The ID of the data integration resource group for the default node.

DevelopmentType Integer 4

The development type of the project. Currently, both the development type and type are 4.

EnvTypes List ["PROD"]

The basic mode only contains projects in PROD mode. The standard mode contains projects in DEV Mode and PROD mode.

GmtCreate String Oct 10, 2019 3:42:53 PM

The time when the workspace was created.

GmtModified String Dec 3, 2019 9:12:20 PM

You can call this operation to modify the workspace time.

IsAllowDownload Integer 1

Indicates whether downloads are allowed.

ProjectDescription String abc

The description of the workspace.

ProjectId Integer 27

The ID of the DataWorks workspace.

ProjectIdentifier String abc

The identifier of the workspace.

ProjectMode Integer 1

Workspace mode: 2 for the simple workspace, and 3 for the standard workspace.

ProjectName String abc

The display name of the workspace.

ProjectOwnerBaseId String 18229311****

The Alibaba Cloud ID of the workspace owner.

ProtectedMode Integer 1

Indicates whether protection is enabled for the workspace.

ResidentArea String private

The type of the workspace. The value private indicates the private Zone, and the value swap indicates the swap zone.

SchedulerMaxRetryTimes Integer 3

The number of automatic rerunning errors by default.

SchedulerRetryInterval Integer 120000

Default error automatically re-run the time interval.

Status Integer 0

The status of the workspace.

TenantId Long 280749521950784

The ID of the tenant.

HttpStatusCode Integer 200

The HTTP status code.

RequestId String 0bc1411515937635973****

The ID of the request.

Success Boolean true

Indicates whether the information of the workspace was queried.


Sample requests

     http(s)://[Endpoint]/? Action=GetProjectDetail &ProjectId=27 &RegionId=cn-shanghai &<common request parameters> 

Sample success responses

XML format

     <data> <appkey/> <baseProject>false</baseProject> <defaultDiResourceGroupIdentifier>group_280749521****</defaultDiResourceGroupIdentifier> <destination>28</destination> <devStorageQuota>64</devStorageQuota> <developmentType>4</developmentType> <disableDevelopment>false</disableDevelopment> <envTypes>PROD</envTypes> <gmtCreate>Oct 10, 2019 3:42:53 PM <gmtModified>Dec 3, 2019 9:12:20 PM <isAllowDownload>1</isAllowDownload> <isDefault>0</isDefault> <maxFlowNode>30</maxFlowNode> <prodStorageQuota>64</prodStorageQuota> <projectId>27</projectId> <projectIdentifier>abc</projectIdentifier> <projectMode>2</projectMode> <projectName>abc</projectName> <projectOwnerBaseId>18229311****</projectOwnerBaseId> <protectedMode>1</protectedMode> <residentArea>private</residentArea> <schedulerMaxRetryTimes>3</schedulerMaxRetryTimes> <schedulerRetryInterval>120000</schedulerRetryInterval> <status>0</status> <tablePrivacyMode>0</tablePrivacyMode> <tenantId>280749521950784</tenantId> <useProxyOdpsAccount>false</useProxyOdpsAccount> </data> <httpStatusCode>200</httpStatusCode> <requestId>0bc1ec9b15973****</requestId> <success>true</success> 


     { "data": { "appkey": "", "baseProject": false, "defaultDiResourceGroupIdentifier": "group_280749521****", "destination": 28, "devStorageQuota": 64, "developmentType": 4, "disableDevelopment": false, "envTypes": "PROD", "gmtCreate": "Oct 10, 2019 3:42:53 PM", "gmtModified": "Dec 3, 2019 9:12:20 PM", "isAllowDownload": 1, "isDefault": 0, "maxFlowNode": 30, "prodStorageQuota": 64, "projectId": 27, "projectIdentifier": "abc", "projectMode": 2, "projectName": "abc", "projectOwnerBaseId": "18229311****", "protectedMode": 1, "residentArea": "private", "schedulerMaxRetryTimes": 3, "schedulerRetryInterval": 120000, "status": 0, "tablePrivacyMode": 0, "tenantId": 280749521950784, "useProxyOdpsAccount": false }, "httpStatusCode": 200, "requestId": "0bc1ec9b15973****", "success": true } 

Error codes

HttpCode Error code Error message Description
400 Invalid.Tenant.ConnectionNotExists The connection does not exist. The data source does not exist.
400 Invalid.Tenant.ProjectNotExists The project does not exist. The error message returned because the specified project does not exist.
403 Invalid.Tenant.UserIsNotProjectOwnerOrAdmin The user is not a project administrator or owner. The user is not the project owner or project administrator.
400 Invalid.Tenant.UserNotInProject The user is not in the project. The user is not in the project.
403 Invalid.Tenant.UserNotInTenant The user is not in tenant. The user is not in the tenant.

Go to the Error CenterFor more information, see error codes.