Prepare

POST

Creates an artifact and generates an upload URL for its data.

Request

This endpoint expects an object.
file_namestringRequired

The name of the file that’s being uploaded.

file_typestringOptional

The type of file that’s being uploaded.

Response

This endpoint returns an object.
form_datalist of objects

The POST policy form data.

idstring

The generated artifact’s ID.

urlstring

The URL that the file’s data should be uploaded to.