Base URL
Use your deployed host (for example https://stargit.com) and keep API access scoped by
account/workspace permissions.
Build against StarGit with predictable auth, queue-backed Git operations, and StarBridge-connected execution. This page provides the core endpoints and implementation patterns.
Use your deployed host (for example https://stargit.com) and keep API access scoped by
account/workspace permissions.
Use bearer tokens for authenticated endpoints. Production deployments should keep token issuance and secret management server-side.
Action requests are enqueued and executed through StarBridge polling. Design clients for async completion and status refresh.
Start with the core flows below. Expand each section for request examples and expected behavior.
Register your app or service identity, then use the returned credentials/token in authenticated requests.
curl -X POST https://stargit.com/api/register \
-H "Authorization: Bearer YOUR_TOKEN"
StarGit uses OAuth2-style token flows for API access. Exchange your app credentials for an access token:
curl -X POST https://stargit.com/api/authenticate \
-d "client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET"
Core endpoints used by typical integrations:
For self-hosted deployments, replace stargit.com with your own StarGit domain.