Get items of a user by user id.user_id
Default to current user if ignored
ignore_sold
Ignore all items that already been sold
time_desc
If True
, result sorted by created time desc order, else by asc order
Hidden items will only appeared in the result if you are the owner of those items
Request Code Samples
curl --location --request GET 'http://localhost:8000/item'
Responses
[
{
"item_id": 0,
"name": "string",
"description": "string",
"created_time": 0,
"price": 0,
"state": "hide",
"tags": [
{
"tag_id": 0,
"tag_type": "string",
"name": "string"
}
],
"tag_name_list": [
"string"
]
}
]
Modified at 2024-10-31 10:45:46