Entity Gem

Get specific Entity Gems of an Entity

get
/entities/{entityId}/gem-contracts/{entityGemsContractId}

Get specific Entity Gems of specific entity.

Path parameters
entityIdstringRequired
entityGemsContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
get
/entities/{entityId}/gem-contracts/{entityGemsContractId}

Add Entity Gems of an Entity

post
/entities/{entityId}/gem-contracts/

Add Entity Gems of specific entity.

Path parameters
entityIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
namestringRequired
sourcestringOptional
descstringOptional
logostringOptional
initialDefaultValuestringOptional
Responses
200

Successful response

application/json
post
/entities/{entityId}/gem-contracts/

Update Entity Gems of an Entity

post
/entities/{entityId}/gem-contracts/{entityGemsContractId}/update

Update Entity Gems Info of specific entity.

Path parameters
entityIdstringRequired
entityGemsContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
namestringRequired
sourcestringRequired
descstringRequired
logostringRequired
initialDefaultValuestringRequired
Responses
200

Successful response

application/json
post
/entities/{entityId}/gem-contracts/{entityGemsContractId}/update

Soft Delete Entity Gems of an Entity

post
/entities/{entityId}/gem-contracts/{entityGemsContractId}/delete

Soft Delete Entity Gems info of specific entity.

Path parameters
entityIdstringRequired
entityGemsContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful response

application/json
post
/entities/{entityId}/gem-contracts/{entityGemsContractId}/delete

Increase Entity Gems of an user

post
/entities/{entityId}/users/{userId}/gemsContracts/{entityGemsContractId}/increase

Increase Entity Gems value of a particular user

Path parameters
entityIdstringRequired
userIdstringRequired
entityGemsContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
valuestringRequired
Responses
200

Successful response

application/json
post
/entities/{entityId}/users/{userId}/gemsContracts/{entityGemsContractId}/increase

Decrease Entity Gems of an user

post
/entities/{entityId}/users/{userId}/gemsContracts/{entityGemsContractId}/decrease

Decrease Entity Gems value of a particular user

Path parameters
entityIdstringRequired
userIdstringRequired
entityGemsContractIdstringRequired
Query parameters
entityIdstringRequired

The Id of the entity.

Example: dummy-entityid
userIdstringRequired

The Id of the user performing the request.

Example: dummy-userid
Header parameters
apikeystringRequired

The API key for authentication

Example: test
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
valuestringRequired
Responses
200

Successful response

application/json
post
/entities/{entityId}/users/{userId}/gemsContracts/{entityGemsContractId}/decrease

Last updated