Get Projects Details Using GET
Get the project details (Use projectId value "default" for accessing the default project)
Access Policy
| Role | User Accounts | Service Accounts (Client Credentials Applications) |
|---|---|---|
| Organization Admin | ✔️ | ✔️ |
| Organization Owner | ✔️ | ✔️ |
| Project Admin | ✔️ | ✔️ |
Parent organization ID for the project
Identifier of the project specified
If project metadata is included in response
Project metadata type
OK
{
"createdBy": "string",
"creationDate": "string",
"depth": 0,
"description": "string",
"displayName": "string",
"enabledServices": [
"string"
],
"id": "string",
"lastModifiedBy": "string",
"lastModifiedDate": "string",
"leaf": false,
"parentPath": "string",
"parentProjectId": "string",
"projectMetadata": {
"metadataContents": {
"metadataContents": "string"
},
"metadataType": "string"
},
"subResourceServiceScopes": [
"string"
],
"type": "string",
"vrn": "string"
}
Username or clientId of the project creator
Date of project creation
depth
Description of the project
Name of the project
List of serviceDefinitionIds of enabled services for this project
ID generated by the system
Username or clientId of the project modifier
Date of last project modification
leaf
parentPath
Parent project of this project
projectMetadata
List of serviceDefinitionIds of allowed services for this project's children (Default is all)
Type of project (Default is CUSTOM)
vrn
Unauthorized
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user is forbidden to use the API
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Not Found
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Internal Server Error
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
curl -H 'Authorization: <value>' https://{api_host}/csp/gateway/resource/api/v1/orgs/{orgId}/projects/{projectId}