<?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 Comparing GET /network-device and GET /network-device/location in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/comparing-get-network-device-and-get-network-device-location/m-p/3487559#M1488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an observation, that could perhaps lead to better documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GET /network-device/location API is documented as returning a list of NetworkDeviceDTO. Note that it only returns something in the results if there actually are devices that have locations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GET /network-device does not have a documented return type. It looks like, in practice, the structure of what is returned is the same as that of the NetworkDeviceDTO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might, then, be appropriate to document that the GET /network-device returns a structure of type NetworkDeviceDTO.&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>Fri, 01 Mar 2019 12:30:12 GMT</pubDate>
    <dc:creator>Nathan Sowatskey</dc:creator>
    <dc:date>2019-03-01T12:30:12Z</dc:date>
    <item>
      <title>Comparing GET /network-device and GET /network-device/location</title>
      <link>https://community.cisco.com/t5/controllers/comparing-get-network-device-and-get-network-device-location/m-p/3487559#M1488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an observation, that could perhaps lead to better documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GET /network-device/location API is documented as returning a list of NetworkDeviceDTO. Note that it only returns something in the results if there actually are devices that have locations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GET /network-device does not have a documented return type. It looks like, in practice, the structure of what is returned is the same as that of the NetworkDeviceDTO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might, then, be appropriate to document that the GET /network-device returns a structure of type NetworkDeviceDTO.&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>Fri, 01 Mar 2019 12:30:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/comparing-get-network-device-and-get-network-device-location/m-p/3487559#M1488</guid>
      <dc:creator>Nathan Sowatskey</dc:creator>
      <dc:date>2019-03-01T12:30:12Z</dc:date>
    </item>
  </channel>
</rss>

