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:

argumenttyperequireddescription
statusStringfalse-------
labelStringfalse-------
channel_idStringfalseFilter on specified channel
channel_idsStringfalseFilter on specified channels, comma-separated
qStringfalseFull text search
tag_idsStringfalse-------
tag_namesStringfalse-------
sortStringfalsepublished_on, -published_on, created_on, -created_on, changed_on, -changed_on, name
created_by_idStringfalse-------
published_on_fromIntegerfalseUNIX Timestamp
published_on_untilIntegerfalseUNIX Timestamp
tag_slugStringfalse-------
channel_slugStringfalse-------

Was this article helpful?

We’d love to learn from your feedback