analytics-controller

Calculate Cohort Analysis

GET-method to calculate cohort data based on parameters about contract. User can receive this info only if this contract was registered by him.

get/analytics/cohorts

Request

  • Base URL: http://api.moirailabs.com/api/v1
  • URL: http://api.moirailabs.com/api/v1/analytics/cohorts
  • Auth: HTTP bearer

Query parameters

contractAddressstring required
intervalstring required
startDatestring date required
endDatestring date required

Headers

Authorizationstring required
X-Request-IDstring
Example:8df31080-3b78-4e63-a67d-c2d107190f3c

Optional frontend-generated correlation ID. The backend returns the effective value in the response header.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.