Extend User Session
get
http://{host}:{port}/veridata/v1/session/extend
Required Role: Administrator, SuperUser, DetailMonitoringOperator, MonitoringOperator, CommandLineOperator, JobOperator
Extends user session by extending the token. Token expiration is 1 hour.
Request
There are no request parameters for this operation.
There's no request body for this operation.
Security
- DigestAuth: http Type:
http
Response
Supported Media Types
- application/json
200 Response
Session extended successful.
Root Schema : Login
Type:
Show Source object
- roles: array roles User roles.
- token: string Authorization token.
- userId: integer User Id
Example:
{ "roles":[ "ADMINISTRATOR" ], "token":"eyJraWQiOiJzaWduLXJ..", "userId":1004 }
400 Response
Bad Request.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
401 Response
Unauthorized.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
404 Response
Not Found.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
500 Response
Server Error.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }