Skip to content

Commit 592e266

Browse files
authored
Relax requirement to use HTTP 501 #415 (#418)
1 parent e171f0d commit 592e266

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
### Changed
2222

2323
- Updated STAC specification examples and references to v1.0.0.
24+
- Relaxed requirement that unsupported endpoints must return HTTP status code 501. Instead also HTTP status code 404 can be used (and is regularly used in practice). [#415](https://github.com/Open-EO/openeo-api/issues/415)
2425

2526
### Fixed
2627

openapi.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,15 @@ info:
112112
113113
- **404 Not Found**:
114114
The resource specified by the path does not exist, i.e. one of the resources belonging to the specified identifiers are not available at the back-end.
115-
*Note:* Unsupported endpoints MUST use HTTP status code 501.
115+
*Note:* Unsupported endpoints MAY also return HTTP status code 501.
116116
117117
- **500 Internal Server Error**:
118118
The error has its origin on server side and no other status code in the 500 range is suitable.
119119
120+
- **501 Not Implemented**:
121+
The requested endpoint is specified by the openEO API, but is not implemented (yet) by the back-end.
122+
*Note:* Unsupported endpoints MAY also return HTTP status code 404.
123+
120124
121125
If a HTTP status code in the 400 range is returned, the client SHOULD NOT repeat the request without modifications. For HTTP status code in the 500 range, the client MAY repeat the same request later.
122126

0 commit comments

Comments
 (0)