SpaceService · SpaceService_GetSpace
Protocol-derived reference. Authorization and instance policy still apply. Schema descriptions are inherited from the MIT-licensed application contract; examples here are not executed against a live server.
Access
Requires authentication and active membership in the relevant space. Instance administrator status does not bypass the space membership boundary.
Request
GetSpace gets a space of which the authenticated caller is a member.
GET
/api/v1/spaces/{space}Parameters
| Name / location | Type / requirement | Description |
|---|---|---|
spacepath | string Required | The space id. |
Request body
No request body is declared.
Responses
200 · OK
application/json · Space
default · Default error response
application/json · Status
Complete operation definition
All declared constraints, media types and response details are retained below. Schema references link to their complete definitions.
Open JSON definition
{
"tags": [
"SpaceService"
],
"description": "GetSpace gets a space of which the authenticated caller is a member.",
"operationId": "SpaceService_GetSpace",
"parameters": [
{
"name": "space",
"in": "path",
"description": "The space id.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Space"
}
}
}
},
"default": {
"description": "Default error response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Status"
}
}
}
}
}
}