Automating multiple GLB files to upload

I have a small city block to upload. There are more than 200 small glb files of each building. I have prepared a naming format with an 8 digit code to identify each building. Basically each GLB file has the Building ID. eg CITY-Z1-10116001 CITY-Z1-10116002

i need to keep this 8 digit code for each cesium asset as its the ID. So i can not add all 200 glb files into one asset, or I will lose the code name

basically its add asset > make avail for download > upload > download the zip file
is there a way to automate this? Upload each from my GLB folder and save to the output folder? its a very simple but tedious repetitive proces

Hi,

Currently there isn’t a way to do bulk uploads like you are looking for. The easiest way for you to do this would be programmatically through our APIs. Here is the relevant page for your upload: Ion REST API documentation – Cesium.

We also have this tutorial on how to upload assets using the cesium ion REST API: Upload with REST – Cesium. The sourceType you are looking for based on your screenshot would be 3D_MODEL.

Please let us know if you have any other questions.