Inventory
The Inventory API provides a comprehensive set of endpoints to interact with inventories.
Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
GET /v1/community/{ckey}/inventory HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
GET /v1/community/{ckey}/inventory/slots?userId=text HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
GET /v1/community/{ckey}/inventory/slots/{slotId}/items?onlyOwned=text HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
GET /v1/community/{ckey}/inventory/items/{itemId} HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}No content
Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
POST /v1/community/{ckey}/inventory/slots/allocate HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"slots": [
{
"slotId": "text",
"itemId": "text"
}
]
}No content
Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
GET /v1/community/{ckey}/inventory/avatar?userId=text HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
GET /v1/community/{ckey}/inventory/items?onlyOwned=text&userId=text HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}No content
Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
POST /v1/community/{ckey}/inventory/avatar/mint HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"blockchain": "text"
}No content
Last updated