maton notion block

View, list children, append, update, and delete blocks

Available commands

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

ALIASES

maton notion blocks

Examples

$ maton notion block view 0123456789abcdef0123456789abcdef
$ maton notion block children 0123456789abcdef0123456789abcdef
$ maton notion block append 0123... --children '[{"object":"block","type":"paragraph","paragraph":{"rich_text":[{"type":"text","text":{"content":"Hello"}}]}}]'
$ maton notion block delete 0123456789abcdef0123456789abcdef

See also