Skip to content

Using paging for queries #4

@fulldecent

Description

@fulldecent

This example app asks for all records in a single API call.

'endpoint' => 'timesheets?user=all&modified_after=' . $since->format('Y-m-d\TH:i:s') . '&size=' . PHP_INT_MAX,

This is not reasonable for a production applicatiton.

Instead it should set a realistic page size (1000?) and use pagination to get all records across multiple calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions