fileInfo datetime_uploaded


#1

Would it be possible to return the fields datetime_stored or datetime_uploaded in the fileInfo response?

file-info

I am hoping to allow my custom tab’s media library to sort by date uploaded.

best,
Owen


#2

Hi @owenhoskins,

The fileInfo object provided by JS API of the widget or by Upload API doesn’t contain the datetime_uploaded key. It can be obtained by performing an additional request to REST API

Can you tell us a bit about your implementation of the media library?


API access to IPTC embedded metadata
#3

Thanks for your reply @achernenko.

I realize I can get that info from the Rest API but I need to make these calls from the browser and therefor would expose my private key – unless I am missing something?

I am continuing work on the abandoned https://github.com/uploadcare/netlify-cms#uploadcare-media-library because I need to provide a stop-gap solution for a client project until your widget comes with a Media Library built-in.

Thanks.

best,
O