- Fetch a collection of content
Returns a list of content records and allows for sorting, filtering, and pagination of the records. This list can be used to pass into a topic.
Response body is an array of records.
Resources
Limit results to records created at or after this time, equivalent to a range filter of "{value} <= created_at <= now". Use in combination with created_at.to to specify a limited upper bound on the value range. Must be formatted as an ISO8601 timestamp or datestamp. Datestamps are assumed to be in UTC.
Limit results to records created at or before this time, equivalent to a range filter of "forever <= created_at <= {value}". Use in combination with created_at.from to specify a limited lower bound on the value range. Must be formatted as an ISO8601 timestamp or datestamp. Datestamps are assumed to be in UTC.
Limit results to records created at or after this time, equivalent to a range filter of "{value} <= updated_at <= now". Use in combination with updated_at.to to specify a limited upper bound on the value range. Must be formatted as an ISO8601 timestamp or datestamp. Datestamps are assumed to be in UTC.
Limit results to records created at or before this time, equivalent to a range filter of "forever <= updated_at <= {value}". Use in combination with updated_at.from to specify a limited lower bound on the value range. Must be formatted as an ISO8601 timestamp or datestamp. Datestamps are assumed to be in UTC.
Limit results to records created at or after this time, equivalent to a range filter of "{value} <= published_at <= now". Use in combination with published_at.to to specify a limited upper bound on the value range. Must be formatted as an ISO8601 timestamp or datestamp. Datestamps are assumed to be in UTC.
Limit results to records created at or before this time, equivalent to a range filter of "forever <= published_at <= {value}". Use in combination with published_at.from to specify a limited lower bound on the value range. Must be formatted as an ISO8601 timestamp or datestamp. Datestamps are assumed to be in UTC.
- US1https://partner.socialchorus.com/v2/content
- US2https://partner.us2.onfirstup.com/v2/content
- EUhttps://partner.onfirstup.eu/v2/content
- oauth2_as_a_user
- oauth2_as_a_server
curl -i -X GET \
'https://partner.socialchorus.com/v2/content?filter.content_type=article&filter.state=draft&filter.targeted_channels=true&filter.channels.id=0&filter.initiative_tags.id=0&filter.visibility=public&filter.featured=true&filter.source.type=submitted&filter.source.post_id=string&filter.created_at.from=2019-08-24T14%3A15%3A22Z&filter.created_at.to=2019-08-24T14%3A15%3A22Z&filter.updated_at.from=2019-08-24T14%3A15%3A22Z&filter.updated_at.to=2019-08-24T14%3A15%3A22Z&filter.published_at.from=2019-08-24T14%3A15%3A22Z&filter.published_at.to=2019-08-24T14%3A15%3A22Z&page.size=0&page.number=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "data": [ { … } ], "meta": { "filters": { … }, "pagination": { … } } }