This request is used by the iOS/Android apps and web clients to schedule the recording of a program.
| URL | https://api.telecomx.dk/iptv/app/recording/EPG_ID/add | ||
|---|---|---|---|
| Method | GET | ||
| Query | token | String | Session token. |
| profile | ObjectId | ID of user profile, defaults to first profile if none is given. | |
https://api.telecomx.dk/iptv/app/recording/7_1234645768/add?token=123456780123456780ABCD https://api.telecomx.dk/iptv/app/recording/7_1234645768/add?token=123456780123456780ABCD&profile=1234567890ABCD1234567890
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 403 | date | Too late to record |
| 409 | program | Channel does not permit recording |
| 404 | program | Program not found |
| 404 | profile | Profile not found |
| 403 | program | User does not subscribe to channel program is broadcasted on |
| 403 | access_denied | Insufficient access level |
| 409 | program | No more space for recording |
| 500 | internal_error | <Unspecified> |