{"openapi":"3.0.3","info":{"title":"\u6DD8\u5BA2\u6613\u5F00\u653E\u5E73\u53F0","version":"1.0.0"},"servers":[{"url":"/openapi"}],"paths":{"/v1/goods":{"get":{"summary":"\u5546\u54C1\u5217\u8868\u4E0E\u641C\u7D22","security":[{"ApiToken":[]}],"parameters":[{"name":"keyword","in":"query","required":false,"description":"\u6807\u9898\u5173\u952E\u8BCD\uFF0C\u6700\u591A60\u5B57","schema":{"type":"string"}},{"name":"category","in":"query","required":false,"description":"\u5206\u7C7BID","schema":{"type":"integer"}},{"name":"minprice","in":"query","required":false,"description":"\u6700\u4F4E\u4EF7","schema":{"type":"number"}},{"name":"maxprice","in":"query","required":false,"description":"\u6700\u9AD8\u4EF7","schema":{"type":"number"}},{"name":"sort","in":"query","required":false,"description":"latest\u3001price_asc\u3001price_desc\u3001daily_sales\u3001two_hour_sales","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"\u9ED8\u8BA41\uFF0C\u8303\u56F41\u20131000","schema":{"type":"integer"}},{"name":"size","in":"query","required":false,"description":"\u9ED8\u8BA420\uFF0C\u8303\u56F41\u201350","schema":{"type":"integer"}}],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/GoodsPage"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/goods/{id}":{"get":{"summary":"\u5546\u54C1\u8BE6\u60C5","security":[{"ApiToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"\u5E73\u53F0\u5546\u54C1\u5E93 goodsid\uFF0C\u533A\u522B\u4E8E\u8FD4\u56DE\u7684\u65B0\u5546\u54C1 itemid","schema":{"type":"integer"}}],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/Goods"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/rankings":{"get":{"summary":"\u5546\u54C1\u699C\u5355","security":[{"ApiToken":[]}],"parameters":[{"name":"type","in":"query","required":false,"description":"two_hour\uFF08\u9ED8\u8BA4\uFF09\u6216 daily\uFF0C\u672C\u5730\u9500\u91CF\u6392\u5E8F","schema":{"type":"string"}},{"name":"size","in":"query","required":false,"description":"\u9ED8\u8BA420\uFF0C\u8303\u56F41\u201350","schema":{"type":"integer"}}],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/GoodsPage"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/goods/new":{"get":{"summary":"\u65B0\u589E\u5546\u54C1\u62C9\u53D6","security":[{"ApiToken":[]}],"parameters":[{"name":"afterid","in":"query","required":false,"description":"\u9ED8\u8BA40\uFF0C\u540E\u7EED\u4F7F\u7528 nextcursor\uFF1B\u65B0\u589E\u62C9\u53D6\u4E0D\u662F\u5B8C\u6574\u53D8\u66F4\u65E5\u5FD7","schema":{"type":"integer"}},{"name":"size","in":"query","required":false,"description":"\u9ED8\u8BA420\uFF0C\u8303\u56F41\u201350","schema":{"type":"integer"}}],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/GoodsPage"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/goods/states":{"get":{"summary":"\u6279\u91CF\u5546\u54C1\u72B6\u6001","security":[{"ApiToken":[]}],"parameters":[{"name":"ids","in":"query","required":true,"description":"\u6700\u591A50\u4E2A\u5546\u54C1\u5E93ID\uFF0C\u4EE5\u9017\u53F7\u5206\u9694","schema":{"type":"string"}}],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/States"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/messages":{"get":{"summary":"\u83B7\u53D6\u91C7\u96C6\u4FE1\u606F","security":[{"ApiToken":[]}],"parameters":[{"name":"afterid","in":"query","required":false,"description":"\u9ED8\u8BA40\uFF0C\u4ECE\u5F53\u5929\u6700\u65E9\u6D88\u606F\u6309ID\u6B63\u5E8F\u62C9\u53D6\uFF1B\u540E\u7EED\u4F20 nextcursor\uFF0C\u4E0D\u4FDD\u8BC1\u6BCF\u9875\u6DF7\u5408\u8054\u76DF","schema":{"type":"integer"}},{"name":"pubid","in":"query","required":false,"description":"\u83B7\u53D6\u8054\u76DF\u5217\u8868\u8FD4\u56DE\u7684\u77ED\u6807\u8BC6\uFF1B\u4E0D\u652F\u6301\u6570\u5B57 ID\u3002\u4E0D\u586B\u5199\u65F6\uFF0C\u67E5\u8BE2\u6240\u6709\u5F53\u524D\u53EF\u7528\u91C7\u96C6\u7FA4\u3002","schema":{"type":"string"}},{"name":"size","in":"query","required":false,"description":"\u9ED8\u8BA420\uFF0C\u8303\u56F41\u201350","schema":{"type":"integer"}}],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/MessagesPage"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/messages/today/{itemId}":{"get":{"summary":"\u5546\u54C1\u5F53\u5929\u6587\u6848","security":[{"ApiToken":[]}],"parameters":[{"name":"itemId","in":"path","required":true,"description":"\u5B8C\u6574\u65B0\u5546\u54C1 ID\uFF08\u517C\u5BB9\u539F\u6570\u5B57 ID\uFF09\uFF0C\u53EA\u67E5\u8BE2\u672C\u5730\u6620\u5C04","schema":{"type":"string"}},{"name":"afterid","in":"query","required":false,"description":"\u9ED8\u8BA40\uFF0C\u540E\u7EED\u4F7F\u7528 nextcursor\uFF1B\u65B0\u589E\u62C9\u53D6\u4E0D\u662F\u5B8C\u6574\u53D8\u66F4\u65E5\u5FD7","schema":{"type":"integer"}},{"name":"size","in":"query","required":false,"description":"\u9ED8\u8BA420\uFF0C\u8303\u56F41\u201350","schema":{"type":"integer"}}],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/MessagesPage"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/pubs":{"get":{"summary":"\u83B7\u53D6\u8054\u76DF\u5217\u8868","security":[{"ApiToken":[]}],"parameters":[],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/Pubs"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/goods/byitem/{itemid}":{"get":{"summary":"\u6309\u5546\u54C1\u6807\u8BC6\u67E5\u8BE2\u8BE6\u60C5","security":[{"ApiToken":[]}],"parameters":[{"name":"itemid","in":"path","required":true,"description":"\u5B8C\u6574\u65B0\u5546\u54C1ID\uFF0C\u517C\u5BB9\u6570\u5B57\u5546\u54C1ID\uFF1B\u53EA\u67E5\u672C\u5730\u6620\u5C04\uFF0C\u65E0\u6620\u5C04\u6216\u65E0\u6709\u6548\u5546\u54C1\u8FD4\u56DE404","schema":{"type":"string"}}],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/Goods"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/messages/cursor":{"get":{"summary":"\u83B7\u53D6\u6700\u65B0\u91C7\u96C6\u6E38\u6807","security":[{"ApiToken":[]}],"parameters":[{"name":"pubid","in":"query","required":false,"description":"\u83B7\u53D6\u8054\u76DF\u5217\u8868\u8FD4\u56DE\u7684\u77ED\u6807\u8BC6\uFF1B\u4E0D\u652F\u6301\u6570\u5B57 ID\u3002\u4E0D\u586B\u5199\u65F6\uFF0C\u67E5\u8BE2\u6240\u6709\u5F53\u524D\u53EF\u7528\u91C7\u96C6\u7FA4\u7684\u6700\u65B0\u4F4D\u7F6E\u3002","schema":{"type":"string"}}],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/MessageCursor"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}},"/v1/usage":{"get":{"summary":"\u67E5\u8BE2\u8D26\u53F7\u989D\u5EA6\u4E0E\u7528\u91CF","security":[{"ApiToken":[]}],"parameters":[],"responses":{"200":{"description":"\u6210\u529F","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"$ref":"#/components/schemas/Quota"}}}}}},"400":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"401":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"403":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"404":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"429":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}},"503":{"description":"\u8BF7\u6C42\u5931\u8D25","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"requestid":{"type":"string"},"data":{"nullable":true}}}}}}}}}},"components":{"securitySchemes":{"ApiToken":{"type":"http","scheme":"bearer"}},"schemas":{"Pubs":{"type":"array","items":{"type":"object","properties":{"pubid":{"type":"string"},"pubname":{"type":"string"}}}},"MessageCursor":{"type":"object","properties":{"afterid":{"type":"integer"},"date":{"type":"string"}}},"Quota":{"type":"object","properties":{"date":{"type":"string"},"used":{"type":"integer"},"remaining":{"type":"integer"},"dailylimit":{"type":"integer"},"requestspersecond":{"type":"integer"}}},"Goods":{"type":"object","properties":{"goodsid":{"type":"integer"},"itemid":{"type":"string","nullable":true,"description":"\u5B8C\u6574\u4E24\u6BB5\u65B0\u5546\u54C1 ID\uFF08itemnewid\uFF09\uFF0C\u672C\u5730\u7F3A\u5931\u65F6\u4E3A null"},"title":{"type":"string"},"description":{"type":"string"},"mainimage":{"type":"string"},"images":{"type":"array","items":{"type":"string"}},"itemlink":{"type":"string"},"categoryid":{"type":"integer"},"originalprice":{"type":"number"},"price":{"type":"number"},"couponamount":{"type":"number"},"couponlink":{"type":"string"},"validuntil":{"type":"string","description":"\u5317\u4EAC\u65F6\u95F4 yyyy-MM-dd HH:mm:ss"},"monthsales":{"type":"integer"},"dailysales":{"type":"integer"},"twohoursales":{"type":"integer"}}},"Message":{"type":"object","properties":{"id":{"type":"integer"},"itemid":{"type":"string","nullable":true,"description":"\u5B8C\u6574\u4E24\u6BB5\u65B0\u5546\u54C1 ID\uFF08itemnewid\uFF09\uFF0C\u672C\u5730\u7F3A\u5931\u65F6\u4E3A null"},"pubid":{"type":"string"},"pubname":{"type":"string"},"time":{"type":"string","description":"\u5317\u4EAC\u65F6\u95F4 yyyy-MM-dd HH:mm:ss"},"content":{"type":"string"},"couponlink":{"type":"string"},"title":{"type":"string"}}},"GoodsPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Goods"}},"nextcursor":{"type":"integer"},"hasmore":{"type":"boolean"}}},"MessagesPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Message"}},"nextcursor":{"type":"integer"},"hasmore":{"type":"boolean"}}},"States":{"type":"array","items":{"type":"object","properties":{"goodsid":{"type":"integer"},"status":{"type":"string"},"goods":{"$ref":"#/components/schemas/Goods"}}}}}}}