跳转到主要内容
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>"
}

授权

Authorization
string
header
必填

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

请求体

application/json

Plant to add to the store

name
string
必填

The name of the plant

id
integer<int64>
必填

Identification number of the plant

tag
string

Tag to specify the type

响应

plant response

name
string
必填

The name of the plant

tag
string

Tag to specify the type

Last modified on April 26, 2026