Resets uncommitted changes in a workspace by discarding modifications and optionally deleting added files.
Parameters:
all=true - reset everythingpaths array - reset specific filesdelete_added (defaults to false) - controls whether newly added files are deletedwrite_to_journal (defaults to true) - records the reset operationReturns: Lists of:
Requirements: Requires WRITE access.
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.
This API uses OAuth 2 with the implicit grant flow
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.
3 - 128"example_id"
The repo ID of the workspace.
3 - 128"example_id"