Returns information about a user and their inventory. Will return lists containing all presently on sale clothing/gamepasses (id and price) creaeted by the user.
localhost:3000/v1/users/18982229/
{
"Username": "Scarious",
"CanViewInventory": true,
"Clothing": [
{
"ID": 1087041986,
"Price": 200
},
{
"ID": 2210096025,
"Price": 5
}
],
"Gamepasses": [
{
"ID": 33215803,
"Price": 1
}
]
}
Returns a boolean showing whether or not the users inventory is publicly viewable.
localhost:3000/v1/users/18982229/can-view-inventory/
{
"CanViewInventory": true
}
Returns a list containing all presently on sale clothing (id and price) creaeted by the user. Might be preferential to use /v1/clothing/{USER_NAME}/
localhost:3000/v1/users/18982229/clothing
[
{
"ID": 1087041986,
"Price": 200
},
{
"ID": 2210096025,
"Price": 5
}
]
Returns a list containing all presently on sale gamepasses (id and price) creaeted by the user.
localhost:3000/v1/users/18982229/gamepasses
[
{
"ID": 33215803,
"Price": 1
}
]
Returns a list containing all presently on sale clothing (id and price) creaeted by the user.
Same as /v1/users/{USER_ID}/clothing
, but uses one less API call since you don't have to turn USER_ID
into USER_NAME
.
localhost:3000/v1/clothing/Scarious/
[
{
"ID": 1087041986,
"Price": 200
},
{
"ID": 2210096025,
"Price": 5
}
]
Returns a list containing all presently on sale gamepasses (id and price) creaeted by the user.
Same as /v1/users/{USER_ID}/gamepasses/
.
localhost:3000/v1/gamepasses/18982229/
[
{
"ID": 33215803,
"Price": 1
}
]