younifyd
Menu

List Extensions

List Extensions

GET/extensions

Use it in a workflow

  1. Add a step and choose the Directus connector.
  2. Pick the List Extensions action (under Extensions).
  3. Fill in the fields below, then reference the result from later steps as {{listExtensions.response.data}}.

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "/"

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

Returns 200 with an object. Read it in later steps with {{listExtensions.response.data.<field>}}.

dataarray<object>
enabledboolean

Whether or not the extension is enabled.

idstring (uuid)

Unique identifier of the extension.

bundlestring

Name of the bundle the extension is in.

typestring

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

localboolean

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

versionstring

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

partialboolean

Whether or not a bundles entries can be individually disabled. This is applicable to bundle type extensions only. ``` { "name": "my-bundle-operation", "bundle": "directus-extension-my-bundle", "schema": { "type": "operation", "local": true, "version": "1.0.0" }, "meta": { "enabled": true } } ```

json
{
  "data": [
    {
      "enabled": false,
      "id": "00000000-0000-0000-0000-000000000000",
      "bundle": "my-bundle",
      "type": "string",
      "local": false,
      "version": "string",
      "partial": false
    }
  ]
}

Need more? See the Directus guide for connection setup and behaviour shared by every action.

List Extensions — Directus — Documentation