Prepare Artifacts

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

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
file_namestringRequiredformat: "text"
The name of the file that's being uploaded.
configuration_setenumOptional
Represents a set of configuration to be used with the artifacts object.
file_typestringOptionalformat: "text"
The type of file that's being uploaded.

Response

The response to preparing a URL to upload a file.
form_datalist of objects
The POST policy form data.
idstringformat: "id"
The generated artifact's ID.
urlstringformat: "text"
The URL that the file's data should be uploaded to.

Errors