Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API | Location Endpoint #339

Open
kaleben0 opened this issue Feb 2, 2025 · 1 comment
Open

API | Location Endpoint #339

kaleben0 opened this issue Feb 2, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request improvement Improve an existing feature

Comments

@kaleben0
Copy link

kaleben0 commented Feb 2, 2025

Description of your request
Just looking for an endpoint that responds with a list of locations and their ID numbers.

It would also be useful if along with the locations it also kicked back with :

  • A count of how many plants are in that location
  • The id number of each plant in the location
  • The name of each plant in the location

I know the "List of Plants" endpoint also does the job when you know the location ID, but it would just save an API call :)

The count response would be useful in dashboard apps, like Homepage (https://github.com/gethomepage/homepage) for those that like project dashboards.

@kaleben0 kaleben0 added enhancement New feature or request improvement Improve an existing feature labels Feb 2, 2025
@danielbrendel danielbrendel self-assigned this Feb 3, 2025
@danielbrendel
Copy link
Owner

Hi, having API endpoints from the pov of locations is a good idea. Will be added in one of the next releases. Thanks for your suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request improvement Improve an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants