DocumentationAPI reference
Rust · 0.1.0
Get Space Invitation
GET /api/v1/spaces/{space}/invitations/{invitation}
SpaceService · SpaceService_GetSpaceInvitation
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 the invitee or an active administrator of that space. An invitation can be inspected before the invitee becomes a member.
Request
GetSpaceInvitation gets one pending invitation.
GET
/api/v1/spaces/{space}/invitations/{invitation}Parameters
| Name / location | Type / requirement | Description |
|---|---|---|
spacepath | string Required | The space id. |
invitationpath | string Required | The invitation id. |
Request body
No request body is declared.
Responses
200 · OK
application/json · SpaceInvitation
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": "GetSpaceInvitation gets one pending invitation.",
"operationId": "SpaceService_GetSpaceInvitation",
"parameters": [
{
"name": "space",
"in": "path",
"description": "The space id.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "invitation",
"in": "path",
"description": "The invitation id.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SpaceInvitation"
}
}
}
},
"default": {
"description": "Default error response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Status"
}
}
}
}
}
}