Install App
Note:
See the API documentation for this endpoint (opens in a new tab)
for more information.
For general webmate API usage, see REST API
.
Install app with the package id provided on device with device id provided.
| Endpoint | /device/{deviceId}/appinstall/{packageId} |
| Method | POST |
| deviceId | ID of the device to install the app on |
| packageId | package id of the app to be installed |
| wait (optional) | query: If true wait for completion of installation |
| instrumented (optional) | query: If true install instrumented version of app |
| Body | {"packageToBeInstalledId": "{packageId}"} |
| return schema | JSON with result (success or failure) and optional message |
| return example | {"result": "success"} |
You can use this endpoint the following way:
You need an authenticated webmateSession to call this function, see this article
on how to set up and authenticate with the SDK.
| Parameter | |
|---|---|
| deviceId | webmate device id of the device to install the app on |
| packageId | webmate package id of the app to be installed |
| instrumented (optional) | boolean: If true install instrumented version of app |
| |
You need an authenticated webmateSession to call this function, see this article
on how to set up and authenticate with the SDK.
| Parameter | |
|---|---|
| deviceId | webmate device id of the device to install the app on |
| packageId | webmate package id of the app to be installed |
| instrumented (optional) | boolean: If true install instrumented version of app |
| |