Get Project Details

Last Updated on : 2023-06-21 07:13:01download

Get the details of a specified project based on the unique project ID.

API address

GET: /v1.0/osaas/projects/{project_id}

Request parameter

Parameter nameTypeINRequiredDescription
projectIdStringurifalseThe unique ID of a specified project.

Return parameter

Parameter nameTypeDescription
projectIdStringThe ID of a specified project.
projectNameStringThe name of a specified project.
locationIdStringThe unique ID of a specified location.
addressStringThe detailed address.
timeZoneIdStringThe ID of the specified time zone.
authorizationStatusStringThe authorization status. Valid values:
  • UNAUTHORIZED: unauthorized.
  • AUTHORIZED: authorized.
  • REVOCATION_AUTHORIZATION: the authorization is revoked.
gmtCreatelongThe 13-bit timestamp of the creation time.
gmtModifiedlongThe 13-bit timestamp of the modification time.

Request example

GET:  {url}/v1.0/osaas/projects/116082396505312*******

Return example

  "success": true,
  "result": {
    "project_id": "116082396505314******",
    "project_name": "** Project"
    "location_id": "1002",
    "address": "** City, ** Province",
    "time_zone_id": "Asia/Shanghai",
    "authorization_status": "AUTHORIZED",
    "gmt_create": 1559707046000,
    "gmt_modified": 1559707046000
  "t": 1566053034624

Error code

For more information, see error code.