filestack / filestack-js

Official Javascript SDK for the Filestack API and content ingestion system.
https://www.filestack.com
MIT License
206 stars 77 forks source link

upload tags not returned in PickerFileMetadata #405

Open npoisonivy opened 3 years ago

npoisonivy commented 3 years ago

FileStack's pickerOption allows adding upload tag, which is great. But the upload tag is only returned in upload response when calling .upload. Upload wizard does not allow calling .upload, and instead it allows calling client.picker(options).open(); and PickerUploadDoneCallback that returns PickerFileMetadata. And this PickerFileMetadata does not return upload tag yet.

Can FileStack team please look into this? Is it by design not to return the upload tag in PickerFileMetadata? I have a feeling that it should be returned in PickerFileMetadata object. Or if I miss anything, that I can call something within upload wizard that can return an upload response, please let me know.

I am waiting for this, to complete my upload feature function. Thanks!

Upload wizard: image

Upload wizard returns only PickerFileMetadata, no upload response. image

FileStack documentation mentioned that this upload response would return if calling client.picker(options).open(); but it does not. image

npoisonivy commented 3 years ago

Hi filestack team, can someone please comment on this issue I reported?