api:iptv:app:archive_stop
Table of Contents
API : IPTV : App : Archive stop
Introduction
This request is used by the iOS/Android apps and web clients to inform the system that playback has ended.
It is used when archived playback is stopped on the device playing the stream.
Request
| URL | https://api.telecomx.dk/iptv/app/archive/EPG_ID/stop | ||
|---|---|---|---|
| Method | GET | ||
| Params | EPG_ID | Id | Id of the program playback has stopped for. |
| Query | token | String | Session token. |
| position | Number | Position at which playback stopped, in seconds. | |
| profile | ObjectId | ID of the user profile to play the recording for, defaults to first user profile. | |
Query examples
https://api.telecomx.dk/iptv/app/archive/7_346rgvty2efbefe3/stop?token=1234567890ABCD1234567890 https://api.telecomx.dk/iptv/app/archive/7_346rgvty2efbefe3/stop?position=5642&token=1234567890ABCD1234567890 https://api.telecomx.dk/iptv/app/archive/7_346rgvty2efbefe3/stop?position=5642&token=1234567890ABCD1234567890&profile=1234567890ABCD1234567890
Response
| JSON Object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | program | Program not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/iptv/app/archive_stop.txt · Last modified: 2022/09/02 13:32 by Joakim Andersen