Update sessions
This commit is contained in:
parent
3bba99fcf2
commit
a079a6879b
3 changed files with 9 additions and 4 deletions
|
|
@ -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"
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ Returns a session with id = {id}
|
|||
"userId": "string",
|
||||
"name": "string",
|
||||
"userAgent": "string",
|
||||
"storageSecret": "string",
|
||||
"creationDate": "number"
|
||||
"creationDate": "number",
|
||||
"refreshDate": "number"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue