{"id":404592,"date":"2024-06-29T17:47:41","date_gmt":"2024-06-29T17:47:41","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=404592"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-29T17:47:41","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=404592","title":{"rendered":"<span>\u0412 HOSTKEY \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>\u0417\u0430\u043a\u0430\u0437 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0438\u0437 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0447\u0435\u0440\u0435\u0437 API<\/h2>\n<p>\u0421\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u044b <a href=\"https:\/\/hostkey.ru\/\">HOSTKEY<\/a> \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c <a href=\"https:\/\/hostkey.ru\/dedicated-servers\/\">\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432<\/a> (\u0432\u043a\u043b\u044e\u0447\u0430\u044f <a href=\"https:\/\/hostkey.ru\/gpu-dedicated-servers\/\">\u043c\u0430\u0448\u0438\u043d\u044b \u0441 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 GPU<\/a>) \u043d\u0430 \u0432\u0441\u0435\u0445 \u043d\u0430\u0448\u0438\u0445 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430\u0445 \u0432 \u041c\u043e\u0441\u043a\u0432\u0435, \u0410\u043c\u0441\u0442\u0435\u0440\u0434\u0430\u043c\u0435 \u0438 \u041d\u044c\u044e-\u0419\u043e\u0440\u043a\u0435. \u0414\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 <a href=\"https:\/\/invapi.hostkey.com\">\u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435<\/a> \u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Stock Servers.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/425\/7b7\/a81\/4257b7a8132c079961eb3e192a5c4f84.png\" width=\"1600\" height=\"1068\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/425\/7b7\/a81\/4257b7a8132c079961eb3e192a5c4f84.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0441\u043f\u0438\u0441\u043a\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u044b \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 VDS, \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043e \u0446\u0435\u043d\u0430\u043c\/\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u043e \u0442\u0438\u043f\u0443. \u0412\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u0441 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c IPMI \u043e\u0431\u044b\u0447\u043d\u043e \u0441\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 15 \u043c\u0438\u043d\u0443\u0442 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043a\u0430\u0437\u0430, \u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u0431\u0435\u0437 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0441 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u2014 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0434\u043d\u044f, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u041e\u0421 \u043d\u0430 \u043d\u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0438\u043b\u0438 \u0438\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0443\u0447\u043d\u0430\u044f \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430.<\/p>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d \u0447\u0435\u0440\u0435\u0437 \u0432\u044b\u0437\u043e\u0432 API: curl -s <a href=\"https:\/\/invapi.hostkey.com\/stocks.php?action=list&amp;location=NL&amp;group=ALL\"><u>https:\/\/invapi.hostkey.com\/stocks.php?action=list&amp;location=NL&amp;group=ALL<\/u><\/a><\/p>\n<p><strong>\u0412\u044b\u0432\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u0438\u043c:<\/strong><\/p>\n<pre><code class=\"json\">{ \"result\": \"OK\", \"action\": \"list\", \"servers\": [{ \"id\": 17324, \"name\": \"17324\", \"status\": \"sale\", \"hardware\": \"Xeon E5-1650 3.2GHz (6 cores)\\\/16Gb\\\/500Gb HDD\\\/IPMI\", \"location\": \"NL\", \"type\": \"Server\", \"cpu_count\": \"1\", \"gpu\": 0, \"price_EUR\": 45, \"price_RUR\": 4621, \"ipmi\": 1, \"cpu_perf\": 8152, \"cpu_perflink\": \"http:\\\/\\\/www.cpubenchmark.net\\\/cpu_lookup.php?cpu=Intel+Xeon+E5-1650+%40+3.20GHz&amp;id=1211\", \"tags\": \"ipmi\": { \"tag\": \"ipmi\", \"value\": \"supermicro\", \"extra\": \"\", \"component\": \"hardware\" } }, \"billing_plan\": { \"EUR\": { \"1\": 45, \"3\": 131, \"6\": 254, \"12\": 476 }, \"RUB\": { \"1\": 4621, \"3\": 13448, \"6\": 26063, \"12\": 48798 } } }] }  <\/code><\/pre>\n<p>\u041f\u0440\u0438 \u0437\u0430\u043a\u0430\u0437\u0435 \u0438\u0437 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0439 \u043f\u0435\u0440\u0438\u043e\u0434: <strong>\u043f\u0440\u0438 \u043e\u043f\u043b\u0430\u0442\u0435 \u0437\u0430 3 \u043c\u0435\u0441\u044f\u0446\u0430 \u043a\u043b\u0438\u0435\u043d\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0441\u043a\u0438\u0434\u043a\u0443 \u0432 3%, \u043f\u0440\u0438 \u043e\u043f\u043b\u0430\u0442\u0435 \u0437\u0430 6 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u2014 \u0432 6%, \u0437\u0430 12 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u2014 12%<\/strong>.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/96b\/fec\/60c\/96bfec60c14e97d119e86420e524193b.png\" width=\"1600\" height=\"1065\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/96b\/fec\/60c\/96bfec60c14e97d119e86420e524193b.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438 \u0437\u0430\u043a\u0430\u0437\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 API \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e curl):<\/p>\n<ol>\n<li>\n<p>\u0417\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443: curl -s &#171;<a href=\"https:\/\/invapi.hostkey.com\/stocks.php?action=show&amp;id=17324\"><u>https:\/\/invapi.hostkey.com\/stocks.php?action=show&amp;id=17324<\/u><\/a>&#187;\u00a0<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u041e\u0421: curl -s &#171;<a href=\"https:\/\/invapi.hostkey.com\/os.php?action=list&amp;id=17324\"><u>https:\/\/invapi.hostkey.com\/os.php?action=list&amp;id=17324<\/u><\/a>&#187;\u00a0<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"json\">{ \"result\": \"OK\", \"action\": \"list\", \"os_list\": [{ \"id\": 184, \"name\": \"AlmaLinux 8\", \"api_enabled\": 0, \"type_login\": 1, \"pxe_os_id\": null, \"active\": 1, \"description\": \" \", }, { \"id\": 112, \"name\": \"CentOS 7\", \"api_enabled\": 0, \"type_login\": 4, \"pxe_os_id\": 226, \"active\": 1, \"description\": \"null\",         }] }             <\/code><\/pre>\n<ol start=\"3\">\n<li>\n<p>\u00a0\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0442\u0430\u0440\u0438\u0444\u043d\u044b\u0445 \u043f\u043b\u0430\u043d\u043e\u0432: curl -s &#171;<a href=\"https:\/\/invapi.hostkey.com\/traffic_plans.php?action=list&amp;id=17324\"><u>https:\/\/invapi.hostkey.com\/traffic_plans.php?action=list&amp;id=17324<\/u><\/a>&#187;\u00a0<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"json\">{ \"result\": \"OK\", \"action\": \"list\", \"traffic_plans\": [{ \"id\": 12, \"name\": \"50Tb free (1Gbps)\", \"limit_in\": 999, \"limit_out\": 50, \"rate_in\": 0, \"rate_out\": 2, \"bandwidth\": 1000, \"locations\": \"NL,US,\", \"currency_id\": 0, \"active\": 1, \"web_plan\": 0, \"price\": 0, \"tags\": [{ \"id\": 12383, \"component_id\": 12, \"tag\": \"gpu\", \"value\": \"true\", \"extra\": \"\", \"internal\": 0 }, { \"id\": 80669, \"component_id\": 12, \"tag\": \"bm\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }] }, { \"id\": 33, \"name\": \"50Tb (1Gbps port) NL\", \"limit_in\": 999, \"limit_out\": 50, \"rate_in\": 0, \"rate_out\": 180, \"bandwidth\": 1000, \"locations\": \"NL,\", \"currency_id\": 1, \"active\": 1, \"web_plan\": 0, \"price\": 0, \"tags\": [{ \"id\": 12382, \"component_id\": 33, \"tag\": \"gpu\", \"value\": \"true\", \"extra\": \"\", \"internal\": 0 }, { \"id\": 11474, \"component_id\": 33, \"tag\": \"bm\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }] }, { \"id\": 14, \"name\": \"1Gbps unmetered\", \"limit_in\": 999, \"limit_out\": 999, \"rate_in\": 0, \"rate_out\": 0, \"bandwidth\": 1000, \"locations\": \"NL,\", \"currency_id\": 0, \"active\": 1, \"web_plan\": 0, \"price\": 140, \"tags\": [{ \"id\": 11450, \"component_id\": 14, \"tag\": \"bm\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }, { \"id\": 11451, \"component_id\": 14, \"tag\": \"unmetered\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }, { \"id\": 11462, \"component_id\": 14, \"tag\": \"gpu\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }], \"billing_plan\": { \"EUR\": { \"1\": 140, \"3\": 420, \"6\": 840, \"12\": 1680 } } }, { \"id\": 35, \"name\": \"1Gbps unlimited NL\", \"limit_in\": 999, \"limit_out\": 999, \"rate_in\": 0, \"rate_out\": 2, \"bandwidth\": 1000, \"locations\": \"NL,\", \"currency_id\": 1, \"active\": 1, \"web_plan\": 0, \"price\": 12600, \"tags\": [{ \"id\": 11468, \"component_id\": 35, \"tag\": \"bm\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }, { \"id\": 11469, \"component_id\": 35, \"tag\": \"unmetered\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }, { \"id\": 11470, \"component_id\": 35, \"tag\": \"gpu\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }], \"billing_plan\": { \"RUB\": { \"1\": 12600, \"3\": 37800, \"6\": 75600, \"12\": 151200 } } }] }<\/code><\/pre>\n<ol start=\"4\">\n<li>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0434\u0430\u0447, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u041e\u0421: curl -s curl &#171;<a href=\"https:\/\/invapi.hostkey.com\/jenkins.php?action=get_tasks\"><u>https:\/\/invapi.hostkey.com\/jenkins.php?action=get_tasks<\/u><\/a>&#171;<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"json\">{   \"result\": \"OK\",   \"tasks\": [     {       \"id\": -1,       \"task\": \"\",       \"desc\": \"Do nothing\",       \"tag\": \"\",       \"tags\": [         {           \"tag\": \"gpu\"         },         {           \"tag\": \"vgpu\"         },         {           \"tag\": \"vm\"         },         {           \"tag\": \"bm\"         }       ]     },     {       \"id\": 1,       \"task\": \"invapi_gpu_conf_iommu_patch_gpu_linux_auto.dsl\",       \"desc\": \"Install GPU drivers\",       \"tag\": \"gpu_driver\",       \"tags\": [         {           \"tag\": \"gpu\"         },         {           \"tag\": \"vgpu\"         },         {           \"tag\": \"default\"         }       ]     },     \u2026 }<\/code><\/pre>\n<ol start=\"5\">\n<li>\n<p>\u0421\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043a\u0430\u0437:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"bash\">curl -s 'https:\/\/invapi.hostkey.com\/eq.php' -X POST \\     -H 'Accept: application\/json' \\     --data 'token=\u201d\u0441\u0435\u0441\u0441\u0438\u043e\u043d\u043d\u044b\u0439_\u0442\u043e\u043a\u0435\u043d\u201d' \\     --data 'action=order_instance' \\     --data 'pin=\u0432\u0430\u0448_\u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0439_\u043f\u0438\u043d\u043a\u043e\u0434' \\     --data 'id=17324' \\ - \u043d\u043e\u043c\u0435\u0440 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430     --data 'deploy_period=monthly' \\ - \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0439 \u043f\u0435\u0440\u0438\u043e\u0434     --data 'disk_mirror=LVM_HBA' \\ - \u0442\u0438\u043f \u0440\u0430\u0437\u0431\u0438\u0432\u043a\u0438 \u0434\u0438\u0441\u043a\u043e\u0432     --data 'os_id=184' \\ - \u043d\u043e\u043c\u0435\u0440 \u043d\u0443\u0436\u043d\u043e\u0439 \u041e\u0421 \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0432\u044b\u0448\u0435     --data 'hostname=' \\ - \u0438\u043c\u044f \u0445\u043e\u0441\u0442\u0430     --data 'root_pass=9DZbK1p4_A' \\ - \u043f\u0430\u0440\u043e\u043b\u044c \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f     --data 'traffic_plan=12' \\ - \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0442\u0430\u0440\u0438\u0444\u043d\u044b\u0439 \u043f\u043b\u0430\u043d     --data 'ssh_key=' \\ - \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f     --data 'post_install_script=' \\ - \u0441\u043a\u0440\u0438\u043f\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0434\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u0440\u0438 \u0435\u0433\u043e \u043f\u0435\u0440\u0432\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435      --data 'post_install_callback=' \\ - URL \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u041e\u0421 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442 \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435     --data \u2018deploy_comment = \u2018\\ - \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0434\u043b\u044f \u0434\u0435\u0436\u0443\u0440\u043d\u044b\u0445, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/code><\/pre>\n<p>\u041e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 ID \u0437\u0430\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0435\u0433\u043e \u0441\u0442\u0430\u0442\u0443\u0441 \u0438 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 eq_calback. \u041d\u0430\u0448\u0430 \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u0446\u0435\u043d\u044b, \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u043d\u0443\u0436\u043d\u044b\u0435 \u0441\u043a\u0438\u0434\u043a\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u043a\u0440\u0435\u0434\u0438\u0442\u0430 \u043d\u0430 \u043b\u0438\u0446\u0435\u0432\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430.<\/p>\n<pre><code class=\"json\">{   \"result\": \"OK\",   \"action\": \"order_instance\",   \"callback\": \"2e43ea2bf9e10b961770d1ce69b226f6\",   \"deploy_status\": \"install\",   \"id\": 17324 }<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430: <a href=\"https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6\"><u>https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6<\/u><\/a> (\u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 eq_calback \u0432\u044b\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430).<\/p>\n<blockquote>\n<p>\u041f\u043e\u043a\u0430 \u0438\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c: {&#171;result&#187;:&#187;Not ready&#187;,&#187;key&#187;:&#187;<a href=\"https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6\"><u>2e43ea2bf9e10b961770d1ce69b226f6<\/u><\/a>&#171;}. <\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043a\u043b\u0438\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044b: {&#171;result&#187;:&#187;Stage&#187;, \u201cmessage\u201d:\u201d(1\/1: OS Installation started\u201d, &#171;key&#187;:&#187;<a href=\"https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6\"><u>2e43ea2bf9e10b961770d1ce69b226f6<\/u><\/a>&#171;}. <\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u0440\u0438\u0434\u0435\u0442 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442\u00a0 {&#171;result&#187;:&#187;OK&#187;, \u201cmessage\u201d:\u201dDeploy completed\u201d, &#171;key&#187;:&#187;<a href=\"https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6\"><u>2e43ea2bf9e10b961770d1ce69b226f6<\/u><\/a>&#171;} \u0438 \u0441 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<\/blockquote>\n<p>\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0435, \u0441\u043f\u0438\u0448\u0435\u0442 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0441 \u043b\u0438\u0446\u0435\u0432\u043e\u0433\u043e \u0441\u0447\u0435\u0442\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u0432\u044b\u0448\u043b\u0435\u0442 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443.<\/p>\n<p>***<\/p>\n<p><a href=\"https:\/\/hostkey.ru\/\"><em>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f HOSTKEY<\/em><\/a><em> \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0435\u0442 \u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0440\u0435\u0441\u0435\u043b\u043b\u0435\u0440\u043e\u0432 \u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u043e\u0432: \u043c\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 API \u0441\u043a\u0438\u0434\u043a\u0438 \u0434\u043e 20% \u043d\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u044b. \u0414\u043b\u044f \u043f\u043e\u043c\u043e\u0449\u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430\u043c \u0441 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0435\u0439 \u0435\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440, \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0432\u0441\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b. <\/em><a href=\"https:\/\/hostkey.ru\/about-us\/reseller-program\/\"><em>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435<\/em><\/a><em>.\u00a0<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/666298\/\"> https:\/\/habr.com\/ru\/articles\/666298\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>\u0417\u0430\u043a\u0430\u0437 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0438\u0437 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0447\u0435\u0440\u0435\u0437 API<\/h2>\n<p>\u0421\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u044b <a href=\"https:\/\/hostkey.ru\/\">HOSTKEY<\/a> \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c <a href=\"https:\/\/hostkey.ru\/dedicated-servers\/\">\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432<\/a> (\u0432\u043a\u043b\u044e\u0447\u0430\u044f <a href=\"https:\/\/hostkey.ru\/gpu-dedicated-servers\/\">\u043c\u0430\u0448\u0438\u043d\u044b \u0441 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 GPU<\/a>) \u043d\u0430 \u0432\u0441\u0435\u0445 \u043d\u0430\u0448\u0438\u0445 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430\u0445 \u0432 \u041c\u043e\u0441\u043a\u0432\u0435, \u0410\u043c\u0441\u0442\u0435\u0440\u0434\u0430\u043c\u0435 \u0438 \u041d\u044c\u044e-\u0419\u043e\u0440\u043a\u0435. \u0414\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 <a href=\"https:\/\/invapi.hostkey.com\">\u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435<\/a> \u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Stock Servers.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0441\u043f\u0438\u0441\u043a\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u044b \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 VDS, \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043e \u0446\u0435\u043d\u0430\u043c\/\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u043e \u0442\u0438\u043f\u0443. \u0412\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u0441 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c IPMI \u043e\u0431\u044b\u0447\u043d\u043e \u0441\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 15 \u043c\u0438\u043d\u0443\u0442 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043a\u0430\u0437\u0430, \u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u0431\u0435\u0437 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0441 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u2014 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0434\u043d\u044f, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u041e\u0421 \u043d\u0430 \u043d\u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0438\u043b\u0438 \u0438\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0443\u0447\u043d\u0430\u044f \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430.<\/p>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d \u0447\u0435\u0440\u0435\u0437 \u0432\u044b\u0437\u043e\u0432 API: curl -s <a href=\"https:\/\/invapi.hostkey.com\/stocks.php?action=list&amp;location=NL&amp;group=ALL\"><u>https:\/\/invapi.hostkey.com\/stocks.php?action=list&amp;location=NL&amp;group=ALL<\/u><\/a><\/p>\n<p><strong>\u0412\u044b\u0432\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u0438\u043c:<\/strong><\/p>\n<pre><code class=\"json\">{ \"result\": \"OK\", \"action\": \"list\", \"servers\": [{ \"id\": 17324, \"name\": \"17324\", \"status\": \"sale\", \"hardware\": \"Xeon E5-1650 3.2GHz (6 cores)\\\/16Gb\\\/500Gb HDD\\\/IPMI\", \"location\": \"NL\", \"type\": \"Server\", \"cpu_count\": \"1\", \"gpu\": 0, \"price_EUR\": 45, \"price_RUR\": 4621, \"ipmi\": 1, \"cpu_perf\": 8152, \"cpu_perflink\": \"http:\\\/\\\/www.cpubenchmark.net\\\/cpu_lookup.php?cpu=Intel+Xeon+E5-1650+%40+3.20GHz&amp;id=1211\", \"tags\": \"ipmi\": { \"tag\": \"ipmi\", \"value\": \"supermicro\", \"extra\": \"\", \"component\": \"hardware\" } }, \"billing_plan\": { \"EUR\": { \"1\": 45, \"3\": 131, \"6\": 254, \"12\": 476 }, \"RUB\": { \"1\": 4621, \"3\": 13448, \"6\": 26063, \"12\": 48798 } } }] }  <\/code><\/pre>\n<p>\u041f\u0440\u0438 \u0437\u0430\u043a\u0430\u0437\u0435 \u0438\u0437 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0439 \u043f\u0435\u0440\u0438\u043e\u0434: <strong>\u043f\u0440\u0438 \u043e\u043f\u043b\u0430\u0442\u0435 \u0437\u0430 3 \u043c\u0435\u0441\u044f\u0446\u0430 \u043a\u043b\u0438\u0435\u043d\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0441\u043a\u0438\u0434\u043a\u0443 \u0432 3%, \u043f\u0440\u0438 \u043e\u043f\u043b\u0430\u0442\u0435 \u0437\u0430 6 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u2014 \u0432 6%, \u0437\u0430 12 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u2014 12%<\/strong>.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438 \u0437\u0430\u043a\u0430\u0437\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 API \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e curl):<\/p>\n<ol>\n<li>\n<p>\u0417\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443: curl -s &#171;<a href=\"https:\/\/invapi.hostkey.com\/stocks.php?action=show&amp;id=17324\"><u>https:\/\/invapi.hostkey.com\/stocks.php?action=show&amp;id=17324<\/u><\/a>&#187;\u00a0<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u041e\u0421: curl -s &#171;<a href=\"https:\/\/invapi.hostkey.com\/os.php?action=list&amp;id=17324\"><u>https:\/\/invapi.hostkey.com\/os.php?action=list&amp;id=17324<\/u><\/a>&#187;\u00a0<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"json\">{ \"result\": \"OK\", \"action\": \"list\", \"os_list\": [{ \"id\": 184, \"name\": \"AlmaLinux 8\", \"api_enabled\": 0, \"type_login\": 1, \"pxe_os_id\": null, \"active\": 1, \"description\": \" \", }, { \"id\": 112, \"name\": \"CentOS 7\", \"api_enabled\": 0, \"type_login\": 4, \"pxe_os_id\": 226, \"active\": 1, \"description\": \"null\",         }] }             <\/code><\/pre>\n<ol start=\"3\">\n<li>\n<p>\u00a0\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0442\u0430\u0440\u0438\u0444\u043d\u044b\u0445 \u043f\u043b\u0430\u043d\u043e\u0432: curl -s &#171;<a href=\"https:\/\/invapi.hostkey.com\/traffic_plans.php?action=list&amp;id=17324\"><u>https:\/\/invapi.hostkey.com\/traffic_plans.php?action=list&amp;id=17324<\/u><\/a>&#187;\u00a0<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"json\">{ \"result\": \"OK\", \"action\": \"list\", \"traffic_plans\": [{ \"id\": 12, \"name\": \"50Tb free (1Gbps)\", \"limit_in\": 999, \"limit_out\": 50, \"rate_in\": 0, \"rate_out\": 2, \"bandwidth\": 1000, \"locations\": \"NL,US,\", \"currency_id\": 0, \"active\": 1, \"web_plan\": 0, \"price\": 0, \"tags\": [{ \"id\": 12383, \"component_id\": 12, \"tag\": \"gpu\", \"value\": \"true\", \"extra\": \"\", \"internal\": 0 }, { \"id\": 80669, \"component_id\": 12, \"tag\": \"bm\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }] }, { \"id\": 33, \"name\": \"50Tb (1Gbps port) NL\", \"limit_in\": 999, \"limit_out\": 50, \"rate_in\": 0, \"rate_out\": 180, \"bandwidth\": 1000, \"locations\": \"NL,\", \"currency_id\": 1, \"active\": 1, \"web_plan\": 0, \"price\": 0, \"tags\": [{ \"id\": 12382, \"component_id\": 33, \"tag\": \"gpu\", \"value\": \"true\", \"extra\": \"\", \"internal\": 0 }, { \"id\": 11474, \"component_id\": 33, \"tag\": \"bm\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }] }, { \"id\": 14, \"name\": \"1Gbps unmetered\", \"limit_in\": 999, \"limit_out\": 999, \"rate_in\": 0, \"rate_out\": 0, \"bandwidth\": 1000, \"locations\": \"NL,\", \"currency_id\": 0, \"active\": 1, \"web_plan\": 0, \"price\": 140, \"tags\": [{ \"id\": 11450, \"component_id\": 14, \"tag\": \"bm\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }, { \"id\": 11451, \"component_id\": 14, \"tag\": \"unmetered\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }, { \"id\": 11462, \"component_id\": 14, \"tag\": \"gpu\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }], \"billing_plan\": { \"EUR\": { \"1\": 140, \"3\": 420, \"6\": 840, \"12\": 1680 } } }, { \"id\": 35, \"name\": \"1Gbps unlimited NL\", \"limit_in\": 999, \"limit_out\": 999, \"rate_in\": 0, \"rate_out\": 2, \"bandwidth\": 1000, \"locations\": \"NL,\", \"currency_id\": 1, \"active\": 1, \"web_plan\": 0, \"price\": 12600, \"tags\": [{ \"id\": 11468, \"component_id\": 35, \"tag\": \"bm\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }, { \"id\": 11469, \"component_id\": 35, \"tag\": \"unmetered\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }, { \"id\": 11470, \"component_id\": 35, \"tag\": \"gpu\", \"value\": \"true\", \"extra\": \"\", \"internal\": 1 }], \"billing_plan\": { \"RUB\": { \"1\": 12600, \"3\": 37800, \"6\": 75600, \"12\": 151200 } } }] }<\/code><\/pre>\n<ol start=\"4\">\n<li>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0434\u0430\u0447, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u041e\u0421: curl -s curl &#171;<a href=\"https:\/\/invapi.hostkey.com\/jenkins.php?action=get_tasks\"><u>https:\/\/invapi.hostkey.com\/jenkins.php?action=get_tasks<\/u><\/a>&#171;<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"json\">{   \"result\": \"OK\",   \"tasks\": [     {       \"id\": -1,       \"task\": \"\",       \"desc\": \"Do nothing\",       \"tag\": \"\",       \"tags\": [         {           \"tag\": \"gpu\"         },         {           \"tag\": \"vgpu\"         },         {           \"tag\": \"vm\"         },         {           \"tag\": \"bm\"         }       ]     },     {       \"id\": 1,       \"task\": \"invapi_gpu_conf_iommu_patch_gpu_linux_auto.dsl\",       \"desc\": \"Install GPU drivers\",       \"tag\": \"gpu_driver\",       \"tags\": [         {           \"tag\": \"gpu\"         },         {           \"tag\": \"vgpu\"         },         {           \"tag\": \"default\"         }       ]     },     \u2026 }<\/code><\/pre>\n<ol start=\"5\">\n<li>\n<p>\u0421\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043a\u0430\u0437:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"bash\">curl -s 'https:\/\/invapi.hostkey.com\/eq.php' -X POST \\     -H 'Accept: application\/json' \\     --data 'token=\u201d\u0441\u0435\u0441\u0441\u0438\u043e\u043d\u043d\u044b\u0439_\u0442\u043e\u043a\u0435\u043d\u201d' \\     --data 'action=order_instance' \\     --data 'pin=\u0432\u0430\u0448_\u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0439_\u043f\u0438\u043d\u043a\u043e\u0434' \\     --data 'id=17324' \\ - \u043d\u043e\u043c\u0435\u0440 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430     --data 'deploy_period=monthly' \\ - \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0439 \u043f\u0435\u0440\u0438\u043e\u0434     --data 'disk_mirror=LVM_HBA' \\ - \u0442\u0438\u043f \u0440\u0430\u0437\u0431\u0438\u0432\u043a\u0438 \u0434\u0438\u0441\u043a\u043e\u0432     --data 'os_id=184' \\ - \u043d\u043e\u043c\u0435\u0440 \u043d\u0443\u0436\u043d\u043e\u0439 \u041e\u0421 \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0432\u044b\u0448\u0435     --data 'hostname=' \\ - \u0438\u043c\u044f \u0445\u043e\u0441\u0442\u0430     --data 'root_pass=9DZbK1p4_A' \\ - \u043f\u0430\u0440\u043e\u043b\u044c \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f     --data 'traffic_plan=12' \\ - \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0442\u0430\u0440\u0438\u0444\u043d\u044b\u0439 \u043f\u043b\u0430\u043d     --data 'ssh_key=' \\ - \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f     --data 'post_install_script=' \\ - \u0441\u043a\u0440\u0438\u043f\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0434\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u0440\u0438 \u0435\u0433\u043e \u043f\u0435\u0440\u0432\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435      --data 'post_install_callback=' \\ - URL \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u041e\u0421 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442 \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435     --data \u2018deploy_comment = \u2018\\ - \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0434\u043b\u044f \u0434\u0435\u0436\u0443\u0440\u043d\u044b\u0445, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/code><\/pre>\n<p>\u041e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 ID \u0437\u0430\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0435\u0433\u043e \u0441\u0442\u0430\u0442\u0443\u0441 \u0438 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 eq_calback. \u041d\u0430\u0448\u0430 \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u0446\u0435\u043d\u044b, \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u043d\u0443\u0436\u043d\u044b\u0435 \u0441\u043a\u0438\u0434\u043a\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u043a\u0440\u0435\u0434\u0438\u0442\u0430 \u043d\u0430 \u043b\u0438\u0446\u0435\u0432\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430.<\/p>\n<pre><code class=\"json\">{   \"result\": \"OK\",   \"action\": \"order_instance\",   \"callback\": \"2e43ea2bf9e10b961770d1ce69b226f6\",   \"deploy_status\": \"install\",   \"id\": 17324 }<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430: <a href=\"https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6\"><u>https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6<\/u><\/a> (\u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 eq_calback \u0432\u044b\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430).<\/p>\n<blockquote>\n<p>\u041f\u043e\u043a\u0430 \u0438\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c: {&#171;result&#187;:&#187;Not ready&#187;,&#187;key&#187;:&#187;<a href=\"https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6\"><u>2e43ea2bf9e10b961770d1ce69b226f6<\/u><\/a>&#171;}. <\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043a\u043b\u0438\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044b: {&#171;result&#187;:&#187;Stage&#187;, \u201cmessage\u201d:\u201d(1\/1: OS Installation started\u201d, &#171;key&#187;:&#187;<a href=\"https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6\"><u>2e43ea2bf9e10b961770d1ce69b226f6<\/u><\/a>&#171;}. <\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u0440\u0438\u0434\u0435\u0442 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442\u00a0 {&#171;result&#187;:&#187;OK&#187;, \u201cmessage\u201d:\u201dDeploy completed\u201d, &#171;key&#187;:&#187;<a href=\"https:\/\/invapi.hostkey.com\/eq_callback.php?key=2e43ea2bf9e10b961770d1ce69b226f6\"><u>2e43ea2bf9e10b961770d1ce69b226f6<\/u><\/a>&#171;} \u0438 \u0441 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<\/blockquote>\n<p>\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0435, \u0441\u043f\u0438\u0448\u0435\u0442 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0441 \u043b\u0438\u0446\u0435\u0432\u043e\u0433\u043e \u0441\u0447\u0435\u0442\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u0432\u044b\u0448\u043b\u0435\u0442 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443.<\/p>\n<p>***<\/p>\n<p><a href=\"https:\/\/hostkey.ru\/\"><em>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f HOSTKEY<\/em><\/a><em> \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0435\u0442 \u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0440\u0435\u0441\u0435\u043b\u043b\u0435\u0440\u043e\u0432 \u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u043e\u0432: \u043c\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 API \u0441\u043a\u0438\u0434\u043a\u0438 \u0434\u043e 20% \u043d\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u044b. \u0414\u043b\u044f \u043f\u043e\u043c\u043e\u0449\u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430\u043c \u0441 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0435\u0439 \u0435\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440, \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0432\u0441\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b. <\/em><a href=\"https:\/\/hostkey.ru\/about-us\/reseller-program\/\"><em>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435<\/em><\/a><em>.\u00a0<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/666298\/\"> https:\/\/habr.com\/ru\/articles\/666298\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-404592","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/404592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=404592"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/404592\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=404592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=404592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=404592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}