File Storage API
File storage endpoints provide functionality to store files and binary data through configured file storage backend connections.
| Method | Endpoint |
|---|---|
|
|
Description Retrieves metadata of a file in the file storage. |
|
Path Parameter
|
|
Returns Returns the metadata of the requested file in JSON format. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Retrieves a list of file metadata in the file storage. |
|
Query Parameter
|
|
Returns Returns a JSON array containing metadata for files stored in the object store bucket. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Downloads the requested file from the file storage. This is done by redirecting to a presigned download URL. |
|
Path Parameter
|
|
Returns The requested file as a download. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get a download URL for the requested file from the file storage. The return body is a presigned download URL to the file. |
|
Path Parameter
|
|
Returns A temporary valid download url for the requested file. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Create a file in the file storage. The file and necessary metadata is passed via multipart form data. Required are the following form fields:
Additionally, a form field The read and write restrictions use the following format:
If a user is specified in a restriction, all other fields are ignored, and only this user fulfils the restriction. Note, the uploader needs to fulfill both read and write restrictions. |
|
Consumes
|
|
Returns The created file metadata, including a success flag. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Replaces an existing file in the file storage. The file is passed via multipart form data. |
|
Consumes
|
|
Path Parameter
|
|
Returns The updated file metadata. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Updates the metadata of a file in the file storage. Updates can be applied to 'File Name', 'Read Restrictions' and 'Write Restrictions'. Fields in the PUT-DTO that are left out will not be updated. |
|
Path Parameter
|
|
Returns HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Deletes a file in the file storage. |
|
Path Parameter
|
|
Returns HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |