capabilities.work

Replace a page's title and Markdown

One step with Routebase. We can help you get access.

Get something done

Replace a page's title and Markdown

Use Routebase: its Routebase Public Docs as Code API lets you replace a page's title and Markdown in a single step (PUT /api/projects/{projectId}/docs/{docId}/versions/{versionId}/pages/{pageId}). capabilities.work can help you get signed up and connected.

  • How do I push a Markdown file from my repo into an existing docs page?
  • Can I update a page only if nobody else edited it meanwhile?
  • What happens if I update a page that is locked in the editor?
Say it to your AI assistant
  • Update page {pageId} in docs {docId} version {versionId} of project {projectId} with title {title} and Markdown {content}.
  • Update page {pageId} in docs {docId} version {versionId} of project {projectId} with title {title}, Markdown {content} and expected row version {rowVersion}.
  • Change the slug of existing page {pageId} to {slug} in docs {docId} version {versionId} of project {projectId}, keeping title {title} and Markdown {content}.
For your developer

PUT /api/projects/{projectId}/docs/{docId}/versions/{versionId}/pages/{pageId} in Routebase Public Docs as Code API. Full spec on APIs.io.