Skip to main content
POST
Upsert Branch File Chunks

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project ID, slug, or domain from the authenticated context.

branchName
string
required

Branch name or ID from the route.

filePath
string
required

URL-encoded file path for the chunked file.

Body

application/json
chunks
object[]
required

Chunks to replace the current indexed chunks for the file.

Required array length: 1 - 500 elements

Response

Result

chunks
object[]
required

Stored chunk identifiers and their indexes.

created
number
required

Number of chunks created by the upsert operation.

updated
number
required

Number of chunks updated by the upsert operation.