Query a collection
If you want to fetch a collection of content items you can use the content items collection endpoint.
GET /publications
{
"items": [
{
"id": "a4452199a-24027-4071-ae22-ef4e2fca254a6",
"created_on": "2017-06-08T09:27:59+00:00",
"changed_on": "2017-08-25T08:14:49+00:00",
//
}
],
"total": 1,
"after": "YWZ0ZXJfMjU=",
"before": "YmVmb3JlXzA=",
"skip": 0,
"limit": 25
}
Arguments
The following arguments are available or required when querying a collection:
argument | type | required | description |
---|---|---|---|
status | String | false | ------- |
label | String | false | ------- |
channel_id | String | false | Filter on specified channel |
channel_ids | String | false | Filter on specified channels, comma-separated |
q | String | false | Full text search |
tag_ids | String | false | ------- |
tag_names | String | false | ------- |
sort | String | false | published_on, -published_on, created_on, -created_on, changed_on, -changed_on, name |
created_by_id | String | false | ------- |
published_on_from | Integer | false | UNIX Timestamp |
published_on_until | Integer | false | UNIX Timestamp |
tag_slug | String | false | ------- |
channel_slug | String | false | ------- |
Was this article helpful?
We’d love to learn from your feedback