Revert to commit
Repository Commit Manipulation
Revert to commit
The operation gets the file version in the specific commit and applies it to the workspace. Changes are the saved to the workspace.
POST
Revert to commit
Documentation Index
Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Required string length:
3 - 128Example:
"example_id"
Query Parameters
The workspace ID to revert to
The commit ID to revert to
Response
The revert was completed successfully

