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.

<Target>
required

The meta information about the extension.

Was this section helpful?

Returns the metadata about the extension.

Extension
Was this section helpful?

Anchor to useExtensionData
useExtensionData()

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

Extension
Was this section helpful?

Anchor to useExtensionCapabilities
useExtensionCapabilities()

Returns a list of an extension's granted capabilities.

[]
Was this section helpful?

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

required

Was this section helpful?

Anchor to useExtensionEditor
useExtensionEditor()

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

| undefined
Was this section helpful?