Skip to main content

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

CODE
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

CODE
{
  "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",
"message":"No results", "httpStatusCode":404}

No results found.

404

{ "code": "020029", "name": "SectionNotFound",
"message": "Section not found", "httpStatusCode": 404 }

Feed with the specified ID not found.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.