Discovery service cannot find Google Analytics reporting service

67 views
Skip to first unread message

Eric Huang

unread,
May 2, 2016, 7:07:45 PM5/2/16
to Google APIs Discovery Service Users
I can see the analyticsreporting/v4 in the list API, but I cannot get it in the REST API


https://www.googleapis.com/discovery/v1/apis/analytics/v3/rest
This works

But
https://www.googleapis.com/discovery/v1/apis/analyticsreporting/v4/rest
This doesn't work.

I got the following error:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Not Found"
}
],
"code": 404,
"message": "Not Found"
}
}

You can see the error at https://developers.google.com/apis-explorer/#p/discovery/v1/discovery.apis.getRest?api=analyticsreporting&version=v4&_h=6&

Can you fix this APAP.

Thanks.

Eric

This is result from the LIST API:
  {
   "kind": "discovery#directoryItem",
   "id": "analyticsreporting:v4",
   "name": "analyticsreporting",
   "version": "v4",
   "title": "Analytics Reporting API V4",
   "description": "The Analytics Reporting API provides access to Analytics report data.",
   "discoveryRestUrl": "https://analyticsreporting.googleapis.com/$discovery/rest?version=v4",
   "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
   },
   "documentationLink": "https://developers.google.com/analytics/devguides/reporting/core/v4/",
   "preferred": true
  },

Eric Huang

unread,
May 4, 2016, 8:24:04 PM5/4/16
to Google APIs Discovery Service Users
This is blocking using the new analytics reporting API since the client library (Python I used) depends on the discovery service to build the request.

Thanks,

Eric
Reply all
Reply to author
Forward
0 new messages