SwiftUI Template home page
Search...
⌘K
Documentation
Community
Blog
API documentation
Introduction
Endpoint examples
GET
Get Plants
POST
Create Plant
DEL
Delete Plant
HOOK
New Plant
Support
Dashboard
SwiftUI Template home page
Search...
⌘K
Ask AI
Support
Dashboard
Dashboard
Search...
Navigation
API documentation
Introduction
Guides
API reference
Guides
API reference
API documentation
Introduction
Copy page
Example section for showcasing API endpoints
Copy page
If you’re not looking to build API reference documentation, you can delete this section by removing the api-reference folder.
Welcome
There are two ways to build API documentation:
OpenAPI
and
MDX components
. For the starter kit, we are using the following OpenAPI specification.
Plant Store Endpoints
View the OpenAPI specification file
Authentication
All API endpoints are authenticated using Bearer tokens and picked up from the specification file.
Copy
Ask AI
"security"
: [
{
"bearerAuth"
: []
}
]
Get Plants
Returns all plants from the system that the user has access to
Next
On this page
Welcome
Authentication
Assistant
Responses are generated using AI and may contain mistakes.