POST
/
repos
/
{repo_id}
/
workspaces
/
{workspace_id}
/
reset

Authorizations

Authorization
string
headerrequired

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

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.

workspace_id
string
required

The repo ID of the workspace.

Body

application/json
all
boolean
paths
string[]

Response

200 - application/json
fail
string[]

Paths that were not found.

status
object

An object having 'new', 'modified', 'deleted' arrays of file paths, sorted lexicographically.

success
string[]

Paths that were successfully reset.