Formatting; Creation dates
This commit is contained in:
parent
d1685fde77
commit
a85fc8a49d
7 changed files with 94 additions and 41 deletions
|
|
@ -1,25 +1,30 @@
|
|||
## GET /api/v1/session/{id}
|
||||
*Requires an authentication header*
|
||||
|
||||
_Requires an authentication header_
|
||||
|
||||
Returns a session with id = {id}
|
||||
|
||||
### Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "string",
|
||||
"userId": "string",
|
||||
"creationDate": 0
|
||||
}
|
||||
```
|
||||
|
||||
## DELETE /api/v1/session/{id}
|
||||
|
||||
_Requires an authentication header_
|
||||
|
||||
Revokes a session with id = {id}
|
||||
|
||||
### Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "string",
|
||||
"userId": "string"
|
||||
}
|
||||
```
|
||||
|
||||
## DELETE /api/v1/session/{id}
|
||||
*Requires an authentication header*
|
||||
|
||||
Revokes a session with id = {id}
|
||||
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": "string",
|
||||
"userId": "string",
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue