objects
post/repositories/{repository}/branches/{branch}/objects
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/repositories/{repository}/branches/{branch}/objects
- Auth
- HTTP bearer
- or HTTP basic
- or API key in cookie internal_auth_session
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.
Request body multipart/form-data
Response
object metadata
Changes
- info
added the new optional
headerrequest parameterIf-Match - info
added the non-success response with the status
- info
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info