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

fix: Add missing HMAC headers for callbacks

parent d960a146
No related branches found
No related tags found
1 merge request!118Add missing HMAC headers for callbacks
......@@ -3,6 +3,9 @@
summary: Callback für neue Events im Event Log
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).
parameters:
- $ref: '../headers/hmac-cb-authentication.yaml'
- $ref: '../headers/hmac-cb-timestamp.yaml'
requestBody:
required: true
content:
......
......@@ -3,6 +3,9 @@
summary: Callback für eine neue Einreichung
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).
parameters:
- $ref: '../headers/hmac-cb-authentication.yaml'
- $ref: '../headers/hmac-cb-timestamp.yaml'
requestBody:
required: true
content:
......
in: header
name: 'X-Callback-Authentication'
required: true
allowEmptyValue: false
description: Der Message Authentication Code des übertragenen Callbacks
schema:
type: string
in: header
name: 'X-Callback-Timestamp'
required: true
allowEmptyValue: false
description: Der Timestamp des Message Authentication Code.
schema:
type: integer
......@@ -79,6 +79,10 @@ components:
$ref: './parameters/pagination/limit.yaml'
offset:
$ref: './parameters/pagination/offset.yaml'
X-Callback-Authentication:
$ref: './headers/hmac-cb-authentication.yaml'
X-Callback-Timestamp:
$ref: './headers/hmac-cb-timestamp.yaml'
schemas:
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