Liking cljdoc? Tell your friends :D

lovelace.blocks.requests


append-block-childrenclj

(append-block-children token id children)

Appends children to a block based off of it's id. Takes the authentication token, a block's id and children to append to that block

Appends children to a block based off of it's id.
Takes the authentication token, a block's id and children to append to that block
raw docstring

get-blockclj

(get-block token id page-size)
(get-block token id page-size start-cursor)

Makes a GET request to Notion's block API and retrieves the data from a block. Takes the authentication token, the block's id and the page size as parameters. Also takes an optional start-cursor parameter to paginate.

Makes a GET request to Notion's block API and retrieves the data from a block.
Takes the authentication token, the block's id and the page size as parameters.
Also takes an optional `start-cursor` parameter to paginate.
raw docstring

patch-blockclj

(patch-block token id data)

Makes a PATCH request to Notion's API in order to append a children to a block. Takes the authentication token, the blocks's id, and the children to be added to that block

Makes a PATCH request to Notion's API in order to append a children to a block.
Takes the authentication token, the blocks's id, and the children to be added to that block
raw docstring

retrieve-blockclj

(retrieve-block token id page-size)
(retrieve-block token id page-size start-cursor)

Retrieves data/children from a block. Takes the authentication token, the block's id and the page size as parameters. Also takes an optional start-cursor parameter to paginate.

Retrieves data/children from a block.
Takes the authentication token, the block's id and the page size as parameters.
Also takes an optional `start-cursor` parameter to paginate.
raw docstring

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

× close