Skip to content
Snippets Groups Projects
uuid.yaml 1.21 KiB
Newer Older
parameters:
  - $ref: '../../parameters/caseId.yaml'

get:
  summary: Vorgang abrufen
  operationId: get-case
  description: >
    Mit diesem Endpunkt kann ein Vorgang abgerufen werden.
  tags:
    - Vorgangsverwaltung
  security:
    - OAuth2:
        - 'subscribe:destination:<id>'
        - 'send:region:DE<region-id>+send:service:<service-uri>'
        - 'send:region:DE<region-id>'
  responses:
    '200':
      description: OK
      content:
        application/json:
          schema:
            $ref: '../../schemas/case/case.yaml'
          examples:
    '400':
      description: Bad Request
      content:
        application/problem+json:
          schema:
            $ref: ../../schemas/error.yaml
    '401':
      description: Unauthorized
      content:
        application/problem+json:
          schema:
            $ref: ../../schemas/error.yaml
    '403':
      description: Forbidden
      content:
        application/problem+json:
          schema:
            $ref: ../../schemas/error.yaml
    '404':
      description: Case not found
      content:
        application/problem+json:
          schema:
            $ref: ../../schemas/error.yaml