Inventory

The Inventory API provides a comprehensive set of endpoints to interact with inventories.

Retrieve an inventory

get
Path parameters
ckeystringRequired
Responses
get
/v1/community/{ckey}/inventory

Return the slots of an inventory

get
Path parameters
ckeystringRequired
Query parameters
userIdstringRequired
Responses
get
/v1/community/{ckey}/inventory/slots

Return list of items of a slot

get
Path parameters
ckeystringRequired
slotIdstringRequired
Query parameters
pagenumberOptional
limitnumberOptional
onlyOwnedstringRequired
Responses
get
/v1/community/{ckey}/inventory/slots/{slotId}/items

Return item

get
Path parameters
ckeystringRequired
itemIdstringRequired
Responses
get
/v1/community/{ckey}/inventory/items/{itemId}

Allocate slots of an inventory to a user

post
Path parameters
ckeystringRequired
Body
Responses
post
/v1/community/{ckey}/inventory/slots/allocate

No content

Return the avatar of an user from an inventory

get
Path parameters
ckeystringRequired
Query parameters
userIdstringRequired
Responses
get
/v1/community/{ckey}/inventory/avatar

Return inventory items

get
Path parameters
ckeystringRequired
Query parameters
pagenumberOptional
limitnumberOptional
onlyOwnedstringRequired
userIdstringRequired
Responses
get
/v1/community/{ckey}/inventory/items

Mint the Avatar of user as an NFT on a blockchain

post
Path parameters
ckeystringRequired
Body
blockchainstringRequired
Responses
post
/v1/community/{ckey}/inventory/avatar/mint

No content

Last updated