Add an API
This is a sample endpoint. If you've added your OpenAPI spec, your API reference is building now. Check GitHub Actions and refresh when complete.
Request
Plant to add
name
Display name for the plant
species
Scientific name of the plant
wateringFrequency
How often the plant needs water
Allowed values:
sunlight
Sunlight requirements
Allowed values:
Response
Plant successfully added
id
Unique identifier for the plant
name
Display name for the plant
species
Scientific name of the plant
wateringFrequency
Allowed values:
sunlight
Allowed values:
createdAt
When the plant was added
