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`)
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The Connect addon key as defined in an application descriptor.
Responses
Section titled “ Responses ”The client key of the Connect addon linked to the Forge app installation where the request was made
Invalid authentication.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}Improper authorization.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}The Connect addon or the Forge app does not exist.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}