Skip to content
Snippets Groups Projects
Commit 9de7695d authored by David Schwarzmann's avatar David Schwarzmann
Browse files

Merge branch 'adjust-hmac-headers-for-callbacks' into 'main'

Add missing HMAC headers for callbacks

See merge request fit-connect/api!118
parents d960a146 6063e8ca
No related branches found
No related tags found
1 merge request!118Add missing HMAC headers for callbacks
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
summary: Callback für neue Events im Event Log summary: Callback für neue Events im Event Log
description: > description: >
Bei neuen Events im Event Log wird ein Zustellpunkt mit Hilfe dieses Callbacks benachrichtigt. Voraussetzung ist die vorherige Konfiguration der [Callback-URL](https://docs.fitko.de/fit-connect/getting-started/receiving/query#callback). Bei neuen Events im Event Log wird ein Zustellpunkt mit Hilfe dieses Callbacks benachrichtigt. Voraussetzung ist die vorherige Konfiguration der [Callback-URL](https://docs.fitko.de/fit-connect/getting-started/receiving/query#callback).
parameters:
- $ref: '../headers/hmac-cb-authentication.yaml'
- $ref: '../headers/hmac-cb-timestamp.yaml'
requestBody: requestBody:
required: true required: true
content: content:
......
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
summary: Callback für eine neue Einreichung summary: Callback für eine neue Einreichung
description: > description: >
Bei neue eintreffenden Submissions wird ein Zustellpunkt mit Hilfe dieses Callbacks benachrichtigt. Voraussetzung ist die vorherige Konfiguration der [Callback-URL](https://docs.fitko.de/fit-connect/getting-started/receiving/query#callback). Bei neue eintreffenden Submissions wird ein Zustellpunkt mit Hilfe dieses Callbacks benachrichtigt. Voraussetzung ist die vorherige Konfiguration der [Callback-URL](https://docs.fitko.de/fit-connect/getting-started/receiving/query#callback).
parameters:
- $ref: '../headers/hmac-cb-authentication.yaml'
- $ref: '../headers/hmac-cb-timestamp.yaml'
requestBody: requestBody:
required: true required: true
content: content:
......
in: header
name: 'X-Callback-Authentication'
required: true
description: Der Message Authentication Code des übertragenen Callbacks
schema:
type: string
in: header
name: 'X-Callback-Timestamp'
required: true
description: Der Timestamp des Message Authentication Code.
schema:
type: integer
...@@ -79,6 +79,10 @@ components: ...@@ -79,6 +79,10 @@ components:
$ref: './parameters/pagination/limit.yaml' $ref: './parameters/pagination/limit.yaml'
offset: offset:
$ref: './parameters/pagination/offset.yaml' $ref: './parameters/pagination/offset.yaml'
X-Callback-Authentication:
$ref: './headers/hmac-cb-authentication.yaml'
X-Callback-Timestamp:
$ref: './headers/hmac-cb-timestamp.yaml'
schemas: schemas:
Submission: Submission:
......
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