POST /projects/{projectId}/github/admin-proof-init

POST /api/v1/projects/{projectId}/github/admin-proof-init on the Caveman Cloud control plane. Requires the repo:connect scope. Not exposed to autonomous agents: Starts a GitHub user authorization that proves a human administers the repository. An agent asking for it would be asking a person to grant authority on its behalf.

post/projects/{projectId}/github/admin-proof-init

Request

  • Base URL
    https://api.caveman.so/api/v1
  • URL
    https://api.caveman.so/api/v1/projects/{projectId}/github/admin-proof-init
  • Auth
    • OAuth 2
      Authorization code: /api/v1/oauth/authorize
      Token URL: /api/v1/oauth/token scopes: repo:connect
    • or HTTP bearer
    • or API key in cookie cave_access
    • or API key in cookie __Secure-cave_identity.session_token

Request body

ownerstring required
namestring required
return_tostring

Console path the browser returns to when GitHub sends it back: relative, under /onboarding/ or /cave-agent, no fragment. Omitted keeps /cave-agent.

Response

Successful response. Exact status depends on synchronous or durable delivery outcome.

Changes

No recorded changes to this operation across all 1 revision of this API.