Bucket Objects
Update Object
Changed onThis endpoint updates an existing object in the specified bucket. It accepts key_prefix, skip_duplicates and metadata; each metadata key is set at the root of the object, and fields you leave out keep their values. It cannot replace blobs: to change an object's files, delete it and create it again. It does not trigger processing.
put/v1/buckets/{bucket_identifier}/objects/{object_identifier}
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
bucket_identifierstring required
The unique identifier of the bucket.
object_identifierstring required
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 request property
- warning