Appearance
getSession ​
Creates a "session" to permit SmartLibrary uploads to be routed to a single server (of potentially many) behind the Load Balancer. REST services are by nature "stateless" meaning no session cookies are exchanged. However SmartLibrary uploads are (currently) stored and post-processed from a single server. in order to call various SmartLibrary-related services client apps are required to create a session AND then pass both JSESSIONID and AWSELB cookies in request headers.
Request ​
http
GET /rest//user/sessionHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Response ​
200 OK ​
HTTP 200 means success. There is no response body but check the headers. Please pass JSESSIONID and AWSELB as headers in subsequent requests to ensure you are routed ot the same server.
Errors ​
| Exception | Description |
|---|---|
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |