v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
File Mutation

Upload file to a new or existing path

post/repos/{repo_id}/files/{ref_id}/{path}

Query parameters

storage_backend1 | 2

One of: 1 - EFS, 2 - S3

An optional storage type for async upload.

storage_uristring

Coupled with storage_backend, a uri to storage location

Example:repo_id/2aae6c35c94fcfb415dbe95f408b9ce91ee846ed

An optional storage uri to be sent along storage_backend.

mode16877 | 33188 | 33261 | 40960 required

The file mode (as Unix mode)

The file mode (as Unix mode)

mtimeinteger required

The file's modification time in seconds since epoch

sizeinteger

Blob size in bytes

sha1string

A sha1 hexdigest

Headers

X-Dv-Client-Idstring required

The unique id of the client making this request

Response

File created or updated