1
POST /utils/export/:collection should return created file object
Source: directus/directus#22460 · opened by @sookoll
Summary
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_
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_
No pledges yet. Be the first to back this.
Comments
Similar requests
Export Collection Items in .xlsx Format
46 votes · 0 comments
Restrict "Show Hidden Collections" to Admin Users
25 votes · 0 comments
Project Boilerplate and Easy Schema Export/Import for Rapid Project Setup
5 votes · 0 comments
Import and export option for flows
82 votes · 0 comments
Add export options to use labels
1 vote · 0 comments
No comments yet.