Unable to get request_uri with management API through htp request => "Unable to resolve request request_uri", is it possible to do it ?

Not applicable

Hello,

I am calling

I'd to get the number of calls to a request_uri by a client_id in the end. It's kind of logs...

In custom reports you can do a report to get the number of calls to a request_uri by client_id but I try to get this data through API management.

I tried to start:

https://api.enterprise.apigee.com/v1/organizations/pmetton/environments/prod/stats/request_uri?selec...

but it does not work. It says "Unable to resolve request request_uri".

Does anyone have an idea of the problem ?

Solved Solved
0 7 261
1 ACCEPTED SOLUTION

Not applicable

I found the solution, thank you for your answers.

Here is the solution if it can help:

https://api.enterprise.apigee.com/v1/organizations/*******/environments/prod/stats/client_id?select=... like '/public%')

View solution in original post

7 REPLIES 7

Not applicable

Hi,

It doesn't look like management api call for getting analytics data. Are you sure about the call ?

Thanks,

Sanjoy

Not applicable

If I do

http://p****.apigee.net/gateway/v1/stats/apiproducts?apikey=**********&select=message_count&timeRang...

then I get the number of calls on each product. Maybe, it is because these dimensions are not possible to get through http request and are only availabe in custom reports

@maximemoulie , Are you on private cloud ? Which version ?

I am using version 160420. It is a normal APIGEE account The previous calls I mentioned were done through a proxy defined in this APIGEE but I get the same problem if I don't use the proxy.

I can edit these data in a custom report but I would to get them automatically through an app using Management API

Not applicable
@maximemoulie

Can you use select=sum(message_count) instead of select=message_count ?

Not applicable

I found the solution, thank you for your answers.

Here is the solution if it can help:

https://api.enterprise.apigee.com/v1/organizations/*******/environments/prod/stats/client_id?select=... like '/public%')

Awesome @maximemoulie , Thank you for sharing solution with community.