Storage

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

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

Name
Type
Description

Authorization*

String

Bearer JWT_TOKEN

Log entries

Event
Result
Source

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

Name
Type
Description

Authorization*

String

Bearer JWT_TOKEN

Log entries

Event
Result
Source

LOG_TYPE_FAILED_SCOPE_CHECK

LOG_RESULT_FAILED

403

Last updated