<?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: Services API access is revoked in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042690#M670</link>
    <description>Hi Vanura,&lt;BR /&gt;How do I know you are a CISCO employee?&lt;BR /&gt;The script uses a config file which calls the Automated Software Distribution API multiple times. First thing it does is get the Access / EULA / Software Suggestion Tokens.&lt;BR /&gt;Which of the requests do you want to see?&lt;BR /&gt;&lt;BR /&gt;* Token Access&lt;BR /&gt;* Metatdata&lt;BR /&gt;* Download the URL's for the file.&lt;BR /&gt;* The URLS that downloads the file.&lt;BR /&gt;Regards,&lt;BR /&gt;Simon</description>
    <pubDate>Mon, 09 Mar 2020 11:07:44 GMT</pubDate>
    <dc:creator>sbas0013C</dc:creator>
    <dc:date>2020-03-09T11:07:44Z</dc:date>
    <item>
      <title>Services API access is revoked</title>
      <link>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4041582#M668</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently trying to retrieve information from Cisco CCW-R's REST API as described on devnet, using the APIs on the developer portal. I keep getting responses that my application's access to the API has been revoked. Is there a special procedure to have the privileges to access CCW-R or any other solution to get the API working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 09:46:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4041582#M668</guid>
      <dc:creator>VinuraDhananjaya</dc:creator>
      <dc:date>2020-03-06T09:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Services API access is revoked</title>
      <link>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042671#M669</link>
      <description>&lt;P&gt;Hi Vinura,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you supply the following for me to take a look:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;the HTTP request your sending&lt;/LI&gt;&lt;LI&gt;the HTTP response your receiving&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 10:21:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042671#M669</guid>
      <dc:creator>LanDownUnda</dc:creator>
      <dc:date>2020-03-09T10:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Services API access is revoked</title>
      <link>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042690#M670</link>
      <description>Hi Vanura,&lt;BR /&gt;How do I know you are a CISCO employee?&lt;BR /&gt;The script uses a config file which calls the Automated Software Distribution API multiple times. First thing it does is get the Access / EULA / Software Suggestion Tokens.&lt;BR /&gt;Which of the requests do you want to see?&lt;BR /&gt;&lt;BR /&gt;* Token Access&lt;BR /&gt;* Metatdata&lt;BR /&gt;* Download the URL's for the file.&lt;BR /&gt;* The URLS that downloads the file.&lt;BR /&gt;Regards,&lt;BR /&gt;Simon</description>
      <pubDate>Mon, 09 Mar 2020 11:07:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042690#M670</guid>
      <dc:creator>sbas0013C</dc:creator>
      <dc:date>2020-03-09T11:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Services API access is revoked</title>
      <link>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042718#M671</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;For the instance I am sending a GET request (&lt;SPAN&gt; &lt;A href="https://apx.cisco.com/cs/api/v1/inventory/hardware" target="_blank"&gt;https://apx.cisco.com/cs/api/v1/inventory/hardware&lt;/A&gt;) with a token obtained from cloudsso.cisco.com/as/token.oauth2 ... URL, I am receiving a 403 (forbidden) error. I think the problem is here, where I get messages as below whenever I try to re-register or register a new API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this normal that should I wait? or is there any other solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Vinura&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="issue1.png" style="width: 916px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/68765i148C976E2AA9416E/image-size/large?v=v2&amp;amp;px=999" role="button" title="issue1.png" alt="issue1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="issue2.png" style="width: 950px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/68766i7BC26BD3070818EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="issue2.png" alt="issue2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 12:08:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042718#M671</guid>
      <dc:creator>VinuraDhananjaya</dc:creator>
      <dc:date>2020-03-09T12:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Services API access is revoked</title>
      <link>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042719#M672</link>
      <description>Actually there should be another image which comes between above two, saying that access to the API has been revoked. (Similar in format to the first one). Sorry for the inconvenience that I could not add that one. My mistake!</description>
      <pubDate>Mon, 09 Mar 2020 12:11:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042719#M672</guid>
      <dc:creator>VinuraDhananjaya</dc:creator>
      <dc:date>2020-03-09T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Services API access is revoked</title>
      <link>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042722#M673</link>
      <description>Hi,&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;I currently work in a firm which is a Cisco partner and has full access to CCW-R platform.&lt;BR /&gt;The current problem I face is that I get a 403 response for a valid token I use. (As an example for a GET request I send to the API). I think it's due to the reason that my application which I registered at the developer portal is continuously getting revoked from the access to the APIs that I intend to use. (eg:- csapi-customer). I want to know is there any solution to that? Or should I wait until I get the access to the APIs (as per the messages I receive it is said that I will receive permission once the API owners grant me permission)&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Vinura</description>
      <pubDate>Mon, 09 Mar 2020 12:21:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042722#M673</guid>
      <dc:creator>VinuraDhananjaya</dc:creator>
      <dc:date>2020-03-09T12:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Services API access is revoked</title>
      <link>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042792#M674</link>
      <description>Hi Vinura,&lt;BR /&gt;I'm not the chap to ask really. You would have to make sure the contracts are in place for the devices you are using. In bash:-&lt;BR /&gt;TOKURL="&lt;A href="https://cloudsso.cisco.com/as/token.oauth2" target="_blank"&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/A&gt;"&lt;BR /&gt;( curl -s -k -H "Content-Type: application/x-www-form-urlencoded" -X POST -d "client_id=${ASDCID}" -d "client_secret=${ASDCSC}" -d "grant_type=client_credentials" ${TOKURL} ) 2&amp;gt;&amp;amp;1 &amp;gt; $TOKENFN&lt;BR /&gt;The last of the 4 variables ${TOKENFN} is the File Name which will contain the response from CISCO.&lt;BR /&gt;TOKEN=`cat $TOKENFN | awk -F\" '{print $4}'` # Extract the Actual Token.&lt;BR /&gt;Variables:- ${ASDCID} &amp;amp; {ASDCSC} Are copied from the API Registraton.&lt;BR /&gt;Look for 'access_token' in the response. NOTE the Token will last only 60 minutes, so if like my then script takes hours you need to refresh it.&lt;BR /&gt;Sorry I can't help you more.&lt;BR /&gt;Regards,&lt;BR /&gt;Simon&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Mar 2020 14:03:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/services-api-access-is-revoked/m-p/4042792#M674</guid>
      <dc:creator>sbas0013C</dc:creator>
      <dc:date>2020-03-09T14:03:44Z</dc:date>
    </item>
  </channel>
</rss>

