v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Repository Shelves Manipulation

Apply a shelf onto a workspace

post/repos/{repo_id}/shelves/{shelf_id}/apply

Request body

workspace_idstring required

Workspace ID on which to apply the shelved changes

delete_shelfboolean

Should shelf be deleted after applying it

Response

The merge is in progress. It has merge conflicts requiring active input from the user for conflict resolution. The response contains a merge ID, which can be used for querying /repos/{repo_id}/merges/{merge_id}

merge_idstring required

Example response

{
  "merge_id": "example_id"
}