Retrieve a list of products
GET/products
Retrieve a list of products
Request
Responses
- 200
Successfully retrieved the list of products
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id uuid
title string
image string
description string
value number
quantity int32
created_at date-time
updated_at date-time
category object
id uuid
name string
created_at date-time
updated_at date-time
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"title": "string",
"image": "string",
"description": "string",
"value": 0,
"quantity": 0,
"created_at": "2024-03-23T09:23:32.861Z",
"updated_at": "2024-03-23T09:23:32.861Z",
"category": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"created_at": "2024-03-23T09:23:32.861Z",
"updated_at": "2024-03-23T09:23:32.861Z"
}
}
]
Loading...