project

GET /v1/projects/{projectOrProductUID}/fleets/{fleetUID}

Changed on

Get Fleet

Request

  • Base URL
    https://api.notefile.net
  • URL
    https://api.notefile.net/v1/projects/{projectOrProductUID}/fleets/{fleetUID}
  • Auth
    HTTP bearer

Response

Successful operation

createdstring date-time required

RFC3339 timestamp in UTC

environment_variablesobject

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

labelstring required

Fleet label

smart_rulestring

JSONata expression that will be evaluated to determine device membership into this fleet, if the expression evaluates to a 1, the device will be included, if it evaluates to -1 it will be removed, and if it evaluates to 0 or errors it will be left unchanged.

smart_rule_enabledboolean
uidstring required

Fleet UID

watchdog_minsinteger

A watchdog timer is used to generate an event every N minutes of inactivity. 0 means no watchdog

Example response

{
  "connectivity_assurance": {
    "enabled": true
  }
}

Changes

    • info

      added the optional property to the response with the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became optional for the status