Management API - Get total traffic in a timeseries(beta) - unable to filter results by developer app

Former Community Member
Not applicable

Refering to this doc:

https://apidocs.apigee.com/security-reports-management-api/apis/get/overview/traffic/total-1

Using this API without optional parameter works fine. Adding filters.proxy is also delivering the expected reply.

But I cannot figure out how to filter by developer app (filters.devapp). I've put several app (names) in, but I always get an empty series back. Tried also with app id, but still an empty record as response.

Anyone an idea what to use there or someone an information, that this filter can only be applied in combination with other parameters like proxy or region ?

I've seen another post from February refering to a simular problem using the management api to count calls by Developer App - it belongs to another management API endpoint (metric?) but it seems still to be an open fix. Perhaps the problem in the backend has made it to this new beta API.

0 2 204
2 REPLIES 2

Former Community Member
Not applicable

Figured it out after several tries: the query parameter filters.devapp needs to have the structure

appname(some-unknown-id)

e.g. MyNewGame(cf0244f2-fac8-12a0-8fc1-230378553349)

This way you receive a valid time series back as Json.

To figure out how the corresponding id looks like, I looked up in Edge under

Analyze - Security Reporting - Runtime

On the right side you see all Developer Apps using your proxy with this strange ID-String that must be used as query parameter for filters.devapp.

Former Community Member
Not applicable

https://apidocs.apigee.com/security-reports-management-api/apis/get/overview/traffic/total-1

Finally I've been able to identify the missing part:

The query parameter filters.devapp needs to have following structure:

APPNAME(DEVELOPERID) -

The developerID can be found by https://api.enterprise.apigee.com/v1/organizations/my-org/apps?expand=true

Would be great if Google would update that document, because the description for that parameter "Developer app to filter results by." was not sufficient - at least not for me.