Skip to content

Commit 5f7ca8e

Browse files
committed
Update according to review, also add to Collection result type
1 parent 80cd197 commit 5f7ca8e

File tree

2 files changed

+35
-7
lines changed

2 files changed

+35
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ 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)
14+
- 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)
15+
- Added all the batch job timestamps (including the new timestamps above) to the Collection type of batch job results
1516

1617
### Fixed
1718

@@ -22,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2223
- Clarified for log levels which default values apply
2324
- Clarified how the relation types `license`, `version-history` and `author` can be used to enrich the process metadata. [#531](https://github.com/Open-EO/openeo-api/issues/531)
2425
- Clarified the behaviour of `federation:backends` for `POST /validation`
26+
- Clarified the meaning of `expires` in batch job results
2527

2628
## [1.2.0] - 2021-05-25
2729

openapi.yaml

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3294,6 +3294,18 @@ paths:
32943294
required:
32953295
- assets
32963296
properties:
3297+
created:
3298+
$ref: '#/components/schemas/created'
3299+
updated:
3300+
$ref: '#/components/schemas/updated'
3301+
queued:
3302+
$ref: '#/components/schemas/queued'
3303+
started:
3304+
$ref: '#/components/schemas/started'
3305+
expires:
3306+
$ref: '#/components/schemas/expires'
3307+
unpublished:
3308+
$ref: '#/components/schemas/unpublished'
32973309
'openeo:status':
32983310
$ref: '#/components/schemas/result_status'
32993311
allOf:
@@ -4016,6 +4028,8 @@ components:
40164028
$ref: '#/components/schemas/started'
40174029
expires:
40184030
$ref: '#/components/schemas/expires'
4031+
unpublished:
4032+
$ref: '#/components/schemas/unpublished'
40194033
'openeo:status':
40204034
$ref: '#/components/schemas/result_status'
40214035
assets:
@@ -5314,6 +5328,7 @@ components:
53145328
parameters:
53155329
type: array
53165330
nullable: true
5331+
items: {}
53175332
returns:
53185333
type: object
53195334
nullable: true
@@ -5338,6 +5353,7 @@ components:
53385353
parameters:
53395354
type: array
53405355
nullable: true
5356+
items: {}
53415357
returns:
53425358
type: object
53435359
nullable: true
@@ -5601,8 +5617,8 @@ components:
56015617
$ref: '#/components/schemas/queued'
56025618
started:
56035619
$ref: '#/components/schemas/started'
5604-
expires:
5605-
$ref: '#/components/schemas/expires'
5620+
unpublished:
5621+
$ref: '#/components/schemas/unpublished'
56065622
plan:
56075623
$ref: '#/components/schemas/billing_plan'
56085624
costs:
@@ -5676,7 +5692,7 @@ components:
56765692
formatted as an [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
56775693
If the status is `error`, `canceled` or `finished`,
56785694
this is the time when the job has ended.
5679-
example: '2017-01-01T09:36:18Z'
5695+
example: '2017-01-01T09:54:18Z'
56805696
queued:
56815697
type: string
56825698
format: date-time
@@ -5695,9 +5711,19 @@ components:
56955711
type: string
56965712
format: date-time
56975713
description: >-
5698-
Time until which the assets are accessible, in UTC. Formatted as
5699-
an [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
5700-
example: '2020-11-01T00:00:00Z'
5714+
Time in UTC until which the assets and this document are accessible via the signed URL
5715+
that is provided with the relation type `canonical` in the links.
5716+
Formatted as an [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
5717+
After expiration, a document with new signed URLs can be retrieved through an authenticated
5718+
request to this endpoint.
5719+
example: '2017-02-01T09:54:18Z'
5720+
unpublished:
5721+
type: string
5722+
format: date-time
5723+
description: >-
5724+
Time until which the batch job results are stored on the back-end, in UTC.
5725+
Formatted as an [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) date-time.
5726+
example: '2018-01-01T09:54:18Z'
57015727
description:
57025728
type: string
57035729
format: commonmark

0 commit comments

Comments
 (0)