<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tip of the Day: Local R80.x API Documentation in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Tip-of-the-Day-Local-R80-x-API-Documentation/m-p/20157#M1248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(you also need to hit the Publish button&amp;nbsp;after clicking OK in this dialog and before calling api restart. but the GUI&amp;nbsp;will remind you&amp;nbsp;about those steps anyway)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/65199_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2018 05:26:20 GMT</pubDate>
    <dc:creator>Tomer_Sole</dc:creator>
    <dc:date>2018-05-01T05:26:20Z</dc:date>
    <item>
      <title>Tip of the Day: Local R80.x API Documentation</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Tip-of-the-Day-Local-R80-x-API-Documentation/m-p/20156#M1247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While we provide copies of the documentation for the &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html"&gt;R80.x Management APIs&lt;/A&gt; online, sometimes you don't have Internet access.&lt;/P&gt;&lt;P&gt;Or, like in the case of the R80.20 EA, we haven't published them publicly yet &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turns out, we make this available on the management server using via the following URL:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;A href="https://management-ip/api_docs"&gt;https://management-ip/api_docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This will give you the version of the API that is supported on your management specifically (versus the above link, which points to the latest).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this trick to work, the Web API must be accessible from your IP address.&lt;/P&gt;&lt;P&gt;Otherwise, you will get a 403 Forbidden message from Apache.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;API can be enabled from the CLI using something like:&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;mgmt_cli -r true --domain MDS set api-settings accepted-api-calls-from "All IP addresses"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;Or from SmartConsole:&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&lt;IMG __jive_id="65197" class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/65197_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;Then you will need to restart the API server from the CLI for the change to take effect.&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;api restart&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;See also:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/set-api-settings~v1.1" rel="nofollow" style="color: #6d6e71; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;"&gt;Check Point - Management API reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;And, of course, thanks to &lt;A href="https://community.checkpoint.com/migrated-users/6703"&gt;Tomer Sole&lt;/A&gt;‌ for sharing this tip with me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 05:06:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Tip-of-the-Day-Local-R80-x-API-Documentation/m-p/20156#M1247</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-05-01T05:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Tip of the Day: Local R80.x API Documentation</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Tip-of-the-Day-Local-R80-x-API-Documentation/m-p/20157#M1248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(you also need to hit the Publish button&amp;nbsp;after clicking OK in this dialog and before calling api restart. but the GUI&amp;nbsp;will remind you&amp;nbsp;about those steps anyway)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/65199_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 05:26:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Tip-of-the-Day-Local-R80-x-API-Documentation/m-p/20157#M1248</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-05-01T05:26:20Z</dc:date>
    </item>
  </channel>
</rss>

