Liking cljdoc? Tell your friends :D

lovelace.blocks.requests


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.
sourceraw 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
sourceraw docstring

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

× close