FeatureFuel
7

Allow Direct File Upload via Item Creation

Source: directus/directus#24787 · opened by @NilsBaumgartner1994
Summary Currently, Directus requires files to be uploaded separately via the /files endpoint before they can be referenced in an item. This makes creating an item with an attached file a two-step process. Also permission handling is for this tricky, as we would need to allow everyone to create files. I propose adding support for direct file uploads within item creation requests, allowing something like: This would streamline workflows, especially for API-driven applications, reducing the need for multiple requests and potential race conditions. Is this something that could be supported in the future? Are there technical limitations preventing this feature? Basic Example Similar to the support of creating nested items upon creation Motivation Currently, when uploading files separately via /files, users need explicit file upload permissions even if they only intend to create an item with an associated file. This can lead to unnecessary permission complexities, espe…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests