diff --git a/CHANGELOG.md b/CHANGELOG.md index 33975166..19d9a009 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `recovery-form` to link to the credentials recovery page. - `GET /me`: New Relation types `alternate` and `related` for user-specific external pages. [#404](https://github.com/Open-EO/openeo-api/issues/404) - `GET /credentials/oidc`: Allow `authorization_code` and `urn:ietf:params:oauth:grant-type:device_code` (both without PKCE) as grants for `default_clients`. [#410](https://github.com/Open-EO/openeo-api/issues/410) -- `GET /jobs` and `GET /services`: Added `create_parameters` property in responses to define the parameters that can be submitted when creating jobs or services. [#276](https://github.com/Open-EO/openeo-api/issues/276) +- Added `GET /processing_options` to define the parameters that can be submitted when creating jobs or services. [#276](https://github.com/Open-EO/openeo-api/issues/276) - `GET /jobs` and `GET /jobs/{job_id}`: Added a links property that can for example link to results and logs. [#453](https://github.com/Open-EO/openeo-api/issues/453) - `GET /jobs/{job_id}/results`: - Recommendation to add a link with relation type `canonical` which points to a signed URL with the same content as the response. [#397](https://github.com/Open-EO/openeo-api/issues/397) diff --git a/openapi.yaml b/openapi.yaml index e2779d58..acf43aa6 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2386,6 +2386,41 @@ paths: $ref: '#/components/responses/client_error_auth' 5XX: $ref: '#/components/responses/server_error' + /processing_options: + get: + summary: Additional processing options + operationId: list-processing-options + description: |- + Lists additional custom processing options that a back-end offers for the + different processing modes (synchronous processing, batch jobs, secondary web services). + + The options specified here can be added to the corresponding `POST` requests + at the top-level of the object sent in the payload. + tags: + - Capabilities + - Data Processing + - Batch Jobs + - Secondary Services + security: + - {} + - Bearer: [] + responses: + '200': + description: >- + An object with a list of parameters per processing mode. + content: + application/json: + schema: + description: Processing parameters per processing mode. + type: object + properties: + create_job_parameters: + $ref: '#/components/schemas/processing_create_parameters' + create_service_parameters: + $ref: '#/components/schemas/processing_create_parameters' + create_synchronous_parameters: + $ref: '#/components/schemas/processing_create_parameters' + /service_types: get: summary: Supported secondary web service protocols @@ -2582,8 +2617,6 @@ paths: $ref: '#/components/schemas/service' links: $ref: '#/components/schemas/links_pagination' - create_parameters: - $ref: '#/components/schemas/processing_create_parameters' 4XX: $ref: '#/components/responses/client_error_auth' 5XX: @@ -2830,8 +2863,6 @@ paths: $ref: '#/components/schemas/batch_job' links: $ref: '#/components/schemas/links_pagination' - create_parameters: - $ref: '#/components/schemas/processing_create_parameters' 4XX: $ref: '#/components/responses/client_error_auth' 5XX: