Available in Classic and VPC
Get the Region information of a Ncloud Storage bucket.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | - |
Request headers
For information about the headers common to all Ncloud Storage APIs, see Ncloud Storage request headers.
Request query parameters
You can use the following query parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
location |
String | Required | Request Region information query.
|
Request example
The request example is as follows:
GET /?location HTTP/1.1
Host: bucket.kr.ncloudstorage.com
Response
This section describes the response format.
Response headers
For information about the headers common to all Ncloud Storage APIs, see Ncloud Storage response headers.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
LocationConstraint |
String | - | Region code |
Response status codes
For information about the HTTP status codes common to all Ncloud Storage APIs, see Common Ncloud Storage response status codes.
Response example
The response example is as follows:
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<LocationConstraint>kr</LocationConstraint>