Update API DOC
parent
ee16b4e57e
commit
306767fca9
196
API-DOC.md
196
API-DOC.md
|
|
@ -83,202 +83,6 @@ GET /products?page=1&limit=20&search=áo thun&sortBy=price&order=DESC
|
|||
"id": 59,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:21:28.036Z",
|
||||
"updated_at": "2025-08-11T20:21:28.036Z",
|
||||
"id": 58,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:20:56.385Z",
|
||||
"updated_at": "2025-08-11T20:20:56.385Z",
|
||||
"id": 57,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:11:32.193Z",
|
||||
"updated_at": "2025-08-11T20:11:32.193Z",
|
||||
"id": 51,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:09:49.754Z",
|
||||
"updated_at": "2025-08-11T20:09:49.754Z",
|
||||
"id": 50,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:06:54.170Z",
|
||||
"updated_at": "2025-08-11T20:06:54.170Z",
|
||||
"id": 49,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:01:53.407Z",
|
||||
"updated_at": "2025-08-11T20:01:53.407Z",
|
||||
"id": 40,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:01:08.031Z",
|
||||
"updated_at": "2025-08-11T20:01:08.031Z",
|
||||
"id": 39,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:00:22.331Z",
|
||||
"updated_at": "2025-08-11T20:00:22.331Z",
|
||||
"id": 36,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T19:59:35.199Z",
|
||||
"updated_at": "2025-08-11T19:59:35.199Z",
|
||||
"id": 35,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:42:03.159Z",
|
||||
"updated_at": "2025-08-11T20:42:03.159Z",
|
||||
"id": 60,
|
||||
"error": null,
|
||||
"published": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T02:06:31.109Z",
|
||||
"updated_at": "2025-08-11T02:06:31.109Z",
|
||||
"id": 10,
|
||||
"images": [
|
||||
"https://thegioimang.vn/data/upload/C1161-8P.jpg"
|
||||
],
|
||||
"title": "qwfqwfqwfqw",
|
||||
"price": "12",
|
||||
"category": "tools",
|
||||
"condition": "new",
|
||||
"brand": "cisco",
|
||||
"description": "qwfqwfqwfqwfwqfwqqwfwqfwqfwqfwqwfwqqw",
|
||||
"tags": [
|
||||
"qwfqwfq"
|
||||
],
|
||||
"sku": "qwfwq23",
|
||||
"location": "Hanoi, Vietnam",
|
||||
"histories": [
|
||||
{
|
||||
"created_at": "2025-08-11T20:17:24.290Z",
|
||||
"updated_at": "2025-08-11T20:17:24.290Z",
|
||||
"id": 55,
|
||||
"error": "Xpath is not found",
|
||||
"published": false
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:16:58.180Z",
|
||||
"updated_at": "2025-08-11T20:16:58.180Z",
|
||||
"id": 54,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:16:58.146Z",
|
||||
"updated_at": "2025-08-11T20:16:58.146Z",
|
||||
"id": 53,
|
||||
"error": "Xpath is not found",
|
||||
"published": false
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:15:34.493Z",
|
||||
"updated_at": "2025-08-11T20:15:34.493Z",
|
||||
"id": 52,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:05:54.056Z",
|
||||
"updated_at": "2025-08-11T20:05:54.056Z",
|
||||
"id": 48,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:05:54.045Z",
|
||||
"updated_at": "2025-08-11T20:05:54.045Z",
|
||||
"id": 47,
|
||||
"error": "Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.",
|
||||
"published": false
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:05:34.995Z",
|
||||
"updated_at": "2025-08-11T20:05:34.995Z",
|
||||
"id": 46,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:05:34.976Z",
|
||||
"updated_at": "2025-08-11T20:05:34.976Z",
|
||||
"id": 45,
|
||||
"error": "Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.",
|
||||
"published": false
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:05:03.656Z",
|
||||
"updated_at": "2025-08-11T20:05:03.656Z",
|
||||
"id": 44,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:05:03.642Z",
|
||||
"updated_at": "2025-08-11T20:05:03.642Z",
|
||||
"id": 43,
|
||||
"error": "Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.",
|
||||
"published": false
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:04:40.813Z",
|
||||
"updated_at": "2025-08-11T20:04:40.813Z",
|
||||
"id": 42,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:04:40.794Z",
|
||||
"updated_at": "2025-08-11T20:04:40.794Z",
|
||||
"id": 41,
|
||||
"error": "Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.",
|
||||
"published": false
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:00:40.786Z",
|
||||
"updated_at": "2025-08-11T20:00:40.786Z",
|
||||
"id": 38,
|
||||
"error": null,
|
||||
"published": true
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:00:40.762Z",
|
||||
"updated_at": "2025-08-11T20:00:40.762Z",
|
||||
"id": 37,
|
||||
"error": "Xpath is not found",
|
||||
"published": false
|
||||
},
|
||||
{
|
||||
"created_at": "2025-08-11T20:17:24.313Z",
|
||||
"updated_at": "2025-08-11T20:17:24.313Z",
|
||||
"id": 56,
|
||||
"error": null,
|
||||
"published": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue