Last updated 1 year ago
This endpoint retrieves Gems associated with the given entity.
The API key for authentication
test
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
GET /api/entities/{entityId}/users/{userId}/gems HTTP/1.1 Host: api.questprotocol.xyz apikey: test userid: dummy-userid token: dummy-token Accept: */*
Successful response
{ "success": true, "data": [ { "_id": "text", "userId": "text", "entityId": "text", "gemsContractId": { "_id": "text", "name": "text", "desc": "text", "logo": "text" }, "value": 1 } ] }