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.
Comments
Similar requests
Ability to filter items creation: skip creation or replace by an existing item
12 votes · 0 comments
Replacing a file is confusing
12 votes · 0 comments
pdfme: PDF generation library
2 votes · 0 comments
Option to auto delete file when related item is deleted from collection.
47 votes · 0 comments
Add a button to switch "select item" drawer to a "create item" drawer for better user friendliness
1 vote · 0 comments
No comments yet.