API Endpoints - TeamArcaid/acaidemic GitHub Wiki
| Operation | API route | HTTP method |
|---|---|---|
| Create a plant | api/v1/plants | POST |
| List all plants | api/v1/plants | GET |
| Fetch a plant | api/v1/plants/:plantId | GET |
| Update a plant | api/v1/plants/:plantId | PUT |
| Create a question | api/v1/plants/:plantId/questions | POST |
| Fetch a question | api/v1/plants/:plantId/question/:questionId | GET |
| Update a question | api/v1/plants/:plantId/question/:questionId | PUT |