Admin

Revert To Commit

Restore the workspace's version-controlled docs to a previous commit.

Destructive: requires explicit confirmation. Creates a new revert commit (history-preserving) and reconciles the internal DB from the filesystem.

post/api/revert_to_commit

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/revert_to_commit
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Request body

commit_idstring required
confirmboolean required
pathstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.