DocumentationAPI reference

Rust · 0.1.0

Get Space Member

GET /api/v1/spaces/{space}/members/{member}

SpaceService · SpaceService_GetSpaceMember

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

GetSpaceMember gets one membership in a space.

GET/api/v1/spaces/{space}/members/{member}

Parameters

Name / locationType / requirementDescription
space
path
string
Required
The space id.
member
path
string
Required
The member id.

Request body

No request body is declared.

Responses

200 · OK

application/json · SpaceMember

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": "GetSpaceMember gets one membership in a space.",
  "operationId": "SpaceService_GetSpaceMember",
  "parameters": [
    {
      "name": "space",
      "in": "path",
      "description": "The space id.",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "member",
      "in": "path",
      "description": "The member id.",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/SpaceMember"
          }
        }
      }
    },
    "default": {
      "description": "Default error response",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Status"
          }
        }
      }
    }
  }
}