Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
Field → List All
AI-generatedOverview
This node interacts with the Directus API to list all fields of a specified resource. It is useful for retrieving metadata about the fields available in a Directus collection or database table. For example, it can be used to dynamically fetch field information for building user interfaces or for data processing workflows.
Use Case Examples
- Retrieve all fields of a 'products' collection to display their metadata.
- Fetch all fields of a 'users' resource to analyze or transform user data.
Properties
| Name | Meaning |
|---|---|
| Split Into Items | Determines whether to output each element of an array as its own separate item in the workflow output. |
Output
JSON
fields- Array of field objects retrieved from the Directus API, representing metadata of each field in the specified resource.
Dependencies
- Directus API access with appropriate authentication credentials
Troubleshooting
- Ensure the Directus API credentials are correctly configured and have permission to access the fields endpoint.
- If the output is empty, verify that the specified resource exists and contains fields.
- Check network connectivity and API endpoint URL if requests fail.
Links
- Directus API Fields Endpoint - Official documentation for the Directus API fields endpoint used to list all fields.