Get a device's resolved application parameters
Returns the values Narya resolves for this device and application.
Narya applies the schema defaults, then the application's values, then the device's overrides. The response also shows what the device last reported holding.
integrationKeyAuthorizationBearer <token>Your integration key, sent as Authorization: Bearer nik_<prefix>_<secret>.
Narya issues it.
id*stringuuidapplication_id*stringuuidThe resolved parameters
application/json- response
The values Narya resolves for one device and application, and what the device last reported holding.
values*A nested values document that follows one schema revision. Secret fields are returned in the clear, so do not log or display them unmasked.
digest*ParameterDigestA fingerprint of a set of resolved parameter values. Equal values always give the same digest, so a device that reports this digest already holds these values.
^sha256:[0-9a-f]{64}$schema_revision*integerThe published schema revision values follows.
1 <= valuecomplete*booleanFalse when a required field resolves to no value.
unresolved*array<string>The dotted paths of required fields that resolve to no value.
applied_last_modified_at*|The last_modified_at of the override write standing for this device, or
null when none has been applied.
date-timedevice*The device's last report. never_reported means Narya has not heard from
the device about these parameters yet.
curl -X GET 'https://api-narya-staging.pmadvisors.my/integration/v1/devices/497f6eca-6276-4993-bfeb-53cbbbba6f08/applications/497f6eca-6276-4993-bfeb-53cbbbba6f08/parameters/resolved'{ "values": {}, "digest": "sha256:3b1f2a8c9d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8", "schema_revision": 1, "complete": true, "unresolved": [ "string" ], "applied_last_modified_at": "2019-08-24T14:15:22Z", "device": { "status": "in_sync", "digest": "sha256:3b1f2a8c9d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8", "applied_at": "2019-08-24T14:15:22Z", "observed_at": "2019-08-24T14:15:22Z" }}