blob _transfer
Last updated
2023-07-14 17:37:10
{"value":"## **\u63cf\u8ff0**\n\n\u8be5\u63a5\u53e3\u53ef\u4ee5\u83b7\u53d6\u8de8\u533a\u57df\u540c\u6b65\u6d41\u91cf\u7edf\u8ba1\u6570\u636e\u3002\u53ef\u67e5\u8be2\u5f53\u5929\u8ba1\u91cf\uff0c\u76d1\u63a7\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\/blob_transfer?begin=<BeginTime>&end=<EndTime>&g=day&select=size 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| begin | \u662f | \u8d77\u59cb\u65f6\u95f4\u5b57\u7b26\u4e32\uff0c\u683c\u5f0f\u4e3a20060102150405\uff0c\u95ed\u533a\u95f4 |\n| end | \u662f | \u7ed3\u675f\u65f6\u95f4\u5b57\u7b26\u4e32\uff0c\u683c\u5f0f\u4e3a20060102150405\uff0c\u5f00\u533a\u95f4 |\n| g | \u662f | \u65f6\u95f4\u805a\u5408\u7c92\u5ea6( `day` `month`) |\n| select | \u662f | \u503c\u4e3a`size`\uff0c\u8868\u793a\u6d41\u91cf (Byte) |\n| $is_oversea | \u5426 | \u662f\u5426\u4e3a\u6d77\u5916\u540c\u6b65 `0` \u56fd\u5185`1` \u6d77\u5916 |\n| $taskid | \u5426 | \u4efb\u52a1 id |\n\n<\/br>\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| time | \u7edf\u8ba1\u65f6\u95f4 \u7c7b\u578b\uff1a\u5b57\u7b26\u4e32 |\n| size | \u8de8\u533a\u57df\u540c\u6b65\u6d41\u91cf\u5927\u5c0f\uff0c\u5355\u4f4d Byte \u7c7b\u578b\uff1a\u6570\u5b57 |\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\u3002\n\n\n\n\n\n# **\u793a\u4f8b**\n\n\n\n\n\n### **\u8bf7\u6c42\u793a\u4f8b**\n\n```\nGET \/v6\/blob_transfer?begin=20170821090000&end=20170821183000&g=day&select=size HTTP\/1.1\nHost: api.qiniuapi.com\nUser-Agent: Go-http-client\/1.1\nContent-Type:application\/x-www-form-urlencoded\nX-Qiniu-Date: 20170821T024530Z\nAuthorization: Qiniu j853F3bLkWl59I5BOkWm6q1Z1mZClpr9Z9CLfDE0:NeZdg66tjs3OqX9GwN34Va3XwKw=\nAccept-Encoding: gzip\n```\n\n\n\n\n\n### **\u54cd\u5e94\u793a\u4f8b**\n\n```\nHTTP\/1.1 200 OK\nContent-Length: 63\nConnection: keep-alive\nContent-Type: application\/json\nDate: Mon, 21 Aug 2017 02:45:30 GMT\nServer: nginx\nX-Log: KODOBILL:207;APIS:213\nX-Reqid: BksAAGGleNtnvNwU\n\n[\n {\n \"time\": \"2017-08-21T00:00:00+08:00\", \n \"values\": {\n \"size\": 343450\n }\n }\n]\n```\n"}