Skip to main content

Get a List of Sessions in a Feed

Get list of sessions that are in a feed.

Note

Feed must be shared with the current user.

Authorizations: Feeds - VIEW

Requests

GET /apis/sections/:sectionId/sessions

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/sessions?level=suggested

Response

Success

{
  "data": [
      {
          <<Session Model>>
          "itemType": "session",
          "sections": [
              {
                  "id": "c54aa591-b3c5-4c63-a3d1-fb0d74e5012a",
                  "level": "base",
                  "publishedTime": 1443743385
              }
          ]
      }
  ],
  "paging": {
      "results": 1,
      "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.