Skip to content
Snippets Groups Projects
Commit e1a23689 authored by Andreas Huber's avatar Andreas Huber
Browse files

Merge branch 'master' into develop

parents 161e4081 6313cfb6
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ In der Dokumentation werden die Begriffe "Source" und "Sender" synonym verwendet
## Dokumentation
- Release Notes mit aufgenommen
- Dokumentation zu OAuth integriert
- Token- und Refresh-URL eingetragen
- Token-URL eingetragen
- Postman Collection & Environment integriert
## Modelle
......@@ -48,14 +48,26 @@ models/common/address-national.json
models/common/address-postbox.json
- Um ein doppeltes `oneOf` zu vermeiden wurde die Postfach Adresse aus der nationalen Adresse herausgelöst.
## Application Sender API
### Application Document
models/application/document.json
- Regex Pattern für SHA-256/512 Hash präzisiert: "`[0-9A-F]{64,128}`" -> "`^[A-Fa-f0-9]{64}([A-Fa-f0-9]{64})?$`"
## Application Sender API
### Add Application Data
- Im Erfolgsfall enthält der Body `{"result":"success"}`
### Add Application Document
- Im Erfolgsfall enthält der Body `{"result":"success"}`
## Application Subscriber API
### Update Destination
- Im Erfolgsfall enthält der Body `{"result":"success"}`
### Delete Destination
- Im Erfolgsfall enthält der Body `{"result":"success"}`
### Acknowledge Application
- Bugfix: Property `final-delivery` auf Camelcase umgestellt.
- Bugfix: Angaben von `finalDelivery` in Acknowledge Application ist verpflichtend.
......@@ -543,7 +543,26 @@
"operationId": "add-application-doc",
"responses": {
"202": {
"description": "Accepted"
"description": "Accepted",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"type": "string",
"enum": [
"success"
]
}
},
"required": [
"result"
]
}
}
}
},
"400": {
"description": "Bad Request",
......@@ -672,7 +691,26 @@
"operationId": "add-application-data",
"responses": {
"202": {
"description": "Accepted"
"description": "Accepted",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"type": "string",
"enum": [
"success"
]
}
},
"required": [
"result"
]
}
}
}
},
"400": {
"description": "Bad Request",
......@@ -1089,7 +1127,6 @@
"flows": {
"clientCredentials": {
"tokenUrl": "https://oauth.fiep-poc.de/invoke/pub.apigateway.oauth2/getAccessToken",
"refreshUrl": "https://oauth.fiep-poc.de/invoke/pub.oauth/refreshAccessToken",
"scopes": {
"{senderId}:sender:manage": "Dieser Zufriffsbereich erlaubt es alle Endpunkte einer ",
"{senderId}:destination-info:read": "Dieser Zufriffsbereich erlaubt es Informationen von existierenden Destinationsabzurufen",
......
......@@ -1254,7 +1254,26 @@
"operationId": "update-destination",
"responses": {
"200": {
"description": "OK"
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"type": "string",
"enum": [
"success"
]
}
},
"required": [
"result"
]
}
}
}
},
"400": {
"description": "Bad Request",
......@@ -1385,7 +1404,26 @@
"operationId": "delete-destination",
"responses": {
"200": {
"description": "OK"
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"type": "string",
"enum": [
"success"
]
}
},
"required": [
"result"
]
}
}
}
},
"400": {
"description": "Bad Request",
......@@ -1460,7 +1498,6 @@
"flows": {
"clientCredentials": {
"tokenUrl": "https://oauth.fiep-poc.de/invoke/pub.apigateway.oauth2/getAccessToken",
"refreshUrl": "https://oauth.fiep-poc.de/invoke/pub.oauth/refreshAccessToken",
"scopes": {
"{subscriberId}:destination:manage": "Dieser Zugriffsbereich alle Destination Endpunkte eines Subscriber genutzt werden.",
"{subscriberId}:destination:update": "Dieser Zugriffsbereich erlaubt es, bestehende Destinations zu verändern.",
......
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