Skip to content

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}/version

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth 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 ​

ExceptionDescription
WSInvalidParameterExceptionSee Error Definitions
WSInvalidAuthTokenExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSSmartLibNotFoundExceptionSee Error Definitions
WSSmartLibraryServiceExceptionSee Error Definitions
WSInternalExceptionSee Error Definitions