Skip to main content

Create Base Asset - Get Upload Link

POST 

/api/v1/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

Header Parameters

    Authorization string
    Example: Bearer {YOUR_AUTH_KEY}
    Content-Type string
    Example: application/json
    Accept string
    Example: application/json

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
Loading...