v52

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2026-08-03134119177.4 KB
objects

post/repositories/{repository}/branches/{branch}/objects

Query parameters

storageClassstring

Deprecated, this capability will not be supported in future releases.

forceboolean

Headers

If-None-Matchstring

Set to "*" to atomically allow the upload only if the key has no object yet. Other values are not supported.

If-Matchstring

Set to the object's ETag to atomically allow operations only if the object's current ETag matches the provided value.

Response

object metadata

pathstring required
path_type'common_prefix' | 'object' required
physical_addressstring required

The location of the object on the underlying object store. Formatted as a native URI with the object store type as scheme ("s3://...", "gs://...", etc.) Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET

physical_address_expiryinteger

If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire.

This field is optional.

checksumstring required
size_bytesinteger

The number of bytes in the object. lakeFS always populates this field when returning ObjectStats. This field is optional for the client to supply, for instance on upload.

mtimeinteger required

Unix Epoch in seconds

metadataObjectUserMetadata
content_typestring

Object media type