v2

latestOpenAPI 3.0.02026-08-013312111.4 MB
Addon

Get the client key of a Connect addon

Get the client key of the Connect addon associated with a Forge app install via forgeAppId linkage.

This endpoint is part of the Connect -> Forge migration tooling. It is intended to be used by a Forge app using asApp().requestBitbucket() only. Prerequisite: app developer needs to register the linkage between their Connect and Forge app by setting forgeAppId in the Connect addon descriptor to app.id from Forge app manifest, then update the installations. If the request came from an installation of a registered Forge app, the client key of the linked Connect addon installed in the same workspace will be returned.

api.asApp().requestBitbucket(route`/2.0/addon/{addon-key}/client-key`)
get/addon/{addon_key}/client-key

Response

The client key of the Connect addon linked to the Forge app installation where the request was made