Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-09-14 16:18:03
This GET operation will use the 'location' resource to return the region of user space . The user uses' LocationConstraint 'in the' PUT Bucket 'request to set the region of user space. For more information, please click PUT Bucket.
Using this interface requires the user to be the owner of this space.
GET /?location HTTP/1.1
Host: {BucketName}.{endpoint}
Date: {date}
Authorization: authorization string
Note:
The interface does not use request parameters.
This interface only uses common request headers. For more information, please click Public request headers.
The interface does not use the requested content.
This interface can use all common response headers. For more information, please click Public response headers.
Name | Description |
---|---|
LocationConstraint | Specify the region where the user space will be placed. Type: String Valid value: [ BEIJING ; SHANGHAI ; HONGKONG ] |
The interface does not return any special errors.
Request example
GET /?location HTTP/1.1
Host: ks3-example.ks3-cn-beijing.ksyuncs.com
Date: Wed, 01 Mar 2010 12:00:00 GMT
Authorization: authorization string
Response example
<?xml version="1.0" encoding="UTF-8"?>
<LocationConstraint xmlns="http://s3.amazonaws.com/doc/2006-03-01/">BEIJING</LocationConstraint>
Pure Mode