Skip to content

Commit 1023a30

Browse files
committed
Added queued, started and expires to the batch job metadata and the corresponding STAC results. #542
1 parent 4250e31 commit 1023a30

File tree

2 files changed

+39
-10
lines changed

2 files changed

+39
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- **New extensions:**
1212
- [Remote Process Definition Extension](./extensions/remote-process-definition/README.md)
1313
- Added `version` property to `GET /processes` [#517](https://github.com/Open-EO/openeo-api/issues/517)
14+
- Added `queued`, `started` and `expires` to the batch job metadata and the corresponding STAC results. [#542](https://github.com/Open-EO/openeo-api/issues/542)
1415

1516
### Fixed
1617

openapi.yaml

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4010,13 +4010,12 @@ components:
40104010
$ref: '#/components/schemas/created'
40114011
updated:
40124012
$ref: '#/components/schemas/updated'
4013+
queued:
4014+
$ref: '#/components/schemas/queued'
4015+
started:
4016+
$ref: '#/components/schemas/started'
40134017
expires:
4014-
type: string
4015-
format: date-time
4016-
description: >-
4017-
Time until which the assets are accessible, in UTC. Formatted as
4018-
a [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
4019-
example: '2020-11-01T00:00:00Z'
4018+
$ref: '#/components/schemas/expires'
40204019
'openeo:status':
40214020
$ref: '#/components/schemas/result_status'
40224021
assets:
@@ -5598,6 +5597,12 @@ components:
55985597
$ref: '#/components/schemas/created'
55995598
updated:
56005599
$ref: '#/components/schemas/updated'
5600+
queued:
5601+
$ref: '#/components/schemas/queued'
5602+
started:
5603+
$ref: '#/components/schemas/started'
5604+
expires:
5605+
$ref: '#/components/schemas/expires'
56015606
plan:
56025607
$ref: '#/components/schemas/billing_plan'
56035608
costs:
@@ -5660,16 +5665,39 @@ components:
56605665
type: string
56615666
format: date-time
56625667
description: >-
5663-
Date and time of creation, formatted as a [RFC
5664-
3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
5668+
Date and time of creation (for batch jobs: the status 'created' was set),
5669+
formatted as a [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
56655670
example: '2017-01-01T09:32:12Z'
56665671
updated:
56675672
type: string
56685673
format: date-time
56695674
description: >-
5670-
Date and time of the last status change, formatted as a [RFC
5671-
3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
5675+
Date and time of the last status change,
5676+
formatted as a [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
5677+
If the status is `error`, `canceled` or `finished`,
5678+
this is the time when the job has ended.
56725679
example: '2017-01-01T09:36:18Z'
5680+
queued:
5681+
type: string
5682+
format: date-time
5683+
description: >-
5684+
Date and time of queueing the batch job (i.e. when the status 'queued' was set),
5685+
formatted as a [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
5686+
example: '2017-01-01T09:34:00Z'
5687+
started:
5688+
type: string
5689+
format: date-time
5690+
description: >-
5691+
Date and time when the batch job started processing (i.e. when the status 'running' was set),
5692+
formatted as a [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
5693+
example: '2017-01-01T09:36:18Z'
5694+
expires:
5695+
type: string
5696+
format: date-time
5697+
description: >-
5698+
Time until which the assets are accessible, in UTC. Formatted as
5699+
a [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
5700+
example: '2020-11-01T00:00:00Z'
56735701
description:
56745702
type: string
56755703
format: commonmark

0 commit comments

Comments
 (0)