Liking cljdoc? Tell your friends :D

lovelace.pages.requests


create-pageclj

(create-page token body)

Creates a new page in Notion. Takes the authentication token and the new page's content/body as parameters

Creates a new page in Notion.
Takes the authentication token and the new page's content/body as parameters
raw docstring

get-pageclj

(get-page token id)

Makes a GET request to Notion's API to retrieve data from a page. Takes in the authentication token and the page id as parameters

Makes a GET request to Notion's API to retrieve data from a page.
Takes in the authentication token and the page id as parameters
raw docstring

patch-pageclj

(patch-page token id data)

Makes a PATCH request to Notion's API in order to change a page's properties. Takes the authentication token, the page's id, and the new page's properties as parameters

Makes a PATCH request to Notion's API in order to change a page's properties.
Takes the authentication token, the page's id, and the new page's properties as parameters
raw docstring

post-pageclj

(post-page token data)

Makes a POST request to Notion's API in order to create a new page. Takes the authentication token and the new page's content as parameters

Makes a POST request to Notion's API in order to create a new page.
Takes the authentication token and the new page's content as parameters
raw docstring

retrieve-pageclj

(retrieve-page token id)

Retrieves a page's data from Notion. Takes the authentication token and the page's unique id as parameters

Retrieves a page's data from Notion. Takes the authentication token and the page's unique id as parameters
raw docstring

update-pageclj

(update-page token id body)

Update a page's properties based off of it's unique id. Takes the authentication token, a page's id and a page's new properties as parameters

Update a page's properties based off of it's unique id.
Takes the authentication token, a page's id and a page's new properties as parameters
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close