POST /utils/export/:collection should return created file object #22460
sookoll
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
https://docs.directus.io/reference/system/utilities.html#export-data-to-a-file
Currently utilsExport (SDK) return empty body with 204. But it should return created file object, just like upload or import file do, so it can be used for downloading/fetching that file.
I tried set file properties in request file object, but none of them worked.
Is there a way to export data to file and get that file id with SDK API?
Basic Example
No response
Motivation
It support use case where user want to download collection items.
Detailed Design
No clue how to do that.
Requirements List
Must Have:
File object returned on utilsExport
Drawbacks
Can't see any
Alternatives
Please provide, if there is any
Adoption Strategy
No clue here
Unresolved Questions
No response
Beta Was this translation helpful? Give feedback.
All reactions