Skip to content
Snippets Groups Projects
Commit 885889ff authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

Merge branch 'fix/api-create-key' into 'main'

FCON-155: Make .../keys endpoint POST (new key!)

See merge request fit-connect/api!96
parents b4b8d474 7849da31
No related branches found
Tags 0.13.4
1 merge request!96FCON-155: Make .../keys endpoint POST (new key!)
...@@ -47,9 +47,9 @@ get: ...@@ -47,9 +47,9 @@ get:
schema: schema:
$ref: ../../../schemas/error.yml $ref: ../../../schemas/error.yml
put: post:
operationId: add-destination-key operationId: add-destination-key
summary: Fügt dem Zustelldienst einen JWK hinzu. summary: Fügt dem Zustellpunkt einen JWK hinzu.
tags: tags:
- Zustellpunktverwaltung - Zustellpunktverwaltung
security: security:
...@@ -65,15 +65,8 @@ put: ...@@ -65,15 +65,8 @@ put:
Beispiel: Beispiel:
$ref: '../../../examples/jwk.yml' $ref: '../../../examples/jwk.yml'
responses: responses:
'200': '204':
description: OK description: Schlüssel hinzugefügt
content:
application/json:
schema:
$ref: '../../../schemas/empty-body.yml'
examples:
Beispiel:
$ref: '../../../examples/empty-body.yml'
'400': '400':
description: Bad Request description: Bad Request
content: content:
...@@ -92,9 +85,3 @@ put: ...@@ -92,9 +85,3 @@ put:
application/problem+json: application/problem+json:
schema: schema:
$ref: ../../../schemas/error.yml $ref: ../../../schemas/error.yml
'404':
description: Not Found
content:
application/problem+json:
schema:
$ref: ../../../schemas/error.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment