NotionElixir.post_all

You're seeing just the function post_all, go back to NotionElixir module for more information.
Link to this function

post_all(request_path, data, opts \\ [])

View Source

Specs

post_all(request_path :: String.t(), data :: map(), opts :: options()) ::
  response()
post_all(request_path :: String.t(), data :: map(), opts :: options()) ::
  {:ok, NotionElixir.ListResponse.t()} | {:error, any()}

Make a post request against the API, and retrieve all paginated results

Options

  • :api_key - API key to use with the request.
  • :api_version - Version of the notion API
  • :base_url - API base url, defaults to "https://api.notion.com/v1"
Link to this function

post_all(client, request_path, data, opts)

View Source

Make a post request against the API, and retrieve all paginated results