Pagination

Some methods return paginated results. The formatting of a paginated result is always:

{
    "data": [
        {
            [video object]
        },
        {
            [video object]
        },
        {
            [video object]
        }
    ],
    "links": {
        "first": "https://app.birdie.so/api/v1/videos?page=1",
        "last": null,
        "prev": null,
        "next": "https://app.birdie.so/api/v1/videos?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "https://app.birdie.so/api/v1/videos",
        "per_page": 50,
        "to": 1
    }
}

The meta object contains metadata about the current page and the links object contains url to other pages. The data array contains the actual list of objects for the current page.

Last updated