Forum Discussion

vishal_sharma's avatar
vishal_sharma
Occasional Contributor
4 years ago

Integration APIs not working

I am trying to list all the APIs from my ORG published/unpublished on swagger hub to a bespoke dashboard. I am not able to see all the APIs.  This is the URL I am using, along with my API Key. http...
  • mhiggins's avatar
    mhiggins
    4 years ago

    You are 100% correct. Domains are not APIs. but if you look at your Organization via the My Hub page the count of "assets" is the sum of APIs plus Domains. So if your 126 count is taken from that page it high by 4 (the domains). 

     

    If the 126 is actually just APIs (use the built in filter below the search box for just APIs) then the GET call is not returning the correct count as you have already pointed out. 

     

    Could you also please try the GET for /specs and see what that returns.

     

    You can also open the support case and suggests. But I am very happy to keep trying to debug with you.  

     

    Pending questions from me:

    3) What Response do you receive to the GET /specs with limit=100 and no filters ?

    4) Are you using the API Key of the Organization owner or someone else ?

    5) In Organization Settings > Members, do you have "Allow Designers and Consumers to View all the Organizationā€™s Private APIs" enabled ?