<?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: API to retrieve the model number of a physicals or maybe virtual CP FW in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-to-retrieve-the-model-number-of-a-physicals-or-maybe-virtual/m-p/178959#M7640</link>
    <description>&lt;P&gt;Use the management API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/#cli/get-platform~v1.9%20" target="_self"&gt;Management API Reference&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With the following command you can check the hardware and other information:&lt;/P&gt;
&lt;PRE class="code"&gt;mgmt_cli get-platform name "gw1"  --format json&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Here is a sample output:&lt;/P&gt;
&lt;PRE class="code"&gt;{
  "tasks" : [ {
    "task-name" : "get-platform",
    "task-id" : "01234567-89ab-1234-9e1f-0e1e68312345",
    "status" : "succeeded",
    "progress-percentage" : 100,
    "suppressed" : false,
    "task-details" : [ {
      "os-name" : "Gaia",
      "version" : "R81.10",
      "hardware" : "Open Server"
    } ]
  } ]
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2023 15:01:46 GMT</pubDate>
    <dc:creator>HeikoAnkenbrand</dc:creator>
    <dc:date>2023-04-24T15:01:46Z</dc:date>
    <item>
      <title>API to retrieve the model number of a physicals or maybe virtual CP FW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-to-retrieve-the-model-number-of-a-physicals-or-maybe-virtual/m-p/178951#M7639</link>
      <description>&lt;P&gt;Is there an API to retrieve the model number of a physical or maybe virtual CP FW?&lt;/P&gt;&lt;P&gt;CP R80 and above version&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 14:37:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-to-retrieve-the-model-number-of-a-physicals-or-maybe-virtual/m-p/178951#M7639</guid>
      <dc:creator>RamiShahar</dc:creator>
      <dc:date>2023-04-24T14:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: API to retrieve the model number of a physicals or maybe virtual CP FW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-to-retrieve-the-model-number-of-a-physicals-or-maybe-virtual/m-p/178959#M7640</link>
      <description>&lt;P&gt;Use the management API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/#cli/get-platform~v1.9%20" target="_self"&gt;Management API Reference&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With the following command you can check the hardware and other information:&lt;/P&gt;
&lt;PRE class="code"&gt;mgmt_cli get-platform name "gw1"  --format json&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Here is a sample output:&lt;/P&gt;
&lt;PRE class="code"&gt;{
  "tasks" : [ {
    "task-name" : "get-platform",
    "task-id" : "01234567-89ab-1234-9e1f-0e1e68312345",
    "status" : "succeeded",
    "progress-percentage" : 100,
    "suppressed" : false,
    "task-details" : [ {
      "os-name" : "Gaia",
      "version" : "R81.10",
      "hardware" : "Open Server"
    } ]
  } ]
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 15:01:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-to-retrieve-the-model-number-of-a-physicals-or-maybe-virtual/m-p/178959#M7640</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2023-04-24T15:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: API to retrieve the model number of a physicals or maybe virtual CP FW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-to-retrieve-the-model-number-of-a-physicals-or-maybe-virtual/m-p/178971#M7642</link>
      <description>&lt;P&gt;So it is only supported in API &lt;SPAN class=""&gt;V1.9 ?&lt;/SPAN&gt; The latest one? Is there another version below &lt;SPAN class=""&gt;to show&lt;/SPAN&gt; this info ?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 17:46:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-to-retrieve-the-model-number-of-a-physicals-or-maybe-virtual/m-p/178971#M7642</guid>
      <dc:creator>RamiShahar</dc:creator>
      <dc:date>2023-04-24T17:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: API to retrieve the model number of a physicals or maybe virtual CP FW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-to-retrieve-the-model-number-of-a-physicals-or-maybe-virtual/m-p/178988#M7644</link>
      <description>&lt;P&gt;Yes, that API endpoint was added to R81.20 (API v1.9).&lt;BR /&gt;It does not exist in previous versions.&lt;/P&gt;
&lt;P&gt;However, you can get the value configured in SmartConsole by checking the output of show-simple-gateway.&lt;BR /&gt;Otherwise, you can use run-script to probe the various gateways with CLI commands to determine the model/version.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 23:11:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-to-retrieve-the-model-number-of-a-physicals-or-maybe-virtual/m-p/178988#M7644</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-04-24T23:11:55Z</dc:date>
    </item>
  </channel>
</rss>

