Apps - Fleet

Set the master device

The device whose playlist and settings the mirrors copy. A mirror of this fleet is promoted; the previous master leaves the fleet.

put/api/apps/fleet/{installation_id}/master

Request

  • Base URL: https://trmnl.com
  • URL: https://trmnl.com/api/apps/fleet/{installation_id}/master
  • Auth: HTTP bearer

Request body

device_idinteger required

Response

Set

Example response

{
  "data": {
    "name": "Fleet",
    "master": {
      "device_id": 123,
      "name": "Lobby"
    },
    "mirror_count": 3,
    "needs_push_count": 1,
    "alerts": {
      "threshold_minutes": 60
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.