Gargi Jaiswal created HDDS-16072:
------------------------------------
Summary: Implement GetObjectAttributes: ETag, ObjectSize,
StorageClass, and ObjectParts count
Key: HDDS-16072
URL: https://issues.apache.org/jira/browse/HDDS-16072
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Gargi Jaiswal
Assignee: Gargi Jaiswal
Implement the initial GetObjectAttributes support in the S3 Gateway.
Changes required:
* API : GET /\{bucket}/\{key}?attributes
* Required header: x-amz-object-attributes
* Supported attributes:
** ETag — object ETag (MD5 or composite hash for multipart objects)
** ObjectSize — object size in bytes
** StorageClass — storage/replication class
** ObjectParts — for multipart objects,
* Response format: XML GetObjectAttributesResponse with Last-Modified response
header
* Error handling: 404 NoSuchKey when the object does not exist, 403
AccessDenied on authorization failure, 400 InvalidArgument when the attributes
header is missing or invalid
* Audit and metrics: GET_OBJECT_ATTRIBUTES audit action and success/failure
metrics
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]