Query a collection

GET https://mutation.prepr.io/v5/timelines
{
    "items": [
        {
            "id": "84bc7e08-a4fb4bc1-8824-061188509cda",
            "created_on": "2018-07-02T08:53:50+00:00",
            "changed_on": "2018-07-04T00:15:02+00:00",
            "label": "Timeline",
            "body": "'t Wordt nu laat",
            "published_on": 1530655200,
            "timecode": "2018-07-04:0",
            "unpublish_on": 1530658800,
            "from": "2018-07-04 00:00:00",
            "until": "2018-07-04 01:00:00"
        },
        {
            "id": "08f7f6a-47a8-45a5-ab34-019c1d495f96",
            "created_on": "2018-07-02T08:53:51+00:00",
            "changed_on": "2018-07-04T02:06:11+00:00",
            "label": "Timeline",
            "body": "'t Wordt nu laat",
            "published_on": 1530658800,
            "timecode": "2018-07-04:3600",
            "unpublish_on": 1530662400,
            "from": "2018-07-04 01:00:00",
            "until": "2018-07-04 02:00:00"
        },
        {
            "id": "ddf936ea-7f66-4048-8490-dfc19d7ba24",
            "created_on": "2018-07-03T14:14:54+00:00",
            "changed_on": "2018-07-04T01:11:09+00:00",
            "label": "Timeline",
            "body": "Malou",
            "published_on": 1530662400,
            "timecode": "2018-07-04:7200",
            "unpublish_on": 1530666000,
            "from": "2018-07-04 02:00:00",
            "until": "2018-07-04 03:00:00"
        },
    ]
}

Arguments

The following arguments are available or required when querying a collection:

argumenttyperequireddescription
dateStringrequiredYYY-MM-DD

Was this article helpful?

We’d love to learn from your feedback