View Source Notion.V1.Databases.DatabaseId.Query (ElixirNotionAPI v0.3.4)
Link to this section Summary
Functions
Gets a list of Pages contained in the database, filtered and ordered according to the filter conditions and sort criteria provided in the request. The response may contain fewer than page_size of results.
Link to this section Functions
Gets a list of Pages contained in the database, filtered and ordered according to the filter conditions and sort criteria provided in the request. The response may contain fewer than page_size of results.
Path Params
database_id- Identifier for a Notion database.
Optional Params
database_id- Identifier for a Notion database.filter- When supplied, limits which pages are returned based on the filter conditions.page_size- The number of items from the full list desired in the response. Maximum: 100sorts- When supplied, orders the results based on the provided sort criteria.start_cursor- When supplied, returns a page of results starting after the cursor provided. If not supplied, this endpoint will return the first page of results.
Errors the API can return:
400- Returns a 400 if the request is incorrectly formatted.404- Returns a 404 HTTP response if the database doesn't exist, or if the integration doesn't have access to the database.429- Returns a 429 HTTP response if the request exceeds the request limits.