View Source Notion.Object (ElixirNotionAPI v0.3.4)
Convenience and utliity functions for various object definitions used by the Notion API.
Rich text, file and Emoji objects:
https://developers.notion.com/reference/rich-text https://developers.notion.com/reference/file-object https://developers.notion.com/reference/emoji-object
Link to this section Summary
Functions
Emoji objects contain emoji data for page icons.
filter object is used by the Search API endpoint to filter the results based on the provided criteria.
Filter by database object to be optionally used by the Search API endpoint
Filter by page object to be optionally used by the Search API endpoint
simple text rich text object
Sort object is exclusively used by the Search API endpoint
Sort ascending object to be used by the Search API endpoint
Sort descending object to be used by the Search API endpoint
URL or link rich text object
Link to this section Functions
Emoji objects contain emoji data for page icons.
must be a single emoji
filter object is used by the Search API endpoint to filter the results based on the provided criteria.
page_or_database must be either "page" or "database"
Filter by database object to be optionally used by the Search API endpoint
Filter by page object to be optionally used by the Search API endpoint
simple text rich text object
Sort object is exclusively used by the Search API endpoint
direction must be one of "ascending" and "descending".
Sort ascending object to be used by the Search API endpoint
Sort descending object to be used by the Search API endpoint
URL or link rich text object