Get session information.
GET /webmapi/sessions
Reports successful result in ResponseContentType<SessionInfoType>
Reports errors in ResponseContentType<ErrorType>
application/json
Login and create web session.
After successful login and session creation, the session token is returned in the response body.
The following conditions may cause a login failure and return a 401 unauthorized response:
- WEBUI_WEBAPI_ERROR_INVALID_USER_CREDENTIAL
- WEBUI_WEBAPI_ERROR_REACH_MAX_SESSIONS
- WEBUI_MARS_ERROR_NOTREACHABLE_MARSOS
- WEBUI_MARS_ERROR_NO_CLUSTER
POST /webmapi/sessions
Pass input arguments in LoginInfoType
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
application/json
application/json
Delete session.
DELETE /webmapi/sessions
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
application/json
Keep session alive.
PUT /webmapi/sessions
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
application/json
APIs for WebMAPI session management