api-umbrella icon indicating copy to clipboard operation
api-umbrella copied to clipboard

Access drill-down analytics via REST without cookie?

Open brylie opened this issue 8 years ago • 3 comments
trafficstars

Is it possible to access analytics from the drill-down API endpoints without an authentication cookie?

This came up at a recent meeting regarding integrating API Umbrella into the FIWARE ecosystem.

cc: @marla-singer

brylie avatar Jul 31 '17 07:07 brylie

@brylie, Whoops, sorry for the very belated response. Yes, I believe the drill-down API endpoint should be available without a cookie. It should be accessible by passing an API key and the X-Admin-Auth-Token HTTP header: https://api-umbrella.readthedocs.io/en/latest/admin/api.html But if you're seeing any requirements for cookies, let us know, and we can look into it.

GUI avatar Oct 13 '17 04:10 GUI

cc: @bajiat

brylie avatar Oct 13 '17 09:10 brylie

Besides drill-down API endpoint, other analytic endpoints (/admin/stats/logs, etc) are also not accessible without a cookie. The server returns { "error": "You need to sign in or sign up before continuing." }

onaralili avatar Nov 11 '20 18:11 onaralili