Get Static Website Hosting Information for a Bucket
Updated at:2025-11-03
API description
This API retrieves static website hosting information for a bucket.
Request URI
GET /v1/{bucketName}/?website
| Parameter name | Parameter type | Required or not | Description | Example value | Parameter location |
|---|---|---|---|---|---|
| bucketName | String | Yes | Bucket name | "bucketName_example" | Path |
Parameters of request body
Description of the data structure of request body fields
Response body parameters
Description of the data structure of response body fields
| Parameter name | Parameter type | Description | Example value |
|---|---|---|---|
| index | String | Index file name | index.html |
| notFound | String | 404 file name | 404.html |
| notFoundHttpStatus | String | HTTP status code appearing during the return to error pages | 404 |
Request example
JSON
1GET /v1/bucketName_example/?website
2 <Common request headers>
3{ }
Response example
JSON
1HTTP/1.1 200 OK
2 <Common response headers>
3{
4 "index" : "index.html",
5 "notFound" : "404.html"
6}
Error code
Please refer to the general error codes
