list_pages.RdReturn a list of all page objects. Allows the user to apply a query
filter or sort direction, as seen in the search_workspace function, to
alter how/which objects are returned.
list_pages(key, query = NULL, sort = NULL)
| key | Notion access key as a character. |
|---|---|
| query | A string which limits which pages are returned by comparing the
query to the page title. If |
| sort | A search sort object. If |
A list of database objects.
search_workspace() for examples of sorts.