InventoryApi

interface InventoryApi

Functions

Link copied to clipboard
@GET(value = "/v1/users/{userId}/items/{itemType}/{itemId}/is-owned")
abstract fun getIsOwned(    @Path(value = "userId") userId: Long,     @Path(value = "itemType") itemType: String,     @Path(value = "itemId") itemId: Long): Call<Boolean>
Link copied to clipboard
@GET(value = "/v1/users/{userId}/items/{itemType}/{itemId}")
abstract fun getUserItems(    @Path(value = "userId") userId: Long,     @Path(value = "itemType") itemType: String,     @Path(value = "itemId") itemId: Long): Call<ItemListData>