device

GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables

Changed on

Get environment variables of a device

Request

  • Base URL
    https://api.notefile.net
  • URL
    https://api.notefile.net/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables
  • Auth
    HTTP bearer

Response

The response body from a get device environment variables request.

environment_variable_notesobject

Optional per-variable annotations for device-level environment variables, keyed by variable name.

environment_variablesobject required

The environment variables for this device that have been set using host firmware or the Notehub API or UI.

environment_variables_effectiveobject

The environment variables as they will be seen by the device, fully resolved with project/fleet/device prioritization rules.

environment_variables_env_defaultobject required

The environment variables that have been set using the env.default request through the Notecard API.

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the optional property to the response with the status