Add an API

View as MarkdownOpen in Claude
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
namestringRequired
Display name for the plant
speciesstringRequired
Scientific name of the plant
wateringFrequencyenumOptional
How often the plant needs water
Allowed values:
sunlightenumOptional
Sunlight requirements
Allowed values:

Response

Plant successfully added
idstring or null
Unique identifier for the plant
namestring or null
Display name for the plant
speciesstring or null
Scientific name of the plant
wateringFrequencyenum or null
Allowed values:
sunlightenum or null
Allowed values:
createdAtdatetime or null
When the plant was added

Errors