I’m new to Tyk and currently experimenting with setting up a custom API dashboard that imports features from the TYK Dashboard.
I have been able to successfully write queries via node to query the Tyk Admin Dashboard API materials however I cannot figure out how to run a basic curl or axios request to try and get hold of all the apis currently visible in the Catalog (currently via the admin dashboard queries I can only return the full list of APIs which is not what I want to do - I only wish to return those that are enabled in the catalog)
Is there a way to do this? From what I can see you have to query the Policies to get a list of linked APIs to each policy.
Any help appreciated!
There isn’t a documented endpoint for this - the trick is to pull the catalogue confgiuration from:
"name": "Sample API (Global) Demo",
"short_description": "This is the global API Access Portal Entry",
"long_description": "This is some markdown *demo text*",
Note the version tag is really important and must be
v2 (and the
api_id field is deprecated)
Many thanks for that! I can now access it.
I’m super puzzled as to why this isn’t included in the docs??? I imagine it’s a common enough use case…