Formatting; Creation dates

This commit is contained in:
Aslan 2025-12-25 00:24:40 +01:00
parent d1685fde77
commit a85fc8a49d
7 changed files with 94 additions and 41 deletions

View file

@ -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",
}
```