Skip to main content
PUT
Upload direct deployment file content

Authorizations

Authorization
string
header
required

Project admin JWT or an API key passed as a Bearer token.

Path Parameters

id
string<uuid>
required

Deployment run ID.

fileId
string<uuid>
required

Direct upload file ID returned by POST /api/deployments/direct.

Body

application/octet-stream

The body is of type file.

Response

File uploaded

path
string
required

Relative source path using forward slashes.

Required string length: 1 - 2048
Example:

"src/App.tsx"

sha
string
required

SHA-1 hex digest of the file content.

Pattern: ^[a-fA-F0-9]{40}$
size
integer
required

File size in bytes.

Required range: x >= 0
fileId
string<uuid>
required
uploadedAt
string<date-time>
required