Imported Google Group message.
Date:Monday, 4 January 2016 13:38:40 UTC.
The portal is part of Tyk Analytics, which is a closed source code base. However we’d be more than happy to take recommendations, and it would be of great benefit to the community if you’ve got improved / modified portal templates that are better / personalised from ours. We can’t merge them into our distro, but users can certainly download and use them if they want an alternative skin (and we might borrow some ideas).
One way you could make this available to the community is to share your portal templates as a github repository so others can download and use them?
Regarding data access, the endpoint API that powers the data on the developer interface is restricted to a specific key (not an aggregate), however it can handle all of the parameters that the dashboard data APIs can.
The analytics API is not documented, but you can quite easily see how it works by watching what the dashboard GUI is doing on the network console, it’s pretty formulaic, the endpoint is:
This will not group data though, all the grouping actions (e.g. get error breakdown or endpoint activity grouped and processed) is not built into the endpoint, it would need a new endpoint to be added or the existing one to be extended.
The data caller that handles the charts in the current templates also does some sorting and data wrangling client-side (not the cleanest), so there may be work needed there too.
I love the idea, and happy to help where we can.