-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
This proposal is in line with my earlier remarks on simplification. 😄
The API is already highly flexible, notably by supporting both synchronous and asynchronous modes, as well as return preference.
I find it excessive to define two distinct schemas (statusInfo and results). A simpler and more consistent design would be to include results within statusInfo, as most processing and workflow engine APIs do.
My proposition for API 2.0 would be:
allOf:
- $ref: "./descriptionType.yaml"
- type: object
required:
- id
- status
- type
properties:
id:
type: string
processID:
type: string
format: uri
type:
type: string
example:
- process
- wps
- openeo
request:
oneOf:
- type: string
- type: object
- $ref: "../common-core/link.yaml"
status:
$ref: "statusCode.yaml"
results:
$ref: "./results.yaml"
...
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog