The purpose of the notification-feed-all collection is to allow the client to retrieve a list of manual and automatic collections, including:
notification-feed-info(manual)notification-feed-new-shows(automatic)- Sort: Shows - has new episodes
notification-feed-expiring-shows(automatic)- Sort: Shows - has expiring episodes
notification-feed-new-videos(automatic)- Sort: Videos - has expiring videos (wip)
notification-feed-expiring-videos(automatic)- Sort: Videos - has expiring videos (wip)
- A collection item is considered an
Infonotification:- if the object type is
Article
- if the object type is
- A collection item is considered a
Newnotification:- if the object contains the property
isNewswith the valuetrue - if the object type is
Link (Game)orShow
- if the object contains the property
- A collection item is considered an
Expiringnotification:- if it has a valid
publishEnddate and it's notInfoorNew
- if it has a valid
Collection items are sorted by Date in descending order:
Notification | Sort by Date (DESC) | Object Type | Object property
------------------------------------------------------------------------------
New | 2018-08-30T00:00:00Z | Link | publishStart
New | 2018-08-29T00:00:00Z | Video | publishStart
Expires | 2018-08-28T00:00:00Z | Video | publishEnd
Info | 2018-08-27T00:00:00Z | Article | published
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer <token>" https://dkids-test.disco-api.com/cms/collections/notification-feed-all?include=default