Insert blocks. The specified IDs will only be used to link blocks with existing ones, the rest will be replaced by server generated IDs

post/api/v1/workspaces/{workspaceID}/blocks

Path parameters

workspaceIDstring required

Workspace ID

Request body

createAtinteger required

The creation time

createdBystring required

The id for user who created this block

deleteAtinteger

The deleted time. Set to indicate this block is deleted

fieldsobject

The block fields

idstring required

The id for this block

modifiedBystring required

The id for user who last modified this block

parentIdstring

The id for this block's parent block. Empty for root blocks

rootIdstring required

The id for this block's root block

schemainteger required

The schema version of this block

titlestring

The display title

typestring required
updateAtinteger required

The last modified time

workspaceIdstring required

The workspace id that the block belongs to

Response

success

createAtinteger required

The creation time

createdBystring required

The id for user who created this block

deleteAtinteger

The deleted time. Set to indicate this block is deleted

fieldsobject

The block fields

idstring required

The id for this block

modifiedBystring required

The id for user who last modified this block

parentIdstring

The id for this block's parent block. Empty for root blocks

rootIdstring required

The id for this block's root block

schemainteger required

The schema version of this block

titlestring

The display title

typestring required
updateAtinteger required

The last modified time

workspaceIdstring required

The workspace id that the block belongs to

Changes