|
| 1 | +openapi: 3.0.2 |
| 2 | +info: |
| 3 | + title: openEO API - Processing Parameters Extension |
| 4 | + version: 0.1.0 |
| 5 | + description: >- |
| 6 | + The Processing Parameters Extension to the openEO API provides an interface to explore and handle additional processing parameters that a back-end can offer for the three processing modes (synchronous processing, batch jobs, and secondary web services). |
| 7 | + The openEO API specification allows back-ends to accept "additional back-end specific properties" for each of the processing modes. |
| 8 | + As the openEO API specification does not define the name and schemas of these properties, this extension provides a standardized way to define and document these properties. |
| 9 | + contact: |
| 10 | + name: openEO Consortium |
| 11 | + url: 'https://openeo.org' |
| 12 | + email: openeo.psc@uni-muenster.de |
| 13 | + license: |
| 14 | + name: Apache 2.0 |
| 15 | + url: 'http://www.apache.org/licenses/LICENSE-2.0.html' |
| 16 | +externalDocs: |
| 17 | + url: https://github.com/Open-EO/openeo-api/blob/draft/extensions/workspaces/README.md |
| 18 | +tags: |
| 19 | + - name: Capabilities |
| 20 | + description: General information about the API implementation and other supported capabilities provided by the back-end. |
| 21 | + - name: Data Processing |
| 22 | + description: Organizes and manages data processing on the back-end, either as synchronous on-demand computation or batch jobs. |
| 23 | + - name: Batch Jobs |
| 24 | + description: Management of batch processing tasks (jobs) and their results. |
| 25 | + - name: Secondary Services |
| 26 | + description: On-demand access to data using other web service protocols. |
| 27 | +servers: |
| 28 | + - url: 'https://openeo.example/api/{version}' |
| 29 | + description: >- |
| 30 | + The URL of the API MAY freely be chosen by the back-end providers. The |
| 31 | + path, including API versioning, is a *recommendation* only. Nevertheless, |
| 32 | + all servers MUST support HTTPS as the authentication methods are not |
| 33 | + secure with HTTP only! |
| 34 | + variables: |
| 35 | + version: |
| 36 | + default: v1 |
| 37 | + description: >- |
| 38 | + API versioning is RECOMMENDED. As the openEO API is following |
| 39 | + [SemVer](https://semver.org/) only the MAJOR part of the stable |
| 40 | + version numbers (i.e. versions >= 1.0.0) SHOULD be used for API |
| 41 | + versioning in the URL. The reason is that backward-incompatible |
| 42 | + changes are usually introduced by major changes. Therefore, the |
| 43 | + version number in the URL MUST not be used by the clients to detect |
| 44 | + the version number of the API. Use the version number returned from |
| 45 | + `GET /` instead. |
| 46 | +paths: |
| 47 | + /processing_parameters: |
| 48 | + get: |
| 49 | + summary: Additional processing parameters |
| 50 | + operationId: list-processing-parameters |
| 51 | + description: |- |
| 52 | + Lists additional custom processing parameters |
| 53 | + that a back-end offers for the different processing modes (synchronous processing, batch jobs, secondary web services). |
| 54 | + The parameters specified here can be added to the corresponding `POST` requests at the top-level of the object that is sent as the payload. |
| 55 | + All parameters SHOULD explicitly be made optional with reasonable defaults as otherwise the interoperability between the implementations decreases. |
| 56 | + tags: |
| 57 | + - Capabilities |
| 58 | + - Data Processing |
| 59 | + - Batch Jobs |
| 60 | + - Secondary Services |
| 61 | + security: |
| 62 | + - {} |
| 63 | + - Bearer: [] |
| 64 | + responses: |
| 65 | + '200': |
| 66 | + description: >- |
| 67 | + An object with a list of parameters per processing mode. |
| 68 | + content: |
| 69 | + application/json: |
| 70 | + schema: |
| 71 | + description: Processing parameters per processing mode. |
| 72 | + type: object |
| 73 | + properties: |
| 74 | + create_job_parameters: |
| 75 | + $ref: '#/components/schemas/processing_create_parameters' |
| 76 | + create_service_parameters: |
| 77 | + $ref: '#/components/schemas/processing_create_parameters' |
| 78 | + create_synchronous_parameters: |
| 79 | + $ref: '#/components/schemas/processing_create_parameters' |
| 80 | +components: |
| 81 | + schemas: |
| 82 | + processing_create_parameters: |
| 83 | + title: Creation Parameters |
| 84 | + description: |- |
| 85 | + List of additional custom parameters that a back-end offers during the creation |
| 86 | + of batch jobs (`POST /jobs`) and secondary web services (`POST /services`) respectively. |
| 87 | + type: array |
| 88 | + items: |
| 89 | + $ref: '../../openapi.yaml#/components/schemas/parameter' |
| 90 | + example: |
| 91 | + - name: memory |
| 92 | + description: Maximum amount of memory that will be allocated for processing, in gigabytes. |
| 93 | + optional: true |
| 94 | + default: 32 |
| 95 | + schema: |
| 96 | + type: integer |
| 97 | + minimum: 1 |
| 98 | + securitySchemes: |
| 99 | + Bearer: |
| 100 | + $ref: '../../openapi.yaml#/components/securitySchemes/Bearer' |
0 commit comments