Standard GitHub-compatible REST API. Supports Personal Access Tokens (PATs) and rate limits of 5,000 req/hr for authenticated requests.
Authorization: Bearer gbp_...
Pass Personal Access Tokens with the prefix gbp_.
5,000 / hr (Auth) · 60 / hr (Anon)
Tracked via X-RateLimit-Remaining and reset headers.
Drop-in compatible schemas
Use with existing Octokit scripts or standard GitHub API SDKs.
Returns profile information for the user authenticated by the bearer token.
curl -H "Authorization: Bearer gbp_your_pat" https://gitbowl.dev/api/v1/userList repositories that the authenticated user owns.
curl -H "Authorization: Bearer gbp_your_pat" https://gitbowl.dev/api/v1/user/reposCreate a new repository for the authenticated user.
curl -X POST -H "Authorization: Bearer gbp_your_pat" -H "Content-Type: application/json" -d '{"name":"my-project","private":false}' https://gitbowl.dev/api/v1/user/reposRetrieve metadata for a repository.
curl https://gitbowl.dev/api/v1/repos/octocat/hello-worldList commit history for a repository in reverse chronological order.
curl https://gitbowl.dev/api/v1/repos/octocat/hello-world/commitsList all branches with their head commit SHAs.
curl https://gitbowl.dev/api/v1/repos/octocat/hello-world/branchesFetch file contents base64-encoded or list directory items.
curl https://gitbowl.dev/api/v1/repos/octocat/hello-world/contents/README.mdCreates or updates a file in the repository and generates a commit.
curl -X PUT -H "Authorization: Bearer gbp_your_pat" -H "Content-Type: application/json" -d '{"message":"Update README","content":"SGVsbG8gV29ybGQh"}' https://gitbowl.dev/api/v1/repos/octocat/hello-world/contents/README.mdList pull requests for a repository.
curl https://gitbowl.dev/api/v1/repos/octocat/hello-world/pulls?state=openCreate a new pull request between branches.
curl -X POST -H "Authorization: Bearer gbp_your_pat" -H "Content-Type: application/json" -d '{"title":"Feature A","head":"feature-a","base":"main"}' https://gitbowl.dev/api/v1/repos/octocat/hello-world/pulls