Mutations
/
create_doc_block

create_doc_block

Create new document block

Arguments

  • after_block_id
    String
    After which block to insert this one. If not provided, will be inserted first in the document
  • content
    JSON!
    Required
    The block's content.
  • doc_id
    ID!
    Required
    The doc's unique identifier.
  • parent_block_id
    String
    The parent block id to append the created block under.
  • type
    DocBlockContentType!
    Required
    The block's content type.

Returns

mutation create_doc_block($content: JSON!, $doc_id: ID!, $type: DocBlockContentType!) {
create_doc_block(content: $content, doc_id: $doc_id, type: $type) {
# create_doc_block fields
}
}
create_doccreate_folder
Built with