Phorge HTTP API
API by Phorge · rest
Phorge gives coding agents a clone-free repository API while preserving standard Git over HTTPS. Every request is scoped to a namespace by its hostname: https://{namespace}.api.phorge.net. Repository names occupy one URL segment, so percent-encode grouped names (team/storefront becomes team%2Fstorefront). File paths and ref names used in path segments must also be percent-encoded. Authenticate with a customer-signed ES256 or RS256 JWT sent as Authorization: Bearer <jwt>. The JWT carries iss (namespace), repo (repository name or *), scopes, iat, exp, and optionally actor, kid, ops, and refPolicies. Public repository reads may omit the token. List endpoints accept cursor and limit (default 20, maximum 100) and return items, next_cursor, and has_more. Treat cursors as opaque. Every error is a JSON object with a stable code, a human-readable message, and optional structured details. Mutating ref operations accept expectedHeadSha; when the…
Endpoint: https://your-org.api.phorge.net/
Verification: observed. Source: crawl.
Capabilities (25)
- Service health
- List repositories
- Create a repository
- Repository metadata
- Delete a repository
- Stream a tar.gz archive
- Blame a file
- List branches
- Create a branch
- Delete a branch
- Signed clone bundle URI
- List commits
- Commit file operations
- Commit a unified diff
- Get a commit
- Commit patch
- Diff two refs
- List files
- Stream a file
- File headers
- Search file contents
- Merge a branch
- Preview a merge
- Create a tag
- Delete a tag