<?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 Authorization CISCO API Software Suggestion in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/authorization-cisco-api-software-suggestion/m-p/4130975#M733</link>
    <description>&lt;P&gt;Hi Everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has gotten access to the Rest API to Software Suggestion:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.cisco.com/software/suggestion/v2/suggestions/software/productIds/{productIds" target="_blank" rel="noopener"&gt;https://api.cisco.com/software/suggestion/v2/suggestions/software/productIds/{productIds&lt;/A&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I dont know exactly what we must put on the authorization header (Basic Auth, Bearer token, Oath2 etc) and the documention is not very clear. Thanks for your help.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/docs/support-apis/#!software-suggestion/get-suggested-releases-and-images-by-product-ids" target="_blank" rel="noopener"&gt;https://developer.cisco.com/docs/support-apis/#!software-suggestion/get-suggested-releases-and-images-by-product-ids&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Aug 2020 18:55:49 GMT</pubDate>
    <dc:creator>andreslgx_101</dc:creator>
    <dc:date>2020-08-05T18:55:49Z</dc:date>
    <item>
      <title>Authorization CISCO API Software Suggestion</title>
      <link>https://community.cisco.com/t5/services-discussions/authorization-cisco-api-software-suggestion/m-p/4130975#M733</link>
      <description>&lt;P&gt;Hi Everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has gotten access to the Rest API to Software Suggestion:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.cisco.com/software/suggestion/v2/suggestions/software/productIds/{productIds" target="_blank" rel="noopener"&gt;https://api.cisco.com/software/suggestion/v2/suggestions/software/productIds/{productIds&lt;/A&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I dont know exactly what we must put on the authorization header (Basic Auth, Bearer token, Oath2 etc) and the documention is not very clear. Thanks for your help.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/docs/support-apis/#!software-suggestion/get-suggested-releases-and-images-by-product-ids" target="_blank" rel="noopener"&gt;https://developer.cisco.com/docs/support-apis/#!software-suggestion/get-suggested-releases-and-images-by-product-ids&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 18:55:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/authorization-cisco-api-software-suggestion/m-p/4130975#M733</guid>
      <dc:creator>andreslgx_101</dc:creator>
      <dc:date>2020-08-05T18:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization CISCO API Software Suggestion</title>
      <link>https://community.cisco.com/t5/services-discussions/authorization-cisco-api-software-suggestion/m-p/4136356#M736</link>
      <description>&lt;P&gt;It's OAuth2, the client credentials flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You've got to send your &lt;A href="https://apiconsole.cisco.com/" target="_blank"&gt;Cisco API Console&lt;/A&gt; client credentials in a POST to &lt;A href="https://cloudsso.cisco.com/as/token.oauth2" target="_blank" rel="noopener"&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/A&gt; with the following payload:&lt;/P&gt;&lt;PRE&gt;{"client_id": &amp;lt;client_id&amp;gt;, "client_secret": &amp;lt;secrtet&amp;gt;, "grant_type": "client_credentials"}&lt;/PRE&gt;&lt;P&gt;You'll receive a response like:&lt;/P&gt;&lt;PRE&gt; {"access_token": "i9BIwm6tTKXkAhmCtaVzbSK2J", "token_type": "Bearer'", "expires_in": 3599}&lt;/PRE&gt;&lt;P&gt;You only have to add the token to your requests headers:&lt;/P&gt;&lt;PRE&gt;{"Authorization": "Bearer i9BIwm6tTKXkAhmCtaVzbSK2J"}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Aug 2020 18:36:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/authorization-cisco-api-software-suggestion/m-p/4136356#M736</guid>
      <dc:creator>nunoandre</dc:creator>
      <dc:date>2020-08-15T18:36:37Z</dc:date>
    </item>
  </channel>
</rss>

