Skip to content

Git API 🟑 BETA

The git family holds the routes mounted for repository and branch operations.

Developer guide map

Endpoints

Exact lines from the Generated api-git reference; the generated page is the full table.

Method Path
POST /api/git/branch/:param
GET /api/git/branches
POST /api/git/commit
GET /api/git/diff/:param
GET /api/git/log
POST /api/git/push
GET /api/git/status

Example

Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).

POST /api/git/branch/:param HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK

What it does

Capability Verified endpoint Registered in
Git branch POST /api/git/branch/:param botserver/crates/botgit/src/routes.rs
Git branches GET /api/git/branches botserver/crates/botgit/src/routes.rs
Git commit POST /api/git/commit botserver/crates/botgit/src/routes.rs
Git diff GET /api/git/diff/:param botserver/crates/botgit/src/routes.rs
Git log GET /api/git/log botserver/crates/botgit/src/routes.rs
Git push POST /api/git/push botserver/crates/botgit/src/routes.rs
Git status GET /api/git/status botserver/crates/botgit/src/routes.rs

Limits

  • The Generated api-git reference is authoritative: no endpoint outside its table is inferred here.
  • Routes require an authenticated session unless listed in the anonymous allowlist in botsecurity-auth/src/auth_api/public_routes.rs.
  • The generated table does not model request or response fields; consult the mounted handler for them.