Skip to navigation

Create a deployment file

View as Markdown

Reserves an opaque file key and returns an upload descriptor; does not carry the file bytes.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired
Deployment ID

Request

This endpoint expects an object.
content_typestringOptional

MIME type; application/octet-stream when empty.

namestringOptional
Display filename, at most 255 characters, with no path separators or control characters.
sizelongOptional
Exact size in bytes. It caps the upload and reserves capacity.

Response

OK
fileobjectOptional
keystringOptional
uploadobjectOptional

Errors

413
Content Too Large Error
507
Insufficient Storage Error