This issue describes the /download/ API action. An outline of the API is specified in issue #8.
The download action is used to force the download of the latest version of the software.
Request
URL: https://www.yourstore.com/itelic-api/download/
Verb: GET
Success
If the request is successful, i.e. an active API key, the latest version of the software will be downloaded. Most commonly the software will be in zip format.
Code: 200 OK
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
/download/
API action. An outline of the API is specified in issue #8.The download action is used to force the download of the latest version of the software.
Request
URL:
https://www.yourstore.com/itelic-api/download/
Verb:GET
Success
If the request is successful, i.e. an active API key, the latest version of the software will be downloaded. Most commonly the software will be in
zip
format. Code:200 OK
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.