Skip to content

Commit 91fce06

Browse files
committed
Added a status diagram that explains the status changes of batch jobs #436
1 parent 5c8e12b commit 91fce06

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- Added `version` property to `GET /processes` [#517](https://github.com/Open-EO/openeo-api/issues/517)
1717
- Added `queued`, `started` and `unpublished` to the batch job metadata and the corresponding STAC results [#542](https://github.com/Open-EO/openeo-api/issues/542)
1818
- Added all the batch job timestamps (including the new timestamps above) to the Collection type of batch job results
19+
- Added a status diagram that explains the status changes of batch jobs [#436](https://github.com/Open-EO/openeo-api/issues/436)
1920

2021
### Deprecated
2122

assets/status-diagram.png

22.7 KB
Loading

openapi.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5608,6 +5608,7 @@ components:
56085608
The current status of a batch job.
56095609
56105610
The following status changes can occur:
5611+
56115612
* `POST /jobs`: The status is initialized as `created`.
56125613
* `POST /jobs/{job_id}/results`: The status is set to `queued`, if
56135614
processing does not start instantly.
@@ -5617,7 +5618,11 @@ components:
56175618
* `DELETE /jobs/{job_id}/results`: The status is set to `canceled` if
56185619
the status was `running` beforehand and partial or preliminary results
56195620
are available to be downloaded. Otherwise the status is set to
5620-
`created`.
5621+
`created`.
5622+
5623+
The following state diagram shows the possible status changes:
5624+
5625+
![State diagram](assets/status-diagram.png)
56215626
example: running
56225627
default: created
56235628
progress:

0 commit comments

Comments
 (0)