1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

Merge pull request #7704 from appwrite/fix-session-renewal-description

Update endpoint description
This commit is contained in:
Christy Jacob 2024-03-01 18:12:42 +05:30 committed by GitHub
commit 6fcce80b90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -2709,7 +2709,7 @@ App::delete('/v1/account/sessions/:sessionId')
});
App::patch('/v1/account/sessions/:sessionId')
->desc('Update (or renew) session')
->desc('Update session')
->groups(['api', 'account'])
->label('scope', 'account')
->label('event', 'users.[userId].sessions.[sessionId].update')

View file

@ -1 +1 @@
Extend session's expiry to increase it's lifespan. Extending a session is useful when session length is short such as 5 minutes.
Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.