-
Jonas Gröger authoredJonas Gröger authored
uuid.yml 4.17 KiB
parameters:
- $ref: '../../parameters/applicationId.yml'
get:
operationId: get-application
summary: Antragsdaten abholen
description: Ruft die Fachdaten und Metadaten eines wartenden Antrags ab.
tags:
- Application Retrieval
security:
- OAuth20:
- 'destination:manage'
- 'destination:subscribe'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '../../schemas/application.yml'
examples:
example-1:
$ref: '../../examples/application.yml'
'400':
description: Bad Request
content:
application/problem+json:
schema:
$ref: ../../schemas/error.yml
'401':
description: Unauthorized
content:
application/problem+json:
schema:
$ref: ../../schemas/error.yml
'403':
description: Forbidden
content:
application/problem+json:
schema:
$ref: ../../schemas/error.yml
'404':
description: Not Found
content:
application/problem+json:
schema:
$ref: ../../schemas/error.yml
post:
operationId: submit-application
summary: Antrag einreichen
description: Ruft eine wartende Application ab.
tags:
- Application Transfer
security:
- OAuth20:
- 'destination:send'
requestBody:
required: true
content:
application/jose:
schema:
$ref: '../../schemas/submit-application-request.yml'
responses:
'202':
description: Accepted
content:
application/json:
schema:
$ref: '../../schemas/application.yml'
examples:
example-1: