CMS

Directus

Directus is an open-source headless CMS that puts an API and an admin app over your own SQL database — collections hold items, and a separate file library holds assets.

Authentication

  • API token

Actions

Generic API request. Call any Directus API endpoint on this connection, for the case where no shipped action covers it yet. The connection supplies the base URL, the authentication and the egress route, so only the path, query and body are yours to fill.

  • Create itemCreate an item in a Directus collection (POST items/{collection}).
  • Delete itemDestructiveDelete an item from a Directus collection by id (DELETE items/{collection}/{itemId}).
  • Get current userRetrieve the authenticated user tied to the static token (GET users/me).
  • Get itemRetrieve a single item from a Directus collection by id (GET items/{collection}/{itemId}), with optional field selection.
  • List collectionsList the collection definitions configured in the Directus instance (GET collections).
  • List filesList files (asset metadata) in the Directus instance (GET files), with optional limit.
  • List itemsList items of a Directus collection (GET items/{collection}), with optional field selection, limit, sort and offset.
  • List usersList users in the Directus instance (GET users), with optional limit.
  • Update itemDestructiveUpdate an item in a Directus collection by id (PATCH items/{collection}/{itemId}).

Triggers

  • File created (webhook)Starts the instant a new file is uploaded to the connected Directus project, delivered by a Flow instead of polling the files list.
  • New fileStarts when a new file is uploaded to the connected Directus project's file library.

Product names, logos and brands are the property of their respective owners and are used here for identification only. Their use does not imply endorsement by, or affiliation with, those owners.