Skip to main content

Create Base Asset - Get Upload Link

POST 

/api/v2/rawmodel/api-upload/start

Calling this endpoint will return an id for the new base asset and presigned URLs which need to be used to upload the files directly to our storage. The URLs are unique for every file. The "complete_upload" field will contain a link to the "Create Base Asset - Complete Upload" endpoint that needs to be called when the upload is done

Request

Body

required
    model_name stringrequired

    The name of the base asset

    filenames string[]required

    The names of the files to be uploaded

    is_zip boolean

    Indicate if the file is a zip

Responses

success

Schema
    id integer
    links object
    s3_upload_urls object
    mymodel.glb string
    material.mat string
    complete_upload string
Loading...