Directus (flagbit) icon

Directus (flagbit)

Consume Directus API

Extension → List

AI-generated

Overview

This node operation lists extensions of a specified type within a system, such as displays, interfaces, layouts, or modules. It is useful for scenarios where users need to retrieve and manage different types of extensions programmatically, for example, to display available modules or layouts in a user interface or to automate extension management tasks.

Use Case Examples

  1. Listing all display extensions to show available display options in a dashboard.
  2. Retrieving all interface extensions to customize user interaction workflows.
  3. Fetching layout extensions to dynamically adjust page layouts based on available templates.
  4. Getting module extensions to enable or disable specific functionalities in an application.

Properties

Name Meaning
Type Specifies the type of extension to list, such as displays, interfaces, layouts, or modules.
Split Into Items Determines whether to output each element of the resulting array as its own separate item, allowing for individual processing of each extension.

Output

JSON

  • extensions - An array or list of extensions retrieved based on the specified type.

Dependencies

  • Requires connection to a Directus API or similar backend service to fetch extension data.

Troubleshooting

  • Ensure the API connection is properly configured and authenticated to avoid connection errors.
  • Verify that the specified extension type is valid and supported to prevent empty or error responses.
  • If 'Split Into Items' is enabled, ensure downstream nodes can handle multiple individual items instead of a single array.

Discussion