/
GetObject
GetObject
Recupera objetos do Big File. Para usar GET
, você deve ter acesso READ
ao objeto. Se você conceder acesso READ
ao usuário anônimo, poderá retornar o objeto sem usar um cabeçalho de autorização.
Request Syntax
GET /Key+?PartNumber=PartNumber&ResponseCacheControl=ResponseCacheControl&ResponseContentDisposition=ResponseContentDisposition&ResponseContentEncoding=ResponseContentEncoding&ResponseContentLanguage=ResponseContentLanguage&ResponseContentType=ResponseContentType&ResponseExpires=ResponseExpires&VersionId=VersionId HTTP/1.1 Host: bucket-name.bigfile.brascloud.com.br:443 If-Match: IfMatch If-Modified-Since: IfModifiedSince If-None-Match: IfNoneMatch If-Unmodified-Since: IfUnmodifiedSince Range: Range x-amz-server-side-encryption-customer-algorithm: SSECustomerAlgorithm x-amz-server-side-encryption-customer-key: SSECustomerKey x-amz-server-side-encryption-customer-key-MD5: SSECustomerKeyMD5 x-amz-request-payer: RequestPayer
Response Syntax
HTTP/1.1 200 x-amz-delete-marker: DeleteMarker accept-ranges: AcceptRanges x-amz-expiration: Expiration x-amz-restore: Restore Last-Modified: LastModified Content-Length: ContentLength ETag: ETag x-amz-missing-meta: MissingMeta x-amz-version-id: VersionId Cache-Control: CacheControl Content-Disposition: ContentDisposition Content-Encoding: ContentEncoding Content-Language: ContentLanguage Content-Range: ContentRange Content-Type: ContentType Expires: Expires x-amz-website-redirect-location: WebsiteRedirectLocation x-amz-server-side-encryption: ServerSideEncryption x-amz-server-side-encryption-customer-algorithm: SSECustomerAlgorithm x-amz-server-side-encryption-customer-key-MD5: SSECustomerKeyMD5 x-amz-server-side-encryption-aws-kms-key-id: SSEKMSKeyId x-amz-storage-class: StorageClass x-amz-request-charged: RequestCharged x-amz-replication-status: ReplicationStatus x-amz-mp-parts-count: PartsCount x-amz-tagging-count: TagCount x-amz-object-lock-mode: ObjectLockMode x-amz-object-lock-retain-until-date: ObjectLockRetainUntilDate x-amz-object-lock-legal-hold: ObjectLockLegalHoldStatus Body
Exemplos
A solicitação a seguir retorna o objeto my-image.jpg
.
Request
GET /my-image.jpg HTTP/1.1 Host: bucket.bigfile.brascloud.com.br:443 Date: Mon, 3 Oct 2016 22:32:00 GMT Authorization: authorization string
Response
HTTP/1.1 200 OK x-amz-id-2: eftixk72aD6Ap51TnqcoF8eFidJG9Z/2mkiDFu8yU9AS1ed4OpIszj7UDNEHGran x-amz-request-id: 318BC8BC148832E5 Date: Mon, 3 Oct 2016 22:32:00 GMT Last-Modified: Wed, 12 Oct 2009 17:50:00 GMT ETag: "fba9dede5f27731c9771645a39863328" Content-Length: 434234 [434234 bytes of object data]
, multiple selections available,
Related content
HeadObject
HeadObject
More like this
CopyObject
CopyObject
More like this
UploadPart
UploadPart
More like this
PutObject
PutObject
More like this
OPTIONS object
OPTIONS object
More like this
CompleteMultipartUpload
CompleteMultipartUpload
More like this