Skip to content
On this page

Directus Cloud

Everything you need to start building. Provisioned in 90 seconds. Starting at $15/month.

Get Started

Extensions

The extensions endpoints are used by the Data Studio to retrieve what extensions to install. Learn more about Extensions.

The Extension Object

bundle string | null
Name of the bundle the extension is in.

name string
Unique name of the extension.

Meta

Directus metadata for the extension. Where the configuration for the extension in the current project is stored.

enabled boolean
Whether or not the extension is enabled.

Schema

Information about the installed extension. Can't be changed.

type string
Type of the extension. One of 'interface', 'display', 'layout', 'module', 'panel', 'hook', 'endpoint', 'operation', 'bundle'.

local boolean
Whether the extension exists in the local extensions folder or is loaded from node_modules.

version string
The currently loaded version of the plugin as defined by its package.json.

partial boolean
Whether or not a bundles entries can be individually disabled. This is applicable to bundle type extensions only.

json
{
  "name": "my-bundle-operation",
  "bundle": "directus-extension-my-bundle",
  "schema": {
    "type": "operation",
    "local": true,
    "version": "1.0.0"
  },
  "meta": {
    "enabled": true
  }
}
{
  "name": "my-bundle-operation",
  "bundle": "directus-extension-my-bundle",
  "schema": {
    "type": "operation",
    "local": true,
    "version": "1.0.0"
  },
  "meta": {
    "enabled": true
  }
}

List Extensions

List the installed extensions and their configuration in the project.

Request

Query Parameters

This endpoint doesn't currently support any query parameters.

Response

An array of interface extension keys.

Example

Update an Extension

Update an existing extension.

Request

Query Parameters

Doesn't support any query parameters.

Request Body

A partial extension object.

Response

Returns the extension object for the updated extension.

Example