Get space detail by space ID
GET/wiki/spaces/:spaceID
History
Version | Changes |
---|---|
v6.2.16 | Added in: v6.2.16 |
Get space detail by space ID.
Request
Path Parameters
The space ID
Query Parameters
The team ID
User ID, this parameter can only be passed when calling as an Oauth bot. It is used to perform operations as the specified user
Responses
- 200
- 401
- 403
- 404
- 500
Request is successful.
- application/json
- Schema
- Example (from schema)
Schema
data
object
The space ID
The space name
The space description
The homepage ID
The createdTime of space
The updatedTime of space
The creator ID
Whether the space is allowed to share publicly
Whether the space is allowed to share internally
Whether the space is pinned
The category ID
The result of this request.
The error code of this request.
Error message for this request.
Error meta data for this request.
{
"data": {
"id": "string",
"title": "string",
"description": "string",
"homePageID": "string",
"createdTime": 0,
"updatedTime": 0,
"creatorID": "string",
"isOpenPublic": true,
"isOpenShare": true,
"isPin": true,
"categoryID": "string"
},
"result": "string",
"errorCode": "string",
"errorMsg": "string",
"errorData": {}
}
Returned if the authentication credentials are incorrect or missing.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Unauthorized",
"errorMsg": "Access token is invalid"
}
Returns if the scope check fails.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Forbidden",
"errorMsg": "Scope is invalid"
}
Returned if the resource object was not found.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "NotFound",
"errorMsg": "Not Found"
}
Internal Server Error.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Internal Server Error",
"errorMsg": "Internal Server Error"
}