Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:2.1:refreshsessionapi [2019/12/11 20:28] (current)
xguimard created
Line 1: Line 1:
 +====== Refresh session plugin (API) ======
  
 +This plugin adds an endpoint to refresh sessions by user. It adds a ''​https://​portal/​refreshsession''​ endpoint. Protect it by webserver configuration.
 +
 +===== Usage =====
 +
 +This endpoint accepts only POST requests with a JSON content:
 +
 +^  Request ​ ^  Response ​ ^
 +|  ''​{"​uid":"​userid"​}'' ​ |  ''​{"​updated":​1,"​errors":​0}'' ​ |