Levels Module
Consists of all APIs related to Levels for a user in the Entity.
Consists of all APIs related to Levels for a user in the Entity.
Levels Module assigns Levels based on XP and the reward at each level.
Gets all the levels and threshold XP of an Entity.
GET
https://api.questprotocol.xyz/api/entities/${entityID}/levels
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Can be only performed by the admin/owner of the Entity.
Adds a new level based on XPs for an Entity.
POST
https://api.questprotocol.xyz/api/entities/${entityID}/levels
Can only be performed by the admin/owner of the Entity.
Delete a level in an Entity.
POST
https://api.questprotocol.xyz/api/entities/${entityID}/levels/${level}/delete
Can be only performed by admin/owner of the Entity.
Updates a level requirements in an Entity. Can be only performed by admin/owner of the Entity.
POST
https://api.questprotocol.xyz/api/entities/${entityID}/levels/${level}/update
Can only be performed by the admin/owner of the Entity.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
entityID*
String
Entity or community Id
address*
String
signature*
String
apiKey*
String
apiSecret*
String
entityID
String
Entity or community Id
address*
String
signature*
String
apiKey*
String
apiSecret*
String
xp*
String
This is the threshold XP which needs to be passed for the level
level*
String
entityID*
String
Entity or community Id
level
String
Level number that needs to be deleted
address*
String
signature*
String
apiKey*
String
apiSecret*
String
entityID*
String
Entity or community Id
level*
String
Level number that needs to be updated
signature*
String
address*
String
apiKey*
String
apiSecret*
String
xp*
String
New XP threshold for the level