View Source Notion.V1.Search (ElixirNotionAPI v0.3.4)

Link to this section Summary

Functions

Searches all original pages, databases, and child pages/databases that are shared with the integration. It will not return linked databases, since these duplicate their source databases.

Link to this section Functions

Link to this function

post(optional_params \\ %{})

View Source

Searches all original pages, databases, and child pages/databases that are shared with the integration. It will not return linked databases, since these duplicate their source databases.

The query parameter matches against the page titles. If the query parameter is not provided, the response will contain all pages (and child pages) in the results.

The filter parameter can be used to query specifically for only pages or only databases.

The response may contain fewer than page_size of results. See Pagination for details about how to use a cursor to iterate through the list.

Optional Params

  • filter - When supplied, filters the results based on the provided criteria.
  • page_size - The number of items from the full list desired in the response. Maximum: 100
  • query - When supplied, limits which pages are returned by comparing the query to the page title.
  • sort - When supplied, sorts the results based on the provided criteria. Limitation: Currently only a single sort is allowed and is limited to last_edited_time.
  • start_cursor - If supplied, this endpoint will return a page of results starting after the cursor provided. If not supplied, this endpoint will return the first page of results.