Get a List of Content in a Feed
Get list of assets, sessions, and sources that are in a feed.
Note
Feed must be shared with the current user.
Authorizations: Feeds - VIEW
Requests
GET /apis/sections/:sectionId/content |
Tip
You can use an optional parameter to return the suggested or the featured content by adding the “level” query parameter to the collection URL. For example, GET /sections/:sectionId/content?level=suggested
Response
Success
{ "data": [ { <<Asset Model>> "itemType": "asset", "sections": [ { "id": "c54aa591-b3c5-4c63-a3d1-fb0d74e5012a", "level": "base", "publishedTime": 1443743387 } ] }, { <<Session Model>> "itemType": "session", "sections": [ { "id": "c54aa591-b3c5-4c63-a3d1-fb0d74e5012a", "level": "base", "publishedTime": 1443743385 } ] }, { <<Source Model>> "itemType": "source", "sections": [ { "id": "c54aa591-b3c5-4c63-a3d1-fb0d74e5012a", "level": "base", "publishedTime": 1443743383 } ] } ], "paging": { "results": 3, "pageSize": 15 } } |
Error
Code | Payload | Description |
---|---|---|
404 | {"code":"040012", "name":"NoResults", | No results found. |
404 |
| Feed with the specified ID not found. |