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.
| 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. | |
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
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
{ success: true }
| 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> |