Skip to main content
Retrieve metadata for an object in Antryk storage.
curl --request GET \
  --url https://storage.antryk.com/api/v1/objects/metadata \
  --header 'Content-Type: application/json' \
  --data '{
    "bucket": "upload-final-v1",
    "key": "y.mp4",
    "accessKey": "IJS5WUGVCIYAADO0R6OS",
    "secretKey": "ZlGOona+3OO9MPrj3OL0KfrWhGjbZAAfc1wDuDIS"
  }'

Request Parameters

bucket
string
required
The name of the storage bucket.
key
string
required
The unique identifier or path of the object within the bucket.
accessKey
string
required
The access key for authentication.
secretKey
string
required
The secret key for authentication.

Examples

bucket
string
required
Example: upload-final-v1
key
string
required
Example: y.mp4
accessKey
string
required
Example: IJS5WUGVCIYAADO0R6OS
secretKey
string
required
Example: ZlGOona+3OO9MPrj3OL0KfrWhGjbZAAfc1wDuDIS

Response

Returns a JSON object containing the object metadata.
{
  "key": "y.mp4",
  "bucket": "upload-final-v1",
  "size": 1048576,
  "contentType": "video/mp4",
  "lastModified": "2024-01-15T10:30:00Z"
}