Promote a new hybrid app to make it the current version of the application using the promote application REST API.
To promote for all platform, perform a PUT request to the following URI:
https://<host>:<admin_port>/Admin/kapsel/jaxrs/KapselApp/{APP_ID}
https://<host>:<admin_port>/Admin/kapsel/jaxrs/KapselApp/{APP_ID}/{PLATFORM}
Include the user name and password in the request to provide authentication for the URI.
After the application is promoted, users can download a patch to upgrade the application on their device.
On successful promotion, the client receives a 200 status code. Otherwise, an HTTP failure code and failure message are returned.
curl --user <user>:<password> --cacert <your-server.pem> --X PUT -i https://localhost:8083/Admin/kapsel/jaxrs/KapselApp/MyTestAppId