Partially Update Object
Changed onThis endpoint partially updates an existing object in the specified bucket (PATCH operation). Send the object's custom fields flat at the root of the body, for example {"campaign_id": "camp_002"}. Only the fields you send change. key_prefix and skip_duplicates are also accepted. This route has no metadata field. System names such as status, object_id and blobs are reserved and return a 422. It does not trigger processing.
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/buckets/{bucket_identifier}/objects/{object_identifier}
- Auth: HTTP bearer and API key in header X-Namespace
Path parameters
The unique identifier of the bucket.
The unique identifier of the object.
Request body
Response
Successful Response
Example response
{
"blobs": [
{
"blob_id": "blob_1",
"data": {
"num_pages": 5,
"title": "Service Agreement 2024"
},
"key_prefix": "/contract-2024/content.pdf",
"metadata": {
"author": "John Doe",
"department": "Legal"
},
"property": "content",
"type": "PDF"
}
],
"bucket_id": "bkt_9xy8z7",
"content_hash": "28a9f5e8...",
"created_at": "2024-10-21T10:30:00Z",
"key_prefix": "/contract-2024",
"metadata": {
"category": "contracts",
"year": 2024
},
"object_id": "obj_123abc456def",
"skip_duplicates": false,
"status": "PENDING",
"updated_at": "2024-10-21T10:30:00Z"
}Changes
- info
the
response's property default value changed fromDRAFTtoPENDINGfor the status
- info
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning