| PagesPropertiesEndpoint | R Documentation |
Handle all pages properties operations in the Notion API
Note: Access this endpoint through the client instance, e.g., notion$pages$properties. Not to be instantiated directly.
A list containing the parsed API response.
new()Initialise pages properties endpoint.
Not to be called directly, e.g., use notion$pages$properties instead.
PagesPropertiesEndpoint$new(client)
clientNotion Client instance
retrieve()Retrieve a page property item
PagesPropertiesEndpoint$retrieve( page_id, property_id, start_cursor = NULL, page_size = NULL )
page_idCharacter (required). The ID for a Notion page.
property_idCharacter (required). The ID of the property to retrieve.
start_cursorCharacter. For pagination. If provided, returns results starting from this cursor. If NULL, returns the first page of results.
page_sizeInteger. Number of items to return per page (1-100). Defaults to 100.
notion <- notion_client()
# ----- Retrieve a page property
notion$pages$properties$retrieve(
"34033ea0-c1e4-81c4-afa0-d1ec98de4bec",
"%60w%5CX"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.