api:iptv:concierge:button
Table of Contents
API : IPTV : CONCIERGE : Get button
Introduction
This will return a TabletProfile button from a given service id
Request
| URL | https://api.telecomx.dk/iptv/concierge/button/:id | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER and above | |
| Params | :id | Unique id of service call button |
Query examples
https://api.telecomx.dk/iptv/concierge/button/12345678901234567890ABCD
Response
| JSON object | ||
|---|---|---|
| label | String | Label of button in tablet profile |
| icon | Object | Contains information about icon |
| icon.width | Number | Width of icon |
| icon.height | Number | Height of icon |
| icon.image | ObjectId | Unique id of image file |
| mqtt | Object | Contains mqtt information |
| mqtt.serviceId | ObjectId | Unique id of service button |
Example
{ label: 'A glass of water', icon: { width: 100, height: 100, hoverIcon: '', image: '12345678901234567890ABCD' } }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 404 | not_found | Button not found |
| 500 | internal_error | <Unspecified> |
api/iptv/concierge/button.txt · Last modified: 2024/10/06 20:51 by Mikkel Frederiksen