Asosiy tarkibga o'tish
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>"
}

Avtorizatsiyalar

Authorization
string
header
talab qilinadi

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

Tanasi

application/json

Plant to add to the store

name
string
talab qilinadi

The name of the plant

id
integer<int64>
talab qilinadi

Identification number of the plant

tag
string

Tag to specify the type

Javob

plant response

name
string
talab qilinadi

The name of the plant

tag
string

Tag to specify the type