space
Last updated
2023-07-14 16:49:16
{"value":"## **\u63cf\u8ff0**\n\n\u8be5\u63a5\u53e3\u53ef\u4ee5\u83b7\u53d6\u6807\u51c6\u5b58\u50a8\u7684\u5f53\u524d\u5b58\u50a8\u91cf\u3002\u53ef\u67e5\u8be2\u5f53\u5929\u8ba1\u91cf\uff0c\u7edf\u8ba1\u5ef6\u8fdf\u5927\u6982 5 \u5206\u949f\u3002\n\n\n\n\n\n## **\u8bf7\u6c42**\n\n\n\n### **\u8bed\u6cd5**\n\n```\nGET \/v6\/space?begin=<BeginTime>&end=<EndTime>&g=day HTTP\/1.1\nHost: api.qiniuapi.com\nContent-Type:application\/x-www-form-urlencoded\nX-Qiniu-Date: 20060102T150405Z\nAuthorization: Qiniu <AccessToken>\n```\n\n\n\n\n\n### **\u8bf7\u6c42\u53c2\u6570**\n\n| \u53c2\u6570\u540d\u79f0 | \u5fc5\u586b | \u8bf4\u660e |\n| -------- | ---- | --------------------------------------------------- |\n| bucket | \u5426 | \u5b58\u50a8\u7a7a\u95f4\u540d\u79f0\uff0c\u662f\u4e00\u4e2a\u6761\u4ef6\u8bf7\u6c42\u53c2\u6570 |\n| begin | \u662f | \u8d77\u59cb\u65e5\u671f\u5b57\u7b26\u4e32\uff0c\u95ed\u533a\u95f4\uff0c\u4f8b\u5982\uff1a 20060102150405 |\n| end | \u662f | \u7ed3\u675f\u65e5\u671f\u5b57\u7b26\u4e32\uff0c\u5f00\u533a\u95f4\uff0c\u4f8b\u5982\uff1a 20060102150405 |\n| g | \u662f | \u65f6\u95f4\u7c92\u5ea6\uff0c\u652f\u6301 `day`\uff1b\u5f53\u5929\u652f\u6301`5min`\u3001`hour`\u3001`day` |\n| region | \u5426 | \u5b58\u50a8\u533a\u57df ID, \u4e03\u725b\u5bf9\u8c61\u5b58\u50a8\u652f\u6301\u7684 \u5b58\u50a8\u533a\u57df\u5217\u8868 |\n\n\n\n\n\n### **\u8bf7\u6c42\u5934**\n\n\u8be5\u8bf7\u6c42\u64cd\u4f5c\u7684\u5b9e\u73b0\u4f7f\u7528\u4e86\u6240\u6709\u64cd\u4f5c\u7684\u516c\u5171\u8bf7\u6c42\u5934\u3002\u6709\u5173\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u67e5\u9605\u516c\u5171\u8bf7\u6c42\u5934\u3002\n\n\n\n\n\n## **\u54cd\u5e94**\n\n\n\n\n\n### **\u54cd\u5e94\u5934**\n\n\u8be5\u8bf7\u6c42\u64cd\u4f5c\u7684\u5b9e\u73b0\u4f7f\u7528\u4e86\u6240\u6709\u64cd\u4f5c\u7684\u516c\u5171\u54cd\u5e94\u5934\u3002\u6709\u5173\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u67e5\u9605\u516c\u5171\u54cd\u5e94\u5934\u3002\n\n\n\n\n\n### **\u54cd\u5e94\u5143\u7d20**\n\n| \u540d\u79f0 | \u8bf4\u660e |\n| ----- | ----------------------------------- |\n| times | Unix \u65f6\u95f4\u6233\uff0c\u5355\u4f4d\u4e3a\u79d2 \u7c7b\u578b\uff1a\u6570\u7ec4 |\n| datas | \u5b58\u50a8\u91cf\u5927\u5c0f\uff0c\u5355\u4f4d\u4e3a Byte \u7c7b\u578b\uff1a\u6570\u7ec4 |\n\n\n\n\n\n### **\u7279\u6b8a\u9519\u8bef**\n\n\u8be5\u64cd\u4f5c\u7684\u5b9e\u73b0\u4e0d\u4f1a\u8fd4\u56de\u7279\u6b8a\u9519\u8bef\u3002\u6709\u5173\u9519\u8bef\u548c\u9519\u8bef\u4ee3\u7801\u5217\u8868\u7684\u4e00\u822c\u4fe1\u606f\uff0c\u8bf7\u67e5\u9605[\u9519\u8bef\u54cd\u5e94](https:\/\/portal.7oss-hk.cdncloud.com\/doc\/kodo\/api\/3928\/error-responses.html)\u3002\n\n\n\n\n\n# **\u793a\u4f8b**\n\n\n\n\n\n### **\u8bf7\u6c42\u793a\u4f8b**\n\n```\nGET \/v6\/space?bucket=test07®ion=z0&begin=20170818140000&end=20170818150000&g=day HTTP\/1.1\nHost: api.qiniuapi.com\nUser-Agent: Go-http-client\/1.1\nContent-Type:application\/x-www-form-urlencoded\nX-Qiniu-Date: 20170818T064943Z\nAuthorization: Qiniu j853F3bLkWl59I5BOkWm6q1Z1mZClpr9Z9CLfDE0:XSOBjcnxSaffg04WlT8PKgDjMFw=\nAccept-Encoding: gzip\n```\n\n\n\n\n\n### **\u54cd\u5e94\u793a\u4f8b**\n\n```\nHTTP\/1.1 200 OK\nContent-Length: 40\nConnection: keep-alive\nContent-Type: application\/json\nDate: Fri, 18 Aug 2017 06:49:43 GMT\nServer: nginx\nX-Log: COUNTER;CT:2;S:5;STAT:5;MERGEAPI:6;MERGEAPI:6;APIS:11\nX-Reqid: xxwAAGenzgz-3dsU\n\n{\n \"times\": [\n 1502985600\n ], \n \"datas\": [\n 7772448\n ]\n}\n```\n"}