v1
latestOpenAPI 3.0.32026-07-22115106141.4 KBRepository Commit Manipulation
Revert commit
The operation reverts any changes done in the single commit represented by revert_ref_id (compared to its own parent). These opposing changes are then applied into the branch represented by base_id. If any changes were done between revert_ref_id and base_id, they will be checked for conflicts with the revert changes.
post/repos/{repo_id}/revert
Query parameters
base_idstring
Example:example_id
A reference to a base unto which changes will be applied
revert_ref_idstring
Example:example_id
A reference to a source version to revert, currently only commit ID is supported
Response
Request completed successfully