Storage

These endpoints controls two embedded Flash Drives - regular and encrypted, available on Encedo PPA only.

Embedded Flash Drive is available on Encedo PPA only. On Encedo EPA these two endpoints are not available, response code 404 will be returned.

Allowed users

Allowed

Required access scope

storage:disk[0|1][:rw]

Example:

storage:disk0:rw - unlock Disk0 in read/write mode or lock Disk0

storage:disk1 - unlock Disk1 in read-only mode or lock Disk1

Unlock a disk

Unlock a disk

GET https://my.ence.do/api/storage/unlock

Disk number and mode (read-only or read/write) is taken from the access scope from JWT_TOKEN.

Headers

NameTypeDescription

Authorization*

String

Bearer JWT_TOKEN

Log entries

EventResultSource

LOG_TYPE_FAILED_SCOPE_CHECK

LOG_RESULT_FAILED

403

Lock a disk

Lock a disk

GET https://my.ence.do/api/storage/lock

Disk number is taken from the access scope from JWT_TOKEN.

Headers

NameTypeDescription

Authorization*

String

Bearer JWT_TOKEN

Log entries

EventResultSource

LOG_TYPE_FAILED_SCOPE_CHECK

LOG_RESULT_FAILED

403

Last updated