Skip to main content

Parameters

A list endpoint refuses a query parameter that it does not take, with a 400. A misspelled parameter does not silently return every record.

Page shape

Read every page

  1. Send the first request without a cursor.
  2. If hasMore is false, stop.
  3. Send the same request again, with cursor set to nextCursor.
  4. Go to step 2.
Send the same filter and order with every page. A cursor is tied to the filter and order of the request that returned it. If you change either one, the API returns 400 with code invalid_request. To use a different filter, start again without a cursor. You can change limit between pages. A cursor is opaque: do not read it, change it or make your own. Cursors do not expire.

Sort order

Each list sorts on one field, then on id when two records have the same time: Records that have the same time are not skipped or repeated across pages.

Filter

The filter parameter narrows a list to the records you need, such as the open assignments that are due this month. It is written in a small part of CEL. Each list has its own filter fields, on its endpoint page. Read Filtering for the syntax, examples and limits.