bitbucket

Get the Bitbucket OAuth authorize URL

Returns the Bitbucket authorize URL the SPA should open to start the OAuth consent flow. The signed state carries this org so the static callback can recover it server-side. Yields 503 when Bitbucket integration is not configured on this server.

get/api/v0/organizations/{org}/bitbucket/oauth-url

Request

  • Base URL: https://api.harmont.dev
  • URL: https://api.harmont.dev/api/v0/organizations/{org}/bitbucket/oauth-url
  • Auth: HTTP bearer

Path parameters

orgstring required

The organization slug.

Response

The Bitbucket authorize URL

urlstring required

Bitbucket OAuth authorize URL.

Example response

{
  "url": "https://bitbucket.org/site/oauth2/authorize?client_id=...&response_type=code"
}

Changes

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