Spectra Logic
1-800-833-1132 : 1-303-449-6400


Amazon S3 Operations : Amazon S3 Object Operations : Get Object

Get Object
Description
Retrieves an object from storage. Spectra Logic recommends using Spectra S3 requests to create a GET job rather than using this request stand alone in a strict Amazon S3 manner. This is particularly important when getting many small objects or getting very large objects that have been broken up for physical placement. This is an Amazon S3 compatible operation with additional request parameters. The job and offset parameters should always be used when doing a GET object as part of a bulk GET job.
If the object is on tape, clients should expect latency and/or non-error response codes detailed below.
See Get Object for Amazon S3 operation details.
Notes:
§
A Create Bulk GET (see page 149) request should be issued to the BlackPearl system before the GET object request. The BlackPearl system may choose to fail any GET object request which does not match the plan returned by the prior Create Bulk GET request.
§
§
If the job and offset parameters are not provided and the object has multiple parts because it was PUT using multipart upload, or it was PUT using a Spectra S3 PUT job and the object was broken up into more than one part, the GET request fails.
Requests
Syntax
GET http[s]://{datapathDNSname}/{bucket_name}/{object_name}[?job={string}][&offset={64‑bit integer}]
Request Parameters
Request Header
§
The HTTP header for the checksum is returned when applicable (see Put Object), so that the client can verify that the data received is correct. End-to-end data protection requires that the client provide the CRC when uploading the object and then verify the CRC after downloading the object at a later time. The BlackPearl system also verifies the CRC when reading from physical data stores so the system can identify problems before transmitting data to the client.
§
Responses
Response Elements
The operation returns a header, the requested object content, and status information. It does not return response elements.
When possible, the response header has the status code 200 OK.
The header may also contain the following non-error statuses:
§
§
§
§
§
§
§
Example
Sample Request
This request GETs the object named “object1” from the bucket “bucket1”.
GET http://blackpearl-hostname/bucket1/object1 HTTP/1.1
Sample Response
HTTP/1.1 200 OK
{object data}