v1

latestOpenAPI 3.1.02026-07-24172151607.6 KB
Docs

Edit a Page

Edit a page in a Doc.

put/api/v3/workspaces/{workspace_id}/docs/{doc_id}/pages/{page_id}

Path parameters

workspace_idnumber required

The ID of the Workspace.

doc_idstring required

The ID of the doc.

page_idstring required

The ID of the page

Request body

namestring

The updated name of the page.

sub_titlestring

The updateds ubtitle of the page.

contentstring

The updated content of the page.

content_edit_mode'replace' | 'append' | 'prepend'

The strategy for updating content on the page. For example, replace, append, or prepend.

content_format'text/md' | 'text/plain'

The format the page content is in. For example, text/md for markdown or text/plain for plain text.

Response

Page updated