NotionElixir.post

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

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

View Source

Specs

post(request_path :: String.t(), data :: map(), opts :: options()) :: response()

Make a post request against the API

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(client, request_path, data, opts)

View Source

Specs

post(
  client :: Tesla.Client.t(),
  request_path :: String.t(),
  data :: map(),
  opts :: options()
) :: response()

Make a post request against the API using the supplied client