<?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: REST API returns partial config? in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/rest-api-returns-partial-config/m-p/3586504#M2129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome thanks!&amp;nbsp; Knew there must be a way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Feb 2018 01:49:49 GMT</pubDate>
    <dc:creator>Sean Chandler</dc:creator>
    <dc:date>2018-02-03T01:49:49Z</dc:date>
    <item>
      <title>REST API returns partial config?</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/rest-api-returns-partial-config/m-p/3586502#M2127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A call like the following does not drill down into the entire config of the device:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -u nsouser:nsouser &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://127.0.0.1:8080/api/config/devices/device/ucsm011/config/org/service-profile/" rel="nofollow" target="_blank"&gt;http://127.0.0.1:8080/api/config/devices/device/ucsm011/config/org/service-profile/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;service-profile&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do something like this in order to get more detail:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -s -u nsouser:nsouser -H "Accept: application/vnd.yang.collection+json" &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://127.0.0.1:8080/api/config/devices/device/ucsm011/config/org/service-profile/" rel="nofollow" target="_blank"&gt;http://127.0.0.1:8080/api/config/devices/device/ucsm011/config/org/service-profile/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;service-profile&amp;gt;/vnic&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to return the entire config as opposed to just the top level and forcing me to fetch each collection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:05:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/rest-api-returns-partial-config/m-p/3586502#M2127</guid>
      <dc:creator>Sean Chandler</dc:creator>
      <dc:date>2019-03-01T12:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: REST API returns partial config?</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/rest-api-returns-partial-config/m-p/3586503#M2128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Yes, add ?deep to the URL, e.g. curl -u nsouser:nsouser &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://127.0.0.1:8080/api/config/devices/device/ucsm011/config/org/service-profile/" rel="nofollow" target="_blank"&gt;http://127.0.0.1:8080/api/config/devices/device/ucsm011/config/org/service-profile/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;service-profile&amp;gt;?deep&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You may have to escape the ?, i.e. curl -u nsouser:nsouser &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://127.0.0.1:8080/api/config/devices/device/ucsm011/config/org/service-profile/" rel="nofollow" target="_blank"&gt;http://127.0.0.1:8080/api/config/devices/device/ucsm011/config/org/service-profile/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;service-profile&amp;gt;\?deep&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 22:45:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/rest-api-returns-partial-config/m-p/3586503#M2128</guid>
      <dc:creator>frjansso</dc:creator>
      <dc:date>2018-02-02T22:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: REST API returns partial config?</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/rest-api-returns-partial-config/m-p/3586504#M2129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome thanks!&amp;nbsp; Knew there must be a way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2018 01:49:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/rest-api-returns-partial-config/m-p/3586504#M2129</guid>
      <dc:creator>Sean Chandler</dc:creator>
      <dc:date>2018-02-03T01:49:49Z</dc:date>
    </item>
  </channel>
</rss>

