Skip to main content

Extension API

The API for interacting with the metadata of an extension.

The base API object provided to purchase extension targets.

Anchor to extension
extension
<Target>
required

The meta information about the extension.

Returns the metadata about the extension.

Extension

Anchor to useExtensionData
useExtensionData()

Returns the metadata about the extension. This is deprecated, use useExtension() instead.

Extension

Anchor to useExtensionCapabilities
useExtensionCapabilities()

Returns a list of an extension's granted capabilities.

[]

Returns whether or not a given capability of an extension is granted.

Anchor to capability
capability
required

Anchor to useExtensionEditor
useExtensionEditor()

Returns information about the editor where the extension is being rendered.

| undefined
Was this page helpful?