How to upload an asset using new Assets API on Version 2


I’ve learned that the new version includes updated API methods for Assets. I’m trying to upload files, but I’m encountering challenges. The documentation seems a bit unclear on this. Has anyone successfully implemented this? Can we now upload files to a site’s Media? Any guidance would be appreciated.

Hi @az_ben, you will need to use the Create Asset Metadata endpoint, and once you have uploadDetails , you can use this sample code to upload the file to the Designer Assets panel.