[ci skip] readme

This commit is contained in:
2023-04-04 13:30:13 +10:00
parent 05d7af20c1
commit 9d15d20a1b

View File

@@ -109,7 +109,7 @@ Must be logged in to execute this command. Role of current user cannot be a Read
If a secret exists for this RoleId and matching deviceName and deviceCategory then an error will be generated.
#### Retrieve
GET `/api/secret/retrieve`
POST `/api/secret/retrieve`
Data
```
@@ -125,6 +125,16 @@ 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.
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.
GET `/api/secret/retrieve/category/<searchname>`
Search for a secret specified by deviceCategory using a GET request.
Must be logged in to execute this command. Only secrets registered with the current user's RoleId can be retrieved.
#### Update
POST `/api/secret/update`