<?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: Help on accessing HiveManager NG on premise API in Aerohive Migrated Content</title>
    <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65979#M2903</link>
    <description>&lt;P&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you so much for your reply. Yes, this is still an open topic for me.&lt;/P&gt;&lt;P&gt;I will look into this soon and give feedback here. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found this new post here:&lt;/P&gt;&lt;P&gt;https://thehivecommunity.aerohive.com/s/question/0D50c00005kwJoRCAU/are-the-instructions-on-the-aerohive-developer-site-for-setting-up-api-connections-the-same-for-both-cloud-and-on-prem-instances?language=en_US&lt;/P&gt;&lt;P&gt;Look for David's post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2019 21:05:18 GMT</pubDate>
    <dc:creator>wies_hays</dc:creator>
    <dc:date>2019-06-19T21:05:18Z</dc:date>
    <item>
      <title>Help on accessing HiveManager NG on premise API</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65975#M2899</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some help on accessing the HiveManager NG API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First I generated an access token for "client-id: myClient".... which is XXX_YYYmyClient&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I talk to the API now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;curl -v -X GET --noproxy&amp;nbsp;myhivemanger.my.domain -k -H 'X-AH-API-CLIENT-SECRET: XXX__YYYmyClient' -H 'X-AH-API-CLIENT-ID: myClient' -H 'X-AH-API-CLIENT-REDIRECT-URI: https://myhivemanager.my.domain' https://myhivemanager.my.domain/xapi/v1/monitor/devices&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it's returning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"data":null,"error":{"status":400,"code":"GatewayErrorCode.ACCESS_TOKEN_MISSING","message":"Calls must include Authorization header with a valid Bearer access token.","rawMessage":"moPLiqZNJB","errorParams":null,"validationErrors":null,"moreInfo":null}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 21:26:22 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65975#M2899</guid>
      <dc:creator>wies_hays</dc:creator>
      <dc:date>2019-04-01T21:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help on accessing HiveManager NG on premise API</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65976#M2900</link>
      <description>&lt;P&gt;owner_id maybe? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://thehivecommunity.aerohive.com/s/question/0D50c00005kwJoRCAU/are-the-instructions-on-the-aerohive-developer-site-for-setting-up-api-connections-the-same-for-both-cloud-and-on-prem-instances?language=en_US&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 22:46:25 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65976#M2900</guid>
      <dc:creator>weekdaysailor</dc:creator>
      <dc:date>2019-04-01T22:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help on accessing HiveManager NG on premise API</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65977#M2901</link>
      <description>&lt;P&gt;Do you mean&lt;/P&gt;&lt;P&gt;&lt;I&gt;curl -v -X GET --noproxy&amp;nbsp;myhivemanger.my.domain -k -H 'X-AH-API-CLIENT-SECRET: XXX__YYYmyClient' -H 'X-AH-API-CLIENT-ID: myClient' -H 'X-AH-API-CLIENT-REDIRECT-URI:&amp;nbsp;https://myhivemanager.my.domain'&amp;nbsp;https://myhivemanager.my.domain/xapi/v1/monitor/devices?ownerId=2  ?&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apart from the link above, which is no help if you don't know the cloud solution... where is the API documentation for the "on premise" Hivemanager NG?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 20:33:42 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65977#M2901</guid>
      <dc:creator>wies_hays</dc:creator>
      <dc:date>2019-04-03T20:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help on accessing HiveManager NG on premise API</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65978#M2902</link>
      <description>&lt;P&gt;Hi Armin.&lt;/P&gt;&lt;P&gt;I happened to find this post while looking for something else about the API. I think you're missing your Bearer token. I'm using Postman for my development, so pardon any missing pieces since I don't use curl much. Keith is right that you need the ownerID, too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you need an extra Authorization header like this:&lt;/P&gt;&lt;P&gt;-H 'Authorization: Bearer &amp;lt;your_token&amp;gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It took me a while to figure out where all of this was found, and a couple messages in the API support chat. The Bearer token is the secret that you generate within HiveManager by providing the Client ID from the API portal. The Client Secret and Client ID are both direct from the API portal. The redirect URL is up to you; we have it set to our HM's FQDN because we're not using OAuth. In Postman I'm sending four headers with each request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;(If you didn't already figure it out.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 10:12:27 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65978#M2902</guid>
      <dc:creator>aprice</dc:creator>
      <dc:date>2019-06-19T10:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help on accessing HiveManager NG on premise API</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65979#M2903</link>
      <description>&lt;P&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you so much for your reply. Yes, this is still an open topic for me.&lt;/P&gt;&lt;P&gt;I will look into this soon and give feedback here. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found this new post here:&lt;/P&gt;&lt;P&gt;https://thehivecommunity.aerohive.com/s/question/0D50c00005kwJoRCAU/are-the-instructions-on-the-aerohive-developer-site-for-setting-up-api-connections-the-same-for-both-cloud-and-on-prem-instances?language=en_US&lt;/P&gt;&lt;P&gt;Look for David's post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 21:05:18 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65979#M2903</guid>
      <dc:creator>wies_hays</dc:creator>
      <dc:date>2019-06-19T21:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help on accessing HiveManager NG on premise API</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65980#M2904</link>
      <description>&lt;P&gt;Good timing. That's a good answer from David.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 21:48:25 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-on-accessing-hivemanager-ng-on-premise-api/m-p/65980#M2904</guid>
      <dc:creator>aprice</dc:creator>
      <dc:date>2019-06-19T21:48:25Z</dc:date>
    </item>
  </channel>
</rss>

