These requests are used to get a list of event names and categories that have been reported by your application to Usage Intelligence, know which ones have been enabled for collection, and also set which ones should be collected.
Usage Intelligence Reporting API (3.0.0)
The Usage Intelligence Reporting API is targeted for advanced users who would like to build their own dashboards or integrate Usage Intelligence reporting (charts or raw data) within third party applications. The API can also be used to export data and statistics out of the Usage Intelligence servers for archiving or custom processing by other solutions.
NOTE: For information on global filters and segmentation in API reporting, see Global Filters and Segmentation and Levels (Date-Range Reports).
For Developer: To access our APIs programmatically, begin by obtaining the CSRF cookie. Send a GET request to the /v3/request-csrf endpoint with the appropriate headers, as specified in the auth API. Upon success, you'll receive a 204 status code. Then, utilize this obtained cookie when while using the auth API. After successful authentication, you'll receive two cookies: RUI-Csrf and RUI-Session-Token. Keep these cookies for subsequent requests. If authentication fails, expect to receive a 401 error code.
NOTE: The value for Origin should be https://analytics.revenera.com for all API endpoints. Providing a different value will result in an error.
To help you get hands-on experience with our APIs, we have provided a Postman collection for download. This collection will allow you to seamlessly test and explore the API endpoints in a familiar environment.
How to explore APIs using Postman:
- Download the Postman Collection: Download
- Import into Postman: Open your Postman app and import the collection.
- Authenticate: Replace the "username" and "password" placeholders with your credentials (the same ones used in the Usage Intelligence Dashboard at https://analytics.revenera.com) in the /auth/web API endpoint body, then click Send.
- Personalize: Replace the demo "product_id" in the API endpoints with your own "product_id" and modify the sample payload as per your product’s requirements.
Start exploring the APIs!
- Mock serverhttps://rui-api.redocly.app/_mock/v3_api_redocly/v3/event-tracking/{product_id}
- https://analytics-api.revenera.com/v3/event-tracking/{product_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rui-api.redocly.app/_mock/v3_api_redocly/v3/event-tracking/{product_id}?flat=true&showEvents=all' \
-H 'Content-Type: application/json' \
-H 'Origin: https://analytics.revenera.com' \
-H 'RUI-Client: Postman' \
-H 'RUI-Client-Version: 0.0.1'{ "result": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ] }