帮助与文档

我们为你提供丰富、详尽的使用指南以及产品文档

GET Bucket External Mirror

获取存储空间的外部镜像源站(external mirror source site),external mirror source site 只有存储空间的所有者才能获取。

设置 external mirror source site 请参见 PUT Bucket External Mirror

删除 external mirror source site 请参见 DELETE Bucket External Mirror

Request Syntax

GET /?mirror HTTP/1.1
Host: <bucket-name>.<zone-id>.qingstor.com
Date: <date>
Authorization: <authorization-string>

Request Parameters

没有请求参数

Request Headers

参见公共请求头

Request Elements

没有请求消息体

Response Headers

参见公共响应头

Response Elements

Name Type Description
source_site String 外部镜像回源的源站。源站形式为 <protocol>://<host>[:port]/[path]

Example

Example Request

GET /?mirror HTTP/1.1
Host: mybucket.pek3a.qingstor.com
Date: Sun, 14 Aug 2016 09:05:00 GMT
Authorization: authorization string

Example Response

HTTP/1.1 200 OK
Server: QingStor
Date: Sun, 14 Aug 2016 09:05:01 GMT
Content-Length: 0
Connection: close
x-qs-request-id: aa08cf7a43f611e5886952542e6ce14b

{
    "source_site": "http://example.com/image/"
}