Přejít na hlavní obsah
POST
/
plants
cURL
curl --request POST \
  --url http://sandbox.mintlify.com/plants \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "id": 123,
  "tag": "<string>"
}
'
{
  "name": "<string>",
  "tag": "<string>"
}

Autorizace

Authorization
string
header
povinné

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Tělo

application/json

Plant to add to the store

name
string
povinné

The name of the plant

id
integer<int64>
povinné

Identification number of the plant

tag
string

Tag to specify the type

Odpověď

plant response

name
string
povinné

The name of the plant

tag
string

Tag to specify the type