Data Module
Consists of all APIs to measure dApp metrics
Get all app metrics for an entity
List all the metrics available for an entity
GET
https://api.questprotocol.xyz/api/entities/{entityID}/metrics
Path Parameters
entityID*
String
Query Parameters
address*
String
signature*
String
Can only be performed by the admin/owner of the Entity.
Get all app metrics for a user in an entity
GET
https://api.questprotocol.xyz/api/entities/{entityID}/users/{userAddress}/metrics
Path Parameters
entityID*
String
userAddress*
String
Query Parameters
address*
String
signature*
String
Can only be performed by the admin/owner of the Entity.
Increment a app metric for a user in entity
Increments a app metric for a user in entity, can only be done by Entity Admins/Owners.
POST
https://api.questprotocol.xyz/api/entities/{entityID}/users/{userAddress}/metrics/{metric}
Path Parameters
entityID*
String
userAddress*
String
metric*
String
Query Parameters
address*
String
signature*
String
Request Body
count*
String
Can only be performed by the admin/owner of the Entity.
Increment multiple app metrics for a user in entity
Increment multiple app metrics for a user in entity, can only be done by Entity Admins/Owners.
POST
https://api.questprotocol.xyz/api/entities/{entityID}/users/{userAddress}/metrics
Path Parameters
entityID*
String
userAddress*
String
Query Parameters
address*
String
signature*
String
Request Body
metrics*
Array
counts*
Array
Can be only performed by the admin of the Entity.
Updates App metric information for an Entity. Can be only performed by the admin of the Entity.
POST
https://api.questprotocol.xyz/api/entities/{entityID}/metrics/{metricID}/update
Path Parameters
entityID*
String
metricID*
String
Query Parameters
signature*
String
address
String
Request Body
name*
String
description*
String
type*
String
Can only be performed by the admin/owner of the Entity.
Last updated