Skip to main content
GET
/
pots
cURL
curl --request GET \
  --url http://localhost:3001/pots
{
  "name": "Pot 1",
  "color": "Red",
  "sizes": [
    "10cm",
    "15cm",
    "20cm"
  ],
  "grains": [
    "100",
    "200",
    "300"
  ],
  "material": {
    "glaze": "Matte",
    "hardness": 5
  }
}

Query Parameters

type
enum<string>

The type of pot to return

Available options:
clay,
plastic,
ceramic

Response

200 - application/json

Pot response

color
string
required
material
CeramicPot · object
required

The material of the pot

name
string | null
sizes
(string | number)[]
grains
string · null · number · null[]
size