NNarya Developers

List a device's applications

GET
/integration/v1/devices/{id}/applications

Lists the applications Narya has selected for this device.

Use an entry's id as the application_id in the device parameter operations. Filter by package name with install_identifier. A key that can see the device but none of its applications gets an empty page.

Authorization

integrationKey
headerAuthorizationBearer <token>

Your integration key, sent as Authorization: Bearer nik_<prefix>_<secret>. Narya issues it.

Path Parameters

id*string
Formatuuid

Query Parameters

page?integer
Range1 <= value
Default1
limit?integer
Range1 <= value <= 100
Default20
install_identifier?string
Length1 <= length <= 512

Response Body

A page of the device's applications

application/json
  1. response
data*array<>
page*integer
Range1 <= value
limit*integer
Range1 <= value <= 100
total_count*integer
Range0 <= value
total_is_capped*boolean
total_pages*integer
Range0 <= value
has_more*boolean
Example Request
curl -X GET 'https://api-narya-staging.pmadvisors.my/integration/v1/devices/497f6eca-6276-4993-bfeb-53cbbbba6f08/applications'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "install_identifier": "string",      "release_version": "string",      "schema_revision": 0,      "parameters_complete": true,      "parameter_digest": "sha256:3b1f2a8c9d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8",      "observed_parameter_digest": "sha256:3b1f2a8c9d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8",      "parameters_observed_at": "2019-08-24T14:15:22Z",      "has_parameter_override": true    }  ],  "page": 1,  "limit": 1,  "total_count": 0,  "total_is_capped": true,  "total_pages": 0,  "has_more": true}