<?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: GET /discovery/{id}/network-device API arguments in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442301#M1785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand how it is displayed.&amp;nbsp; I think if you fill in SOME value and hit "Try it out" you'll see how the request is sent to the server in the developer console (Network tab).&amp;nbsp; That will show how you can make that call from scripts or Postman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2016 15:27:32 GMT</pubDate>
    <dc:creator>Joe Clarke</dc:creator>
    <dc:date>2016-11-03T15:27:32Z</dc:date>
    <item>
      <title>GET /discovery/{id}/network-device API arguments</title>
      <link>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442298#M1782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first attached image below shows the GET /discovery/{id}/network-device API. It is documented as taking an id, which is the id of the discovery job.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-11-03 at 15.09.38.png" class="image-1 jive-image" src="/legacyfs/online/fusion/102352_Screen Shot 2016-11-03 at 15.09.38.png" style="height: 334px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The second attached image below shows the argument fields for the API. That seems to imply that the API takes a taskId and a discovery id. That is probably so that one can see which devices were discovered for a given invocation of the discovery job. That is potentially quite useful, but it is not clear, from the documentation, how that would actually work. Specifically, where does the taskId go? It is not documented as appearing in the URL, and, as this is a GET, there is no body.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-11-03 at 15.10.44.png" class="jive-image image-2" src="/legacyfs/online/fusion/102353_Screen Shot 2016-11-03 at 15.10.44.png" style="height: 190px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Any ideas please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:33:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442298#M1782</guid>
      <dc:creator>Nathan Sowatskey</dc:creator>
      <dc:date>2019-03-01T12:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: GET /discovery/{id}/network-device API arguments</title>
      <link>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442299#M1783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not yet upgraded to 1.3, but typically these parameters are passed as query args to the URL.&amp;nbsp; If you open your browser's developer console and look at the network tab you should see exactly how the API is called.&amp;nbsp; taskId may be passed after the '?'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 14:23:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442299#M1783</guid>
      <dc:creator>Joe Clarke</dc:creator>
      <dc:date>2016-11-03T14:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: GET /discovery/{id}/network-device API arguments</title>
      <link>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442300#M1784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Joe. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is used in the form of a filter parameter then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea of using the developer tools in the browser is a good one. I have done that for other APIs. I suspect that this API form is being used, then, in web UI when one gets the devices for the results of a specific discovery invocation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 15:20:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442300#M1784</guid>
      <dc:creator>Nathan Sowatskey</dc:creator>
      <dc:date>2016-11-03T15:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: GET /discovery/{id}/network-device API arguments</title>
      <link>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442301#M1785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand how it is displayed.&amp;nbsp; I think if you fill in SOME value and hit "Try it out" you'll see how the request is sent to the server in the developer console (Network tab).&amp;nbsp; That will show how you can make that call from scripts or Postman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 15:27:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442301#M1785</guid>
      <dc:creator>Joe Clarke</dc:creator>
      <dc:date>2016-11-03T15:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: GET /discovery/{id}/network-device API arguments</title>
      <link>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442302#M1786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, the "Parameter Type" column tells you if it is a path or query parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 16:17:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/get-discovery-id-network-device-api-arguments/m-p/3442302#M1786</guid>
      <dc:creator>sairasan</dc:creator>
      <dc:date>2016-11-03T16:17:30Z</dc:date>
    </item>
  </channel>
</rss>

