Is it possible to get curl command of a report//graph in analytics?

Not applicable

Hi,

I have created a custom report with many custom parameters, is it possible to get curl command of that report? Something like

curl https://api.enterprise.apigee.com/v1/o/{org}/environments/test/stats/apps?"select=sum(message_count)... -u abc:xxx

@bharath

0 5 619
5 REPLIES 5

Not applicable

Basically I am looking for URL corresponding to a report/graph.

Not applicable

@bharath.jhadey@snapdeal.com

Yes. Checkout this page for the curl commands. You can use management APIs get the custom report definition. Get the report name (UUID) by using

https://api.enterprise.apigee.com/v1/organizations/{org_name}/reports 

Then use this UUID to generate the report -

https://api.enterprise.apigee.com/v1/organizations/{org_name}/reports/{report_UUID} 

Nice Information @sudheendra1 but for some reason I don't see that working on my environment (On-premise).

/reports is working but /reports/uuid doesn't work for me .

Should I enable something to make it work or is that introduced recently ?

If I need something like that I just inspect element on browser and get the details from the API that UI makes .

I don't know when was this API introduced. I see this API in on-premise deployment, version 4.14.07.