{"id":4053,"date":"2020-08-04T13:17:32","date_gmt":"2020-08-04T05:17:32","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=4053"},"modified":"2020-08-04T13:17:32","modified_gmt":"2020-08-04T05:17:32","slug":"%e5%ae%a3%e5%b8%83vultr-api-v2","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/4053.html","title":{"rendered":"\u5ba3\u5e03Vultr API v2"},"content":{"rendered":"

\u6211\u4eec\u7684API\u56e2\u961f\u4e00\u76f4\u4e0e\u5f00\u53d1\u8005\u793e\u533a\u7d27\u5bc6\u5408\u4f5c\uff0c\u4ee5\u6539\u5584\u6211\u4eec\u7684<\/span>\u5f00\u6e90\u5de5\u5177<\/span><\/a>\u548c\u5f00\u53d1\u8005\u96c6\u6210\u3002\u4eca\u5929\uff0cVultr\u56e2\u961f\u5f88\u9ad8\u5174\u5ba3\u5e03\u6211\u4eecAPI\u7684\u4e0b\u4e00\u7248\u672c\u3002\u5728\u6211\u4eec\u5ba1\u67e5\u53cd\u9988\u5e76\u6700\u7ec8\u786e\u5b9a\u89c4\u683c\u65f6\uff0c\u6b64\u5f00\u53d1\u4eba\u5458\u9884\u89c8\u7248\u5c06\u5728\u63a5\u4e0b\u6765\u7684\u51e0\u5468\u5185\u8fd0\u884c\uff0c\u5e76\u5c06\u4e8e\u4eca\u5e74\u79cb\u5929\u665a\u4e9b\u65f6\u5019\u53d1\u5e03\u9884\u671f\u7684\u4e00\u822c\u53ef\u7528\u6027\u3002<\/span><\/p>\n

Vultr API v2\u901a\u8fc7\u4ee5\u4e0b\u65b0\u529f\u80fd\u663e\u7740\u6539\u5584\u4e86\u5f00\u53d1\u4eba\u5458\u7684\u4f53\u9a8c\uff1a<\/span><\/p>\n

\u2022\u8d44\u6e90\u5177\u6709\u91c7\u7528REST\u98ce\u683c\u8bbe\u8ba1\u7684CRUD\u64cd\u4f5c<\/span>
\n\u2022\u63d0\u9ad8\u4e86\u6027\u80fd\u548c\u66f4\u7075\u6d3b\u7684\u901f\u7387\u9650\u5236<\/span>
\n\u2022\u57fa\u4e8e\u6e38\u6807\u7684\u65b0\u5206\u9875\u7b80\u5316\u4e86\u5217\u8868\u5904\u7406<\/span>
\n\u2022\u5168\u9762\u6539\u8fdb\u4e86\u547d\u540d\u7ea6\u5b9a<\/span>
\n\u2022\u6211\u4eec\u6dfb\u52a0\u4e86\u65b0\u7684\u548c\u6269\u5c55\u7684\u73b0\u6709\u9519\u8bef\u6d88\u606f<\/span>
\n\u2022\u73b0\u5728\u66f4\u6613\u4e8e\u7406\u89e3\u7684\u8d44\u6e90ID<\/span>
\n\u2022\u4f7f\u7528\u4e00\u81f4\u4e14\u683c\u5f0f\u6b63\u786e\u7684JSON<\/span><\/p>\n

\u8bf7\u53c2\u9605\u4ee5\u4e0b<\/span>\u7f51\u5740<\/span><\/a>\u00a0\u7684\u5b8c\u6574API v2\u6587\u6863\uff1ahttps<\/a>\u00a0:\u00a0\/\/www.vultr.com\/api\/v2<\/a><\/span><\/p>\n

\u5982\u679c\u60a8\u4f7f\u7528<\/span>Vultr Go<\/span><\/a>\u6216<\/span>Node<\/span><\/a>\u5ba2\u6237\u7aef\uff0c\u5219Beta\u5468\u671f\u5b8c\u6210\u540e\uff0c\u5c06\u83b7\u5f97\u900f\u660e\u5347\u7ea7\u3002<\/span>\u5728GitHub<\/span><\/a>\u4e0a\u7684\u6240\u6709\u57fa\u7840\u67b6\u6784\u5de5\u5177\u4e0a\u67e5\u627ev2.0.0\u6807\u7b7e\u3002\u5982\u679c\u60a8\u6709\u4efb\u4f55\u7591\u95ee\u6216\u53cd\u9988\uff0c\u6211\u4eec\u5e0c\u671b\u6536\u5230\u60a8\u7684\u6765\u4fe1\u3002\u5408\u683c\u7684\u9519\u8bef\u62a5\u544a\u6709\u8d44\u683c\u83b7\u5f97\u6211\u4eec\u7684<\/span>\u9519\u8bef\u8d4f\u91d1\u8ba1\u5212<\/span><\/a>\uff01<\/span><\/p>\n

\u6ce8\u610f\uff1a\u5f53\u524d\u7248\u672c\u4ec5\u662f\u5f00\u53d1\u4eba\u5458\u9884\u89c8\u3002\u76ee\u524d\u4e0d\u5efa\u8bae\u7528\u4e8e\u751f\u4ea7\u7528\u9014\uff01\u60a8\u662f\u5426\u6709\u60f3\u8981\u5728API v2\u4e2d\u770b\u5230\u7684\u5efa\u8bae\u6216\u529f\u80fd\uff1f\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b<\/span>\u652f\u6301\u51ed\u5355<\/span><\/a>\u9875\u9762\u76f4\u63a5\u5c06\u60a8\u7684\u53cd\u9988\u610f\u89c1\u63d0\u4ea4\u7ed9\u6211\u4eec\u7684API\u56e2\u961f\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"

\u6211\u4eec\u7684API\u56e2\u961f\u4e00\u76f4\u4e0e\u5f00\u53d1\u8005\u793e\u533a\u7d27\u5bc6\u5408\u4f5c\uff0c\u4ee5\u6539\u5584\u6211\u4eec\u7684\u5f00\u6e90\u5de5\u5177\u548c\u5f00\u53d1\u8005\u96c6\u6210\u3002\u4eca\u5929\uff0cVultr\u56e2\u961f\u5f88\u9ad8\u5174\u5ba3\u5e03\u6211\u4eec […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[1286,857],"class_list":["post-4053","post","type-post","status-publish","format-standard","hentry","category-vultrvps","tag-api","tag-vultr"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/4053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=4053"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/4053\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=4053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=4053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=4053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}