api:iptv:app:recording_favorite
Table of Contents
API : IPTV : App : Recording favorite
Introduction
This request is used by the iOS/Android apps and web clients to either mark a recording as a favourite or remove the mark.
If a recording is a favourite, then it will not be deleted during normal auto-deletion, but must be deleted by the user explicitly.
Request
| URL | https://api.telecomx.dk/iptv/app/recording/EPG_ID/favorite | ||
|---|---|---|---|
| Method | GET | ||
| Params | EPG_ID | Id of the program. | |
| Query | token | String | Session token. |
| mode | Boolean | True to mark as favourite, false to remove the mark. | |
| profile | ObjectId | ID of the user profile to play the recording for, defaults to first user profile. | |
Query example
https://api.telecomx.dk/iptv/app/recording/7_56347364567/favorite?token=123456780123456780ABCD&mode=true https://api.telecomx.dk/iptv/app/recording/7_56347364567/favorite?token=123456780123456780ABCD&mode=true&profile=1234567890ABCD1234567890
Response
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | program | Program not found |
| 404 | profile | Profile not found |
| 403 | access_denied | Insufficient access level |
| 403 | access_denied | Feature is not enabled |
| 500 | internal_error | <Unspecified> |
api/iptv/app/recording_favorite.txt · Last modified: 2022/09/13 09:51 by Joakim Andersen