Git Connections

Start a git provider connection

Changed on

Starts a first-party dashboard user's git provider connection flow and returns the provider authorization URL. The response also sets a short-lived HttpOnly callback binding cookie tied to the authenticated user through the signed provider state.

post/user/git/connect

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Query parameters

provider, 'github'

Git provider to connect. Defaults to github.

redirect, string

URL to redirect the browser to after the provider callback completes.

callback_url, string uri

Same-origin browser callback used to relay provider parameters before completing the connection.

Response

Provider authorization URL

GitConnectStartResponse required
authorization_url, string required

Changes

    • info

      added the new optional query request parameter callback_url

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    10 more changes in this revision