Last Updated on : 2024-09-10 08:52:39
Query whether two spaces have a parent-child relationship.
GET: /v2.0/cloud/space/relation
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| parent_id | Long | query | true | The ID of the specified parent space. |
| child_id | Long | query | true | The ID of the specified subspace (child 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 | Boolean | The returned result. |
GET: /v2.0/cloud/space/relation?parent_id=15000001&child_id=15000002
{
"result": true,
"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