Wix Media Backend: New APIs and Updates

New APIs and DB Drivers
We released the following Media Manager APIs and DB Drivers:

API Fix
We deprecated the fileName property. It will continue to work, but we recommend that you use the updated fileUrl property instead.

The fileUrl property is the Wix media URL. For example, ‘wix:image://v1// #originWidth =&originHeight=[&watermark=<watermark_manifest_string>]’.

3 Likes

hey, this is a great improvement and helps my project a lot! However, I am struggling to permanently delete files with velo codes as it says i have to empty it every time manually.


I’m working with a lot of job schedulings to delete, update, and create data. And one of them is to permanently delete the uploaded images/videos every 14 days. Alternatively, I wouldn’t mind a feature to only keeping the uploaded files temporarily. But please let me know if you have a solution for me. Thank you!

MoveFilesToTrash() does’t seem to be working.

It says “It may take some time for the results to be seen in the Media Manager.” but how long is this time?

Please and thank you,
Okey-iwobi