get method

Returns the configuration of static website hosting for a bucket.

Request

GET /{bucket}?website HTTP/1.1

Path parameters

Parameter Description
bucket Bucket name.

Query parameters

Parameter Description
website Mandatory parameter to indicate the type of operation.

Headers

In a request, use the necessary common request headers.

Response

Headers

A response can only contain common response headers.

Response codes

For a list of possible responses, see Responses.

Data schema

The structure of returned data is the same as that of the data passed by the upload method.