... | ... | @@ -13,7 +13,7 @@ |
|
|
| Add note | /api/v1/notes | show (int), timeslot (int), title, slug, summary, content, image, status, cba_id | | | | X |
|
|
|
| Update note | /api/v1/notes/1 | note (int), show (int), timeslot (int), title, slug, summary, content, image, status (0 = cancellation, 1 = recommendation, 2 = repetition), cba_id (int) | Note object | | X |
|
|
|
| Get user profile | /api/v1/users/1 | | User object | X | |
|
|
|
| Update user profile | /api/v1/users/1 | id (int), first_name, last_name, email, biography, website, googleplus_url, facebook_url, twitter_url, linkedin_url, youtube_url, dorftv_url, cba_url, cba_username, cba_user_token, image | User object | | X |
|
|
|
| Update user profile | /api/v1/users/1 | id (int), first_name, last_name, email, cba_username, cba_user_token | User object | | X |
|
|
|
| Get categories | /api/v1/categories | | Array of category objects | X | | |
|
|
|
| Get category by ID | /api/v1/categories/1 | | Category object | X | | |
|
|
|
| Add category | /api/v1/categories | category (str), abbrev (str), slug (str), color (str, e.g. '#FFFFFF'), description (str) | | | | X
|
... | ... | @@ -40,11 +40,11 @@ |
|
|
| Update language | /api/v1/languages/1 | name (str), abbrev (str), slug (str) | | | X | |
|
|
|
| Get hosts | /api/v1/hosts | | Array of host objects | X | | |
|
|
|
| Get host by ID | /api/v1/hosts/1 | | Host object | X | | |
|
|
|
| Add host | /api/v1/hosts | name (str), email (str), website (str) | | | | X
|
|
|
| Update host | /api/v1/hosts/1 | name (str), email (str), website (str) | | | X | |
|
|
|
| Add host | /api/v1/hosts | name (str), email (str), website (str), biography (str), googleplus_url (str), facebook_url (str), twitter_url (str), linkedin_url (str), youtube_url (str), dorftv_url (str), cba_url (str), image | | | | X
|
|
|
| Update host | /api/v1/hosts/1 | name (str), email (str), website (str), biography (str), googleplus_url (str), facebook_url (str), twitter_url (str), linkedin_url (str), youtube_url (str), dorftv_url (str), cba_url (str), image | | | X | |
|
|
|
| Get daily program | /api/v1/program/ | date (date) | If date is not given, today will be returned. Array of objects | X | |
|
|
|
| Playout API | /api/v1/playout | start (date), end (date) | If start and end not given, the next 24 hours will be returned. Array of objects. Fields: timeslot_id (int), timeslot_start (datetime), timeslot_end (datetime), show_id (string), show_name (string), show_hosts (string), rtrcategory (string), playlist_id (int), schedule_fallback_id (int), show_fallback_id (int), station_fallback_id (int), is_repetition (bool), memo (string), languages (string), type (string), category (string), topic (string), music_focus (string) | X | |
|
|
|
| FRAPP API | /frapp/ | start (date), end (date) | If start and end not given, today will be returned. Array of objects | X | |
|
|
|
| FRAPP API | /frapp/ | date (date) | If date not given, today will be returned. Array of objects | X | |
|
|
|
|
|
|
**Playout**
|
|
|
|
... | ... | |