View Source Notion.V1.Pages.PageId (ElixirNotionAPI v0.3.4)

Link to this section Summary

Functions

Retrieves a Page object using the ID specified. Responses contains page properties, not page content. To fetch page content, use the retrieve block children endpoint.

Retrieves a Page object using the ID specified.

Link to this section Functions

Link to this function

get(page_id, optional_params \\ %{})

View Source

Retrieves a Page object using the ID specified. Responses contains page properties, not page content. To fetch page content, use the retrieve block children endpoint.

Path Params

  • page_id - Identifier for a Notion page

Optional Params

  • page_id - Identifier for a Notion page
Link to this function

patch(page_id, optional_params \\ %{})

View Source

Retrieves a Page object using the ID specified.

Path Params

  • page_id - Identifier for a Notion page

Optional Params

  • archived - Set to true to archive (delete) a page. Set to false to un-archive (restore) a page.
  • cover - Page cover for the new page
  • icon - Page icon for the new page.
  • page_id - Identifier for a Notion page
  • properties - Property values to update for this page. The keys are the names or IDs of the property and the values are property values.