Environment Analytics

Get all v4 APIs with hits count per API sorted by mostly requested

Get v4 API analytics top hits counts. All APIs are sorted starting from the most requested ones.

get/analytics/top-hits

Request

  • Base URL
    /management/v2/environments/DEFAULT (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /management/v2/environments/DEFAULT/analytics/top-hits
  • Auth
    • HTTP basic
    • or API key in cookie Auth-Graviteeio-APIM

Query parameters

frominteger

The timestamp in ms from which the logs will be returned.

tointeger

The timestamp in ms to which the logs will be returned.

Response

Analytics for v2 and v4 top hits APIs at environment level

Example response

{
  "data": [
    {
      "id": "00f8c9e7-78fc-4907-b8c9-e778fc790750",
      "name": "Sample API Name",
      "count": 675234,
      "definitionVersion": "v4"
    }
  ]
}

Changes

No recorded changes to this operation across all 65 revisions of this API.