S3 Get Object Retention

GET https://s3.{{region}}.backblazeb2.com/:bucket/:key?retention

Request Params

KeyDatatypeRequiredDescription
retentionnullMust be present to retrieve object retention settings.
versionIdnullOptional. Specifies a specific version of the object.

HEADERS

KeyDatatypeRequiredDescription
x-amz-expected-bucket-ownernullOptional. Account ID of the expected bucket owner. If the bucket is owned by a different owner, a 403 Access Denied error will be returned.

RESPONSES

status: OK

"\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cRetention xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"\u003e\n    \u003cMode\u003eCOMPLIANCE\u003c/Mode\u003e\n    \u003cRetainUntilDate\u003e2022-02-02T23:56:06.538Z\u003c/RetainUntilDate\u003e\n\u003c/Retention\u003e"