add list secret api endpoint
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -59,8 +59,8 @@ POST `/api/admin/register`
|
||||
Data
|
||||
```
|
||||
{
|
||||
"UserName": "",
|
||||
"Password": "",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"RoleId": 2
|
||||
}
|
||||
```
|
||||
@@ -73,8 +73,8 @@ POST `/api/login`
|
||||
Data
|
||||
```
|
||||
{
|
||||
"UserName": "",
|
||||
"Password": ""
|
||||
"username": "",
|
||||
"password": ""
|
||||
}
|
||||
```
|
||||
This API call will return a JWT token that must be present for any other API calls to succeed. The validity duration of this token is based on the configured TOKEN_HOUR_LIFESPAN value. JWT token is returned as value of `access_token`.
|
||||
|
Reference in New Issue
Block a user