SPAN Spaces API

The Spaces API from SPAN — 2 operation(s) for spaces.

OpenAPI Specification

span-io-spaces-api-openapi.yml Raw ↑
openapi: 3.0.2
info:
  title: Span Auth Spaces API
  description: Span Panel REST API
  version: v1
tags:
- name: Spaces
paths:
  /api/v1/spaces/{spaces_id}:
    get:
      summary: Deprecated Spaces Endpoint Stub
      operationId: deprecated_spaces_endpoint_stub_api_v1_spaces__spaces_id__get
      parameters:
      - required: true
        schema:
          title: Spaces Id
          type: string
        name: spaces_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Spaces
    post:
      summary: Deprecated Spaces Endpoint Stub
      operationId: deprecated_spaces_endpoint_stub_api_v1_spaces__spaces_id__post
      parameters:
      - required: true
        schema:
          title: Spaces Id
          type: string
        name: spaces_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Spaces
  /api/v1/spaces:
    get:
      summary: Deprecated Spaces Endpoint Stub
      operationId: deprecated_spaces_endpoint_stub_api_v1_spaces_get
      parameters:
      - required: false
        schema:
          title: Spaces Id
          type: string
          default: ''
        name: spaces_id
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Spaces
components:
  schemas:
    ValidationError:
      title: ValidationError
      required:
      - loc
      - msg
      - type
      type: object
      properties:
        loc:
          title: Location
          type: array
          items:
            type: string
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          title: Detail
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer