Appearance
getSmartLibraryVersion ​
Returns the latest version of a given Smart Library. To be used to determine whether the app needs to update itself any further
Request ​
http
GET /rest/smartlib/{smartLibId}/versionHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
smartLibId - Id of of the Smart Library for which the version is being requested
Response ​
200 OK ​
JSON Response where numberValue is the latest version for the requested SmartLibrary.
json
{
"numberValue": 27
}Response Headers ​
x-nextinteract-tmp-access-token - AWS access key for temporary access x-nextinteract-tmp-secret-token - AWS secret key for temporary access x-nextinteract-tmp-session-token - AWS session token for temporary access x-nextinteract-tmp-token-expiry-seconds - number of seconds till the above expire x-nextinteract-tmp-token-expiry-datetime-millis - actual UTC date/time millis when the above will expire x-nextinteract-s3-region - the AWS region in which STS, Cognito etc relate to. Often needed by AWS SDK or signing
Errors ​
| Exception | Description |
|---|---|
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSSmartLibNotFoundException | See Error Definitions |
WSSmartLibraryServiceException | See Error Definitions |
WSInternalException | See Error Definitions |