Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revoke signed URLs #341 #381

Draft
wants to merge 1 commit into
base: draft
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
- `GET /processes` and `GET` / `PUT` for `/process_graphs/{process_graph_id}`: Allow specifying the return values processes receive from child processes. [#350](https://github.com/Open-EO/openeo-api/issues/350)
- `PATCH /jobs/{job_id}/results` to revoke signed URLs generated for batch job results. [#341](https://github.com/Open-EO/openeo-api/issues/341)
- `GET /credentials/oidc` can provide a set of default client ids for OpenID Connect. [#366](https://github.com/Open-EO/openeo-api/pull/366)
- `experimental` and `deprecated` flags added for file formats, service types, udf runtimes, udf runtime versions, udf runtime libraries and all related parameters and schemas. [#354](https://github.com/Open-EO/openeo-api/issues/354)
- `GET /jobs/{job_id}/logs` and `GET /services/{service_id}/logs`: `time` property added. [#330](https://github.com/Open-EO/openeo-api/issues/330)
Expand Down
35 changes: 35 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3118,6 +3118,41 @@ paths:
$ref: '#/components/responses/client_error_auth'
5XX:
$ref: '#/components/responses/server_error'
patch:
summary: Revoke signed URLs in batch job results
operationId: update-job-results
description: |-
Revoke access to all previously generated signed URLs for batch job
results.

Note: The functionality may be extended in the future.
tags:
- Batch Jobs
security:
- Bearer: []
responses:
'204':
description: Changes to the batch job results were applied successfully.
4XX:
$ref: '#/components/responses/client_error_auth'
5XX:
$ref: '#/components/responses/server_error'
requestBody:
description: Changes requested for the specified batch job results.
required: true
content:
application/json:
schema:
title: Update Batch Job Results
type: object
properties:
assets:
description: >-
Send the value `null` to revoke all previously
generated signed URLs for batch job results.
nullable: true
enum:
- null
'/files':
get:
summary: List all files in the workspace
Expand Down