Update sessions

This commit is contained in:
Aslan 2026-01-13 08:22:55 -05:00
parent 3bba99fcf2
commit a079a6879b
3 changed files with 9 additions and 4 deletions

View file

@ -71,6 +71,7 @@ Creates and returns an authorization token for the current session using session
{
"id": "string",
"ownerId": "string",
"token": "string"
"token": "string",
"storageSecret": "string"
}
```

View file

@ -12,8 +12,8 @@ Returns a session with id = {id}
"userId": "string",
"name": "string",
"userAgent": "string",
"storageSecret": "string",
"creationDate": "number"
"creationDate": "number",
"refreshDate": "number"
}
```

View file

@ -121,7 +121,11 @@ Returns all sessions for a user with id = {id}
"sessions": [
{
"id": "string",
"userId": "string"
"userId": "string",
"name": "string",
"userAgent": "string",
"creationDate": "string",
"refreshDate": "number"
}
]
}