Skip to content

Commit 2cca38b

Browse files
committed
Add "OpenEO-Identifier" header to synchronous processing response
1 parent bd54688 commit 2cca38b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Fixed
1010

11-
- `GET /file_formats`: Base paramater on top of normal JSON Schema, not Process JSON Schema
11+
- `GET /file_formats`: Base parameter on top of normal JSON Schema, not Process JSON Schema
1212
- `PATCH /services/{service_id}` and `PATCH /jobs/{job_id}`: Explicitly allow updating back-end specific properties (as in `POST`)
1313
- `GET /services/{service_id}` and `GET /jobs/{job_id}`: Explicitly allow listing back-end specific properties (as provided in `POST`)
1414
- Clarified for log levels which default values apply
15+
- `POST /result`: Standardize response header "OpenEO-Identifier" to expose a (correlation) identifier associated with a synchronous processing request.
1516

1617
## [1.2.0] - 2021-05-25
1718

openapi.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -2250,6 +2250,11 @@ paths:
22502250
description: MAY include the costs for processing and downloading the data.
22512251
schema:
22522252
$ref: '#/components/schemas/money'
2253+
OpenEO-Identifier:
2254+
description: Identifier associated with the synchronous processing request.
2255+
type: string
2256+
pattern: '^[\w\-\.~]+$'
2257+
example: a3cca2b2aa1e3b5b
22532258
Link:
22542259
description: >-
22552260
The header MAY indicate a link to a log file generated by the request. If provided, the link MUST be serialized according to [RFC 8288](https://www.rfc-editor.org/rfc/rfc8288.html#section-3) and MUST use the relation type `monitor`. The link MUST follow the specifications for the links `GET /jobs/{job_id}/logs` and `GET /services/{service_id}/logs`, except that is MUST NOT accept any parameters (limit/offset). Therefore, the link MUST be accessible with HTTP GET, MUST be secured using a Bearer token and MUST follow the corresponding request body schema.

0 commit comments

Comments
 (0)