success – Boolean field representing if the response is successful, For handling error conditions, see Error.
body – Object containing the response body.
version – String representing the current version of the software product
package – Encoded download URL.
expires – ISO 8601 representation of when the download URL expires. Default value is 24 hours after request.
Error
This will cover all possible errors, besides an authentication error resulting from not passing any license key. The message string MAY be changed in the future. The error code MUST NOT be changed.
Expired License Key
Code: 402 Payment Required
Returned when the license key being used is Expired.
This issue describes the
/version/
API action. An outline of the API is specified in issue #8.The version action is used to retrieve information about the latest version of the software, and a url to the download location.
Request
URL:
https://www.youstore.com/itelic-api/version/
Verb:GET
Response
If the request is successful, i.e. a valid, active license key, the following response will be returned. Code:
200 OK
Fields
success
– Boolean field representing if the response is successful, For handling error conditions, see Error.body
– Object containing the response body.version
– String representing the current version of the software productpackage
– Encoded download URL.expires
– ISO 8601 representation of when the download URL expires. Default value is 24 hours after request.Error
This will cover all possible errors, besides an authentication error resulting from not passing any license key. The message string MAY be changed in the future. The error code MUST NOT be changed.
Expired License Key
Code:
402 Payment Required
Returned when the license key being used is Expired.