![]() |
REST API
14
REST API for Luna Network HSMs
|
Download the file owned by the currently logged in user in the archive format.
Users with the following role privileges can perform this command:
The identifier of a user.
Use: Required
JSON Schema:
Object type: string
The identifier of a file. Can only contain alphanumeric characters, hyphens, and underscores.
Use: Required
JSON Schema:
Object type: string
A binary stream that represents the file. This archive is in compressed tar format (tgz).
JSON Schema:
<binary stream>
One of the provided values has an inappropriate format.
Unexpected error
Loggedin user isn't allowed to perform this action for this userid.
Operation can not be done for system level users.
User does not exist.
File does not exist.
GET https://1.2.3.4:8443/users/admin/files/supportInfo.txt/download { }
A binary stream, in compressed format containing the file.
Name of the downloaded file depends on the REST API client, and is configurable. The user needs to untar the file to get the original file.