You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2,29 +2,29 @@
2
2
3
3
openEO develops an open API to connect R, python and javascript clients to big Earth observation cloud back-ends in a simple and unified way. This repository contains this API, the openEO (core) API.
The openEO (core) API is currently released in version **0.3**.
9
+
The openEO (core) API is currently released in version **0.3.1**.
10
10
11
11
**Note:** The specification is currently still an early version, with the potential for some major things to change. The core is now fleshed out, so implementors are encouraged to try it out and give feedback. But the goal is to actually be able to act on that feedback, which will mean changes are quite possible. A solid basis is specified right now, but best practices, extensions and specification details will emerge with implementation.
|[0.0.1](https://github.com/Open-EO/openeo-api/tree/0.0.1) ([Spec](https://open-eo.github.io/openeo-api/v/0.0.1/index.html)) | legacy | First draft with basic ideas, loosely implemented. |
16
16
|[0.0.2](https://github.com/Open-EO/openeo-api/tree/0.0.2) ([Spec](https://open-eo.github.io/openeo-api/v/0.0.2/index.html)) | legacy | Proof of concept, implemented. |
17
-
|[**0.3.0**](https://github.com/Open-EO/openeo-api/tree/0.3.0) ([Spec](https://open-eo.github.io/openeo-api/v/0.3.0/index.html)) |current | Currently in implementation by clients and back-ends. Major rework. |
18
-
|[0.3.1](https://github.com/Open-EO/openeo-api/tree/0.3.1) ([Spec](https://open-eo.github.io/openeo-api/v/0.3.1/index.html)) |planned| Fixing minor issues, see the changelog. |
19
-
|[0.4.0](https://github.com/Open-EO/openeo-api/tree/0.4.0) ([Spec](https://open-eo.github.io/openeo-api/v/0.4.0/index.html)) | planned | Planned to add data set and process descriptions and an extension concept. |
17
+
|[0.3.0](https://github.com/Open-EO/openeo-api/tree/0.3.0) ([Spec](https://open-eo.github.io/openeo-api/v/0.3.0/index.html)) |legacy | Major rework. |
18
+
|[**0.3.1**](https://github.com/Open-EO/openeo-api/tree/0.3.1) ([Spec](https://open-eo.github.io/openeo-api/v/0.3.1/index.html)) |**current**| Fixing minor issues, see the changelog. |
19
+
|[0.4.0](https://github.com/Open-EO/openeo-api/tree/0.4.0) ([Spec](https://open-eo.github.io/openeo-api/v/0.4.0/index.html)) | planned | Planned to improve data set descriptions, add process specifications and an extension concept. |
20
20
21
-
See also the [milestones](https://github.com/Open-EO/openeo-api/milestones) for a rough roadmap based on GitHub issues.
21
+
See also the [changelog](CHANGELOG.md) and the [milestones](https://github.com/Open-EO/openeo-api/milestones) for a rough roadmap based on GitHub issues.
22
22
23
23
## Repository
24
24
25
25
This repository contains a set of files formally and technically describing the openEO API, each with a human-readable and easily browseable version:
26
26
27
-
*[openapi.json](openapi.json) ([browseable version](https://open-eo.github.io/openeo-api/v/0.3.0/apireference/)) provides the [openAPI](https://www.openapis.org/) 3.0 definition of the openEO API.
28
-
*[processes.json](processes.json) ([browseable version](https://open-eo.github.io/openeo-api/v/0.3.0/processreference/)) defines pre-defined core processes back-ends may implement for best interoperability.
29
-
*[subscriptions.json](subscriptions.json) ([browseable version](https://open-eo.github.io/openeo-api/v/0.3.0/apireference-subscriptions/)) provides the [AsyncAPI](https://www.asyncapi.com/) 1.2 definitions for the WebSocket-based subscriptions and notifications API for openEO.
30
-
*[docs/](docs/) ([browseable version](https://open-eo.github.io/openeo-api/v/0.3.0/)) contains all additional written documentation, including 'getting started' guides, the architecture, feature descriptions, development guidelines and more.
27
+
*[openapi.json](openapi.json) ([browseable version](https://open-eo.github.io/openeo-api/v/0.3.1/apireference/)) provides the [openAPI](https://www.openapis.org/) 3.0 definition of the openEO API.
28
+
*[processes.json](processes.json) ([browseable version](https://open-eo.github.io/openeo-api/v/0.3.1/processreference/)) defines pre-defined core processes back-ends may implement for best interoperability.
29
+
*[subscriptions.json](subscriptions.json) ([browseable version](https://open-eo.github.io/openeo-api/v/0.3.1/apireference-subscriptions/)) provides the [AsyncAPI](https://www.asyncapi.com/) 1.2 definitions for the WebSocket-based subscriptions and notifications API for openEO.
30
+
*[docs/](docs/) ([browseable version](https://open-eo.github.io/openeo-api/v/0.3.1/)) contains all additional written documentation, including 'getting started' guides, the architecture, feature descriptions, development guidelines and more.
Copy file name to clipboardExpand all lines: docs/arch.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,9 @@ To simplify and structure the development, the API is divided into a few microse
22
22
| Capabilities | This microservice reports on the capabilities of the back-end, i.e. which API endpoints are implemented, which authentication methods are supported, and whether and how UDFs can be executed at the back-end. |
23
23
| EO Data Discovery | Describes which datasets and image collections are available at the back-end. |
24
24
| Process Discovery | Provides services to find out which processes a back-end provides, i.e., what users can do with the available data. |
25
-
| UDF Runtime Discovery| Allows discovering the programming languages and their runtime environments to execute user-defined functions. |
25
+
| UDF | Discovery and execution of user-defined functions. |
26
26
| Job Management | Organizes and manages jobs that run processes on back-ends. |
27
27
| File Management | Organizes and manages user-uploaded files. |
28
28
| Process Graph Management | Organizes and manages user-defined process graphs. |
29
29
| Secondary Services Management | External web services to access data and job results such as a OGC WMTS service. |
30
-
| User Content | User content and accounting. |
31
-
| Authentication | Authentication of users. |
30
+
| Account Management | User management, accounting and authentication. |
Copy file name to clipboardExpand all lines: docs/errors.md
+6-87Lines changed: 6 additions & 87 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Sending `code` and `message` is REQUIRED.
25
25
26
26
* A back-end MAY add a free-form `id` (unique identifier) to the error response to be able to log and track errors with further non-disclosable details.
27
27
28
-
* The `code` is either one of the standardized openEO error codes below or a proprietary error code with a number greater than 10000.
28
+
* The `code` is either one of the standardized openEO error codes below or a proprietary error code. Please note, that the numeric error code will be replaced by a descriptive textual code such as `SampleError` in API v0.4.0.
29
29
30
30
* The `message` explains the reason the server is rejecting the request. For "4xx" error codes the message explains how the client needs to modify the request.
31
31
@@ -52,10 +52,10 @@ The openEO API often uses the following HTTP status codes for failed requests:
52
52
The back-end responds with this error code whenever the error has its origin on client side and no other HTTP status code in the 400 range is suitable.
53
53
54
54
-**401 Unauthorized**:
55
-
The client **did not** provide any authorization details (usually using the Authorization header), but authorization is required for this request to be processed.
55
+
The client did not provide any authentication details for a resource requiring authentication or the provided authentication details are not correct.
56
56
57
57
-**403 Forbidden**:
58
-
The client **did** provide authorization details (usually using the Authorization header), but the provided credentials or the authorization token is invalid or has expired.
58
+
The client did provided correct authentication details, but the privileges/permissions of the provided credentials do not allow to request the resource.
59
59
60
60
-**404 Not Found**:
61
61
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.
@@ -74,89 +74,8 @@ All HTTP status codes defined in RFC 7231 in the 400 and 500 ranges can be used
74
74
75
75
## openEO error codes
76
76
77
-
The following list of error codes is **incomplete**. These error codes will evolve over time. If you are missing any common error, please contribute it by adding an [issue](https://github.com/Open-EO/openeo-api/issues/new),creating a pull request or get in contact in our [chat room](https://openeo-chat.eodc.eu/channel/public).
77
+
The following table of error codes is **incomplete**. These error codes will evolve over time. If you are missing any common error, please contribute it by adding an [issue](https://github.com/Open-EO/openeo-api/issues/new),creating a pull request or get in contact in our [chat room](https://openeo-chat.eodc.eu/channel/public).
78
78
79
-
### General error codes (xxx)
79
+
The whole table of error codes is available as [JSON file](../errors.json), which can be used by implementors to automatically generate error responses.
| 404 | To be used if the value of a path parameter is invalid, i.e. the requested resource is not available. *Note:* Unsupported endpoints MUST use code 501. | Not Found. | 404 |
85
-
| 501 | The back-end responds with this error code whenever an endpoint is specified in the openEO API, but is not supported. | Not implemented. | 501 |
| 3002 || Output format argument **X** is not supported. | 400 |
137
-
| 3003 || Invalid value **Y** for the output format argument **X** specified. | 400 |
138
-
| 3004 || Data can't be transformed into the requested output format. | 400 |
139
-
| 3005 | The job is currently locked due to an enabled service or a running batch computation and can't be modified meanwhile. | Job is locked. | 400 |
140
-
| 3006 | The job has not finished computing the results yet. Try again later. | Results are not finished yet. | 400 |
141
-
142
-
### Authorization, user content and billing (401-403, 4xxx)
| 401 | The back-end responds with this error code whenever the HTTP status code 401 is appropriate (see above) and no other openEO error code in the 4000 range is suitable. | Unauthorized. | 401 |
147
-
| 402 | The budget required to fulfil the request are insufficient. | Payment required. | 402 |
148
-
| 403 | The back-end responds with this error code whenever the HTTP status code 403 is appropriate (see above) and no other openEO error code in the 4000 range is suitable. | Forbidden. | 403 |
149
-
| 4001 | The specified password is not considered secure by the policy of the back-end provider or no password was given at all. The user needs to specify a different password to proceed. | Password does not meet the requirements. | 400 |
0 commit comments