Last Updated on : 2024-06-29 01:17:38download
Based on the space ID, query the basic information about the specified space.
GET: /v2.0/cloud/space/{space_id}
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| space_id | Long | uri | true | The ID of the specified space. |
| Parameter name | Type | Description |
|---|---|---|
| success | Boolean | Indicates whether the operation is successful. Valid values:
|
| error_code | String | For more information, see the error codes. |
| error_msg | String | The message that is returned if the request fails. It is empty if the request is successful. |
| result | Object | The returned result. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| id | Long | The ID of the specified space. |
| name | String | The name of the specified space. |
| parent_id | Long | The ID of the specified parent space. |
| root_id | Long | The ID of the specified root space. |
GET: v2.0/cloud/space/{1500****}
{
"result": {
"parent_id": "1500****",
"name": "My Space",
"root_id": "1500****",
"id": "1500****"
},
"success": true
}
For more information, see error code.
For more information, see Limits on API Request Frequency.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback