test schema update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-08 09:54:57 +11:00
parent aba655cd3b
commit 04bf8270bb
4 changed files with 99 additions and 28 deletions

View File

@@ -201,11 +201,15 @@ Either deviceName or deviceCategory can be specified (or both). Wildcards are su
1. The percent sign % wildcard matches any sequence of zero or more characters.
2. The underscore _ wildcard matches any single character.
#### Search by device name
GET `/api/secret/retrieve/name/<searchname>`
Search for a secret specified by deviceName using a GET request.
Must be logged in to execute this command. Only secrets registered with the current user's RoleId can be retrieved.
#### Search by device category
GET `/api/secret/retrieve/category/<searchname>`
Search for a secret specified by deviceCategory using a GET request.
@@ -229,4 +233,7 @@ Users with ReadOnly role will receive Forbidden error when calling this API endp
#### List
GET `/api/secret/list`
Will generate a list of device names and categories but not secret data.
Will generate a list of device names and categories but not secret data.
## Database Schema
![Diagram](www/database.png)