Table of contents:
Find more information on what access rights are needed for which operation at S&E Access Control Lists.
Create an encryption task
- From the Encryption Task API tab open the
POST /api/v1/encryptionTaskendpoint. - Click Try it out.
- Fill in the tenant header in the X-SE-TENANT field.
- Fill in the
deviceConfigId - Upload the file
- Optionally fill in:
- name
sha256checksum
- Click Execute.
- A successful response with 201 code will have status CREATED and will provide the
encryptionTaskId.
Check the status of an encryption task
- Open the endpoint to
GET /api/v1/encryptionTask/{encryptionTaskId}. - Click Try it out.
Fill in the
encryptionTaskIdfrom the response body of your previous call.Another option would be to check the status of all the tasks via
GET /api/v1/encryptionTask.- Fill in the tenant header in the X-SE-TENANT field.
- Click Execute.
- When the task is ready the response body will have status DONE and you have to use the Download endpoint.
Download an encrypted file of a DONE encryption task
- Open the endpoint to
GET /api/v1/encryptionTask/{encryptionTaskId}/download. - Click Try it out.
Fill in the
encryptionTaskId.- Fill in the tenant header in the X-SE-TENANT field.
- Click Execute.
- A successful response will start the download process automatically.