Quantum Art Legal API

The Legal API from Quantum Art — 1 operation(s) for legal.

OpenAPI Specification

quantum-art-legal-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: QaaS Backend admin Legal API
  description: Quantum-as-a-Service Backend providing task management, metrics, and real-time communication
  version: 1.0.0
tags:
- name: Legal
paths:
  /legal/{filename}:
    get:
      summary: Serve Legal Document
      description: 'Serve a static legal HTML document (e.g. end-user-agreement.html).


        The SPA page at /docs/end-user-agreement embeds this file in an <iframe>;

        basename() guards against path traversal.'
      operationId: serve_legal_document_legal__filename__get
      parameters:
      - name: filename
        in: path
        required: true
        schema:
          type: string
          title: Filename
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Legal
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer