{"_id":"57fcc4870312b20e00ac6507","parentDoc":null,"__v":0,"user":"5435682035740020002a1c01","version":{"_id":"57fcc4860312b20e00ac64c0","project":"5435687035740020002a1c04","__v":1,"createdAt":"2016-10-11T10:52:54.637Z","releaseDate":"2016-10-11T10:52:54.637Z","categories":["57fcc4860312b20e00ac64c1","57fcc4860312b20e00ac64c2","57fcc4860312b20e00ac64c3","57fcc4860312b20e00ac64c4","57fcc4860312b20e00ac64c5","57fcc4860312b20e00ac64c6","57fcc4860312b20e00ac64c7","57fcc4860312b20e00ac64c8","57fcc4860312b20e00ac64c9","57fcc4860312b20e00ac64ca","57fcc4860312b20e00ac64cb"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"[APP-1265], [APP-1035]","version_clean":"5.2.0","version":"5.2"},"category":{"_id":"57fcc4860312b20e00ac64cb","__v":0,"version":"57fcc4860312b20e00ac64c0","project":"5435687035740020002a1c04","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-24T21:45:44.150Z","from_sync":false,"order":10,"slug":"api-methods","title":"API Methods"},"project":"5435687035740020002a1c04","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-24T19:23:45.974Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"A device is a computer running the Telemetry Chrome App.\n\nYou can dynamically assign different boards, images and videos to different devices in real time as your needs change.\n\n## Device Object\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Parameter\",\n    \"h-1\": \"Description\",\n    \"0-1\": \"A globally unique static string identifying the object.\",\n    \"0-0\": \"id\",\n    \"1-0\": \"tag\",\n    \"1-1\": \"The tag of the device\",\n    \"2-0\": \"playlist_id\",\n    \"2-1\": \"The Id of the [playlist](doc:playlists) of the device\",\n    \"3-0\": \"name\",\n    \"3-1\": \"The name of the device\",\n    \"4-0\": \"description\",\n    \"4-1\": \"The description of the device\",\n    \"5-0\": \"online\",\n    \"5-1\": \"A boolean value indicating whether this device is online or not\",\n    \"6-0\": \"last_seen_date\",\n    \"6-1\": \"Last time the device is seen as online\",\n    \"7-0\": \"last_seen_ip\",\n    \"7-1\": \"IP address from where the device last time is seen online\"\n  },\n  \"cols\": 2,\n  \"rows\": 8\n}\n[/block]\n## List all Devices\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"GET https://api.telemetrytv.com/devices\",\n  \"body\": \"This method will return a list of all devices on your account.\"\n}\n[/block]\n## Display a Device\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"GET https://api.telemetrytv.com/devices/:tag\",\n  \"body\": \"This method will return a specific device on your account by tag.\"\n}\n[/block]\n## Create a Device\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"POST https://api.telemetrytv.com/devices\",\n  \"body\": \"This method will create a new device.\"\n}\n[/block]\n## Update a Device\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"PATCH https://api.telemetrytv.com/devices/:tag\",\n  \"body\": \"This method will update a device object by tag.\"\n}\n[/block]\n## Delete a Device\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"title\": \"DELETE https://api.telemetrytv.com/devices/:tag\",\n  \"body\": \"This method will delete a device object.\"\n}\n[/block]","excerpt":"","slug":"devices","type":"basic","title":"Devices"}
A device is a computer running the Telemetry Chrome App. You can dynamically assign different boards, images and videos to different devices in real time as your needs change. ## Device Object [block:parameters] { "data": { "h-0": "Parameter", "h-1": "Description", "0-1": "A globally unique static string identifying the object.", "0-0": "id", "1-0": "tag", "1-1": "The tag of the device", "2-0": "playlist_id", "2-1": "The Id of the [playlist](doc:playlists) of the device", "3-0": "name", "3-1": "The name of the device", "4-0": "description", "4-1": "The description of the device", "5-0": "online", "5-1": "A boolean value indicating whether this device is online or not", "6-0": "last_seen_date", "6-1": "Last time the device is seen as online", "7-0": "last_seen_ip", "7-1": "IP address from where the device last time is seen online" }, "cols": 2, "rows": 8 } [/block] ## List all Devices [block:callout] { "type": "info", "title": "GET https://api.telemetrytv.com/devices", "body": "This method will return a list of all devices on your account." } [/block] ## Display a Device [block:callout] { "type": "info", "title": "GET https://api.telemetrytv.com/devices/:tag", "body": "This method will return a specific device on your account by tag." } [/block] ## Create a Device [block:callout] { "type": "success", "title": "POST https://api.telemetrytv.com/devices", "body": "This method will create a new device." } [/block] ## Update a Device [block:callout] { "type": "warning", "title": "PATCH https://api.telemetrytv.com/devices/:tag", "body": "This method will update a device object by tag." } [/block] ## Delete a Device [block:callout] { "type": "danger", "title": "DELETE https://api.telemetrytv.com/devices/:tag", "body": "This method will delete a device object." } [/block]