Files
2025-10-22 02:42:35 +08:00

618 B

title, description, icon
title description icon
Branch Operations Create, delete, revert, reset, cherry-pick commits i-carbon-branch

Branch Operations

Git-like branch management.

Operations

Create:

POST /api/repos/branches/create
{
  "repo_type": "model",
  "namespace": "user",
  "name": "repo",
  "branch": "dev",
  "revision": "main"
}

Delete:

DELETE /api/repos/branches/delete

Revert:

POST /api/repos/branches/revert

Reset:

POST /api/repos/branches/reset

Cherry-pick:

POST /api/repos/branches/cherry-pick

See API.md for full details.