Author: @Brett Barrett
Product Dev - We have already discussed some of the new features in the
12.4 APIs, but I want to bring to attention the tool I created to make
using the REST interface much simpler to use.
Here is a screenshot of my new tool:
And the Target version with the capabilities of exporting the query as JSON:
The newest version of it can be accessed at: https://github.com/barrebre/RESTfulDC
Currently, to navigate the REST api, you have to run commands such as:
Then, move to getData views
Then, move to getResolutions
Then, move to getDimensions
Then, move to getMetrics
This is a very iterative and cumbersome process which can deter users
from actually using the REST interface. My hope is that this tool will
make retrieving the query URL simple for any end user.
All feedback is appreciated and feel free to fork the repository and make your own enhancements and upgrades
This is an awesome tool. In fact just about couple of days ago when I started to look at the DMI Webservices guide, I was clueless about how should I create my REST queries to retrieve data out of CAS, and this came to my rescue.
Just wondering if you can make a change to reflect the json post body equivalent of the URL portion, I am sure at some point we will run out of the URL length limit on the request, since I need to request lots of attributes.
Another comment: Could this maybe be moved to the same place as this? Or something similar as to the plugins in AppMon?
This tool is so powerful that I have some customers which asked for more.
Should it be possible to call an existing DMI report instead of selecting dimension and metrics to recreate it using REST interface ?
Sorry for the delayed response, somehow I wasn't following this thread!
Hmm, that's a possibility I hadn't considered. It would have to be done based on a section of a DMI instead of the whole report. I can investigate the viability of this feature. Feel free to reach out me by email if you have any questions.