### Get all plants GET http://localhost:8080/api/v1/plants Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsdWthcy5rYXJzY2hAZ214LmRlIiwiaWF0IjoxNzAzMjYwNDU5LCJleHAiOjE3MDMzNDY4NTl9.Crt0lc8CgpQAQdi_--9CLZxpaLcb_1IM22-aRAbbMuU ### Get garden entries GET http://localhost:8080/api/v1/garden Authorization:Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsdWthcy5rYXJzY2hAZ214LmRlIiwiaWF0IjoxNzAwOTMzNjQ4LCJleHAiOjE3MDEwMjAwNDh9.IXoMuNecB7ARvZpEyx5SraMbdoZrHgADeHd7wAo0ddw ### Create account POST http://localhost:8080/api/v1/auth/register content-type: application/json { "email": "lukas.karsch@gmx.de", "firstname": "Lukas", "lastname": "Karsch", "password": "myPassword123" } ### POST http://localhost:8080/api/v1/auth/register content-type: application/json { "email": "lb210@hdm-stuttgart.de", "firstname": "Lara", "lastname": "Blersch", "password": "Lara123" } ### Authenticate POST http://localhost:8080/api/v1/auth/authenticate content-type: application/json { "email": "lukas.karsch@gmx.de", "password": "myPassword123" } ### SearchRequest GET http://localhost:8080/api/v1/plants/search Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsdWthcy5rYXJzY2hAZ214LmRlIiwiaWF0IjoxNzAzNjIzNzAzLCJleHAiOjE3MDM3MTAxMDN9.D06wA6SdGQQzln55DK8pMO6cowbA9iL_-EfmGbVMT14 content-type: application/json { "searchTerm": "Salat", "plantWeekStart": 5, "plantWeekEnd": 10 } ### Get all plants from wishlist GET http://localhost:8080/api/v1/wishlist?sort=createdAt Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsdWthcy5rYXJzY2hAZ214LmRlIiwiaWF0IjoxNzAzNjIzNzAzLCJleHAiOjE3MDM3MTAxMDN9.D06wA6SdGQQzln55DK8pMO6cowbA9iL_-EfmGbVMT14 ### Get amount of plants in wishlist GET http://localhost:8080/api/v1/garden?sort=createdAt Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsdWthcy5rYXJzY2hAZ214LmRlIiwiaWF0IjoxNzAzNjIzNzAzLCJleHAiOjE3MDM3MTAxMDN9.D06wA6SdGQQzln55DK8pMO6cowbA9iL_-EfmGbVMT14 ### Add plant to wishlist POST http://localhost:8080/api/v1/wishlist/add/1 ### Remove plant from wishlist DELETE http://localhost:8080/api/v1/wishlist/remove/1 ### Remove all plants from wishlist DELETE http://localhost:8080/api/v1/wishlist/remove/all