{"id":177,"date":"2012-10-18T03:24:00","date_gmt":"2012-10-18T03:24:00","guid":{"rendered":""},"modified":"2021-03-17T02:36:46","modified_gmt":"2021-03-17T02:36:46","slug":"highcharts-for-nagios-en","status":"publish","type":"post","link":"https:\/\/www.shaopin.link\/wordpress\/index.php\/highcharts-for-nagios-en\/","title":{"rendered":"Highcharts for Nagios (en)"},"content":{"rendered":"<p><\/p>\n<h1 style=\"background-color: white; border-bottom-style: solid; border-bottom-width: 1px; border-color: rgb(204, 204, 204); clear: left; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 23px; font-weight: normal; line-height: 19px; margin: 0px 0px 1em; padding: 0.5em 0px 0px; text-align: justify;\">Highcharts4 Nagios Update<\/h1>\n<p><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\"><b>Ver 1.24<\/b>&nbsp;&#8212; Update 2013.05.14&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">*&nbsp;<\/span><span style=\"font-family: Verdana, Tahoma, sans-serif;\"><span style=\"font-size: 12px; line-height: 20px;\">Interface update<\/span><\/span><br \/><span style=\"font-family: Verdana, Tahoma, sans-serif;\"><span style=\"font-size: 12px; line-height: 20px;\"><br \/><\/span><\/span><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\"><b>Ver 1.21<\/b> &#8212; Update 2012.11.01&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">*Add custom time range select.&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">*Add different domain support.&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">*All in one.&nbsp;<\/span><\/p>\n<h1 style=\"background-color: white; border-bottom-style: solid; border-bottom-width: 1px; border-color: rgb(204, 204, 204); clear: left; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 23px; font-weight: normal; line-height: 19px; margin: 0px 0px 1em; padding: 0.5em 0px 0px; text-align: justify;\">Install Notes<\/h1>\n<p><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">1.You must installed&nbsp;<\/span><a href=\"http:\/\/sourceforge.net\/projects\/pnp4nagios\/\" style=\"background-color: white; color: #f99e0f; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">pnp4nagios<\/a><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">&nbsp;above 0.6.x, NOT work with 0.4.x&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">2.Download highcharts4nagios.rar, unrar to ex:\/usr\/local\/<\/span><b style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">highcharts<\/b><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">\/&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">3.Modify httpd.conf.&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">4.Add Nagios service config with action_url or notes_url to ex:&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">notes_url \/<\/span><b style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">highcharts<\/b><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">\/highcharts.html?host=$HOSTNAME$&amp;srv=$SERVICEDESC$&nbsp;<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">4.Restart httpd and nagios.<\/span><br \/><span style=\"font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\">&nbsp; (Below this line &#8230;. is optional, Not necessary !)&nbsp;<\/span><br \/><span style=\"font-family: Verdana, Tahoma, sans-serif;\"><span style=\"font-size: 12px; line-height: 20px;\">5.If&nbsp;&nbsp;highcharts-IP &amp; pnp4nagios-IPchange not in the same server,&nbsp;<\/span><\/span><br \/><span style=\"font-family: Verdana, Tahoma, sans-serif;\"><span style=\"font-size: 12px; line-height: 20px;\">&nbsp; &nbsp;change &nbsp;<\/span><\/span><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 16.796875px;\">highcharts.html<\/span><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 16.796875px;\"><b>&nbsp;&nbsp;<\/b><\/span><span style=\"font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 20px;\"><b><span style=\"color: blue;\">LocHost=&#8217;Your pnp4nagios IP&#8217;<\/span><\/b>&nbsp;<\/span><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 16.796875px;\">values<\/span><br \/><span style=\"background-color: white; font-family: Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 16.796875px;\">6.<\/span><span style=\"font-family: Verdana, Tahoma, sans-serif;\"><span style=\"font-size: 12px; line-height: 16.796875px;\">If client in different Domain, you need edit&nbsp;<\/span><\/span><br \/><span style=\"font-family: Verdana, Tahoma, sans-serif;\"><span style=\"font-size: 12px; line-height: 16.796875px;\">&nbsp; &nbsp;pnp4nagios\/share\/application\/controllers\/xport.php&nbsp;<\/span><\/span><br \/><span style=\"font-family: Verdana, Tahoma, sans-serif;\"><span style=\"font-size: 12px; line-height: 16.796875px;\">&nbsp; &nbsp;add bellow line &#8230;<\/span><\/span><br \/><span style=\"font-family: Verdana, Tahoma, sans-serif;\"><span style=\"font-size: 12px; line-height: 16.796875px;\"><b>header(&#8220;Access-Control-Allow-Origin: *&#8221;);<\/b> &nbsp;\/\/Allowed *(your IP) Access-Control-Allow-Origin<\/span><\/span><br \/><span style=\"font-family: Verdana, Tahoma, sans-serif;\"><span style=\"font-size: 12px; line-height: 16.796875px;\">7.If&nbsp;<\/span><span style=\"font-size: 12px; line-height: 16.796875px;\">you are ruining&nbsp;<\/span><\/span><span style=\"background-color: white; font-family: Verdana, sans-serif; font-size: 9pt;\">Apache with SSL<\/span><span style=\"font-family: Verdana, sans-serif; font-size: 9pt;\">&nbsp;(https),&nbsp;<\/span><span style=\"background-color: white; font-family: Verdana, sans-serif; font-size: 9pt;\">modify line 150 of highcharts.html from<span style=\"color: blue;\"><b> http to https<\/b><\/span> and you can see the graph.<\/span><br \/><span style=\"background-color: white; font-family: Verdana, sans-serif; font-size: 9pt;\"><br \/><\/span><\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/www.shaopin.link\/wordpress\/wp-content\/uploads\/2012\/10\/hct1-1.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" src=\"https:\/\/www.shaopin.link\/wordpress\/wp-content\/uploads\/2012\/10\/hct1-1.png\" height=\"178\" width=\"320\" \/><\/a><\/div>\n<p><span style=\"background-color: white; font-family: Verdana, sans-serif; font-size: 9pt;\"><br \/><\/span><\/p>\n<div><span lang=\"EN-US\" style=\"color: #1f497d; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;\"><o:p><\/o:p><\/span><\/div>\n<p><span lang=\"EN-US\" style=\"color: #1f497d; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &quot;Times New Roman&quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: \u65b0\u7d30\u660e\u9ad4; mso-fareast-language: ZH-TW;\"><\/span><\/p>\n<h1 style=\"background-color: white; border-bottom-style: solid; border-bottom-width: 1px; border-color: rgb(204, 204, 204); clear: left; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 23px; font-weight: normal; line-height: 19px; margin: 0px 0px 1em; padding: 0.5em 0px 0px; text-align: justify;\">Timeranges<\/h1>\n<div style=\"margin: 0px 0px 0px 3px; padding: 0px;\">\n<div style=\"background-color: white; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 1em; padding: 0px;\">Additionally you can influence the timeranges via the&nbsp;<acronym style=\"border-bottom-color: rgb(51, 51, 51); border-bottom-style: dotted; border-bottom-width: 1px; cursor: help; margin: 0px; padding: 0px;\" title=\"Uniform Resource Locator\">URL<\/acronym>. This can be useful to automatically create&nbsp;<acronym style=\"border-bottom-color: rgb(51, 51, 51); border-bottom-style: dotted; border-bottom-width: 1px; cursor: help; margin: 0px; padding: 0px;\" title=\"Portable Document Format\">PDF<\/acronym>&nbsp;documents. The ranges can be defined using the options \u201cstart\u201d and \u201cend\u201d.<\/div>\n<div style=\"background-color: white; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 1em; padding: 0px;\">Example:<\/div>\n<pre style=\"background-color: #f7f9fa; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(204, 204, 204) rgb(255, 140, 0); border-style: dashed dashed dashed solid; border-width: 1px 1px 1px 3px; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 19px; margin-bottom: 1em; overflow: auto; padding: 0.5em; width: auto !important;\"> highcharts\/graph?host=<hostname>&amp;srv=<servicedesc>&amp;start=-1week<\/servicedesc><\/hostname><\/pre>\n<div style=\"background-color: white; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 1em; padding: 0px;\">The graph will start one week prior to the current date and time. It will end at the current timestamp.<\/div>\n<table  class=\" table table-hover\" style=\"background-color: white; border-collapse: collapse; border-spacing: 0px; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin: 0px 0px 1em; padding: 0px;\">\n<tbody style=\"margin: 0px; padding: 0px;\">\n<tr style=\"margin: 0px; padding: 0px;\">\n<th style=\"background-color: #dee7ec; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">start<\/th>\n<th style=\"background-color: #dee7ec; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">end<\/th>\n<th style=\"background-color: #dee7ec; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">view<\/th>\n<th style=\"background-color: #dee7ec; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">result<\/th>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">all views ending at current timestamp<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">x<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">all views starting at defined date<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">x<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">all views ending at defined date<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">x<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">x<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">one view between the two dates<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">x<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">one view ending at current timestamp<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">x<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">x<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">one view starting at defined date<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\"><\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">x<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">x<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">one view ending at defined date<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style=\"background-color: white; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 1em; padding: 0px;\">Examples of different specifications<\/div>\n<table  class=\" table table-hover\" style=\"background-color: white; border-collapse: collapse; border-spacing: 0px; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin: 0px 0px 1em; padding: 0px;\">\n<tbody style=\"margin: 0px; padding: 0px;\">\n<tr style=\"margin: 0px; padding: 0px;\">\n<th style=\"background-color: #dee7ec; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px; text-align: center;\">format<\/th>\n<th style=\"background-color: #dee7ec; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">description<\/th>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">2009W04<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">4. week of 2009<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">1.5.2009<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">May, 1st 2009<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">-1 day<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">one day back<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">-3 weeks<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">3 weeks back<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">-1 year<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">one year back<\/td>\n<\/tr>\n<tr style=\"margin: 0px; padding: 0px;\">\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">yesterday<\/td>\n<td style=\"border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 3px;\">yesterday<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1 style=\"background-color: white; border-bottom-style: solid; border-bottom-width: 1px; border-color: rgb(204, 204, 204); clear: left; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 23px; font-weight: normal; line-height: 19px; margin: 0px 0px 1em; padding: 0.5em 0px 0px;\">Customize<\/h1>\n<p><b>Highcharts theme:<\/b><br \/>1.Highcharts line color:<br \/>&nbsp; &nbsp;Edit js\/themes\/gray.js or dark-blue.js, dark-green.js, grid.js.<br \/>2.Highcharts theme:<br \/>&nbsp; &nbsp;Edit highcharts.html, find gray.js change to {dark-blue.js or dark-green.js or grid.js or skies.js}<br \/>3.Theme line color:<br \/>&nbsp; &nbsp;Modify the js\/themes\/gray.js the first colors: # 9172EC &#8220;, &#8230;&#8230;&#8230;. or with your favorite color<br \/><b>Calendar theme:<\/b><br \/>1.Calendar LANG:<br \/>&nbsp; &nbsp;Edit highcharts.html, find en.js change to {cn.js(Tradition Chinese), ca.js, cn.js, cz.js, de.js, en.js, es.js, fr.js, hr.js, it.js, jp.js, nl.js, pl.js, pt.js, ro.js, ru.js, sk.js, sv.js}<br \/>2.Calendar theme:<br \/>&nbsp; &nbsp;Edit highcharts.html, find gold.css change to {steel.css, matrix.css, win2k.css, gold.css, steel.css}<\/p>\n<h1 style=\"border-bottom-style: solid; border-bottom-width: 1px; border-color: rgb(204, 204, 204); clear: left; margin: 0px 0px 1em; padding: 0.5em 0px 0px;\">\n<div style=\"background-color: white; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 23px; font-weight: normal; line-height: 19px;\"><\/div>\n<\/h1>\n<div style=\"background-color: white; color: #333333; font-family: Verdana, 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19px; margin: 0px 0px 0px 3px; padding: 0px;\">\n<div style=\"margin-bottom: 1em; padding: 0px;\"><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Highcharts4 Nagios U &hellip; <a href=\"https:\/\/www.shaopin.link\/wordpress\/index.php\/highcharts-for-nagios-en\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Highcharts for Nagios (en)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":247,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[],"class_list":["post-177","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nagios"],"_links":{"self":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":1,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/177\/revisions"}],"predecessor-version":[{"id":248,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/177\/revisions\/248"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/media\/247"}],"wp:attachment":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}