Install Device Package
PUT/v1/device/:deviceUid/package-install
Install a package with specific version to device by deviceUid.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
deviceUid | string | required | Device application id |
Body
content-type: application/json or application/x-www-form-urlencoded
| Field | Type | Required | Description |
|---|---|---|---|
packageName | string | required | PackageName of package to install |
version | string | required | Version (typically semver) of package to install |
build | string | optional | Build tag of package version to install. Typically architecture (arm, x386, x64 or versionCode for Android) |
Request
Responses
- 200
- 404
OK
Response Headers
Content-Type
Link
Contains URL pointing to the result of this action. Keep making requests to this URL, until the response indicates, that the action was processed. For more information, refer to endpoint Get Device History.
Not Found
Response Headers
Content-Type