GetBucket

최신 업데이트:2022-03-01 18:22:21

To query whether the bucket exists, the permission of IAM wos:GetBucket is required

Request syntax

HEAD / HTTP/1.1
Host: Bucket.Endpoint
Authorization: Authorization
Date: date

URI request parameters

no

Request header

Only use common request headers .

Request body

no

Response syntax

HTTP/1.1  status_code
x-wos-request-id: request id
Content-Type: type
Date: date
Content-Length: length
Server: WS-web-server

Response header

Only use public response headers .

Response element

no

Example

HEAD / HTTP/1.1
Date: Fri, 10 Feb 2012 21:34:55 GMT
Authorization: authorization string
Host:bucket.s3-cn-east-1.wcsapi.com
Connection: Keep-Alive


HTTP/1.1 200 OK
x-wos-request-id: 32FE2CEB32F5EE2534FE2CEB32A5472
Date: Fri, 10 2012 21:34:56 GMT
Server: WS-web-server

이 문서의 내용이 도움이 되었습니까?
아니오
정상적으로 제출되었습니다.피드백을 주셔서 감사합니다.앞으로도 개선을 위해 노력하겠습니다.