![]() |
REST API
17
REST API for Luna Network HSMs
|
This resource will list the files owned by the currently logged in user.
Users with the following role privileges can perform this command:
The identifier of a user.
Use: Required
JSON Schema:
Object
type: string
minLength: 1
maxLength: 32
pattern: ^[a-zA-Z_][a-zA-Z0-9_.-]*$
Success
User Files
JSON Schema: User Files
Returned when the input data does not conform to the required validation schema.
Loggedin user has provided characters that are vulnerable.
Unexpected error
Loggedin user isn't allowed to perform this action for this userid.
List will not be displayed for system level users.
User does not exist.
GET
https://1.2.3.4:8443/users/admin/files
{ }
{
"files": [
{
"id": "supportInfo.txt",
"url": "/users/admin/files/supportInfo.txt"
},
{
"id": "update7_2_0_220.log",
"url": "/users/admin/files/update7_2_0_220.log"
},
{
"id": "154438865316.pid",
"url": "/users/admin/files/154438865316.pid"
},
{
"id": "firstboot.log",
"url": "/users/admin/files/firstboot.log"
}
]
}