api:iptv:app:log
Table of Contents
API : IPTV : App : Log
Introduction
This request is used by the iOS/Android apps, web clients and chromecast to log errors for debug purpose.
Request
| URL | https://api.telecomx.dk/iptv/app/log | ||
|---|---|---|---|
| Method | POST | ||
| Body | token | String | Session token for authentication or… |
| videoToken | String | … video session token for authentication by secondary devices like a ChromeCast. | |
| log | Array | List of log messages to commit. | |
| log[].section | String | Section of the device reporting the event. “CHROMECAST” if from a chromecast that the device is streaming to. | |
| log[].message | String | The event message. | |
Query examples
{ "videoToken": "fi39tu38ruguiy924yhewuh923heine2pw", "log": [ "section": "CHROMECAST", "message": "Playback failed for https://streamer23.powernet.tv/18/tracks-a1/seg-1587010756-516860.m4v?token=5e9ea253e6fa7c034c464c65&t=443719712" ] }
Response
True on success.
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 404 | not_found | Device not found |
| 500 | internal_error | <Unspecified> |
api/iptv/app/log.txt · Last modified: 2020/04/22 15:08 by Per Møller