Skip to content

HTTP API

The SDK and dashboard call ConnectRPC procedures hosted at api.githosted.dev. The same procedures are accessible directly over HTTP if you’d rather not depend on the SDK.

POST https://api.githosted.dev/githosted.v1.RepoService/ListFiles
Content-Type: application/json
Authorization: Bearer gw_…
{ "repoRef": "my-project", "path": "src/" }

Every procedure follows the same shape: POST a JSON body, authenticate with a gw_ / gr_ token (or session cookie for ApiService methods), receive a JSON response.

Full procedure reference is in flight. Until it lands the SDKs are the canonical surface — every method on Client, Repo, and the control-plane endpoints maps one-to-one to a Connect procedure with the same name.