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

Documentation for the REST API /services endpoint is incorrect/incomplete #2419

Open
korfuri opened this issue Oct 23, 2024 · 0 comments
Open

Comments

@korfuri
Copy link

korfuri commented Oct 23, 2024

I was recently looking at the REST API for Home Assistant and while trying out the /services endpoint I noticed that the responses I get from my HA instance are quite different from the documented format at https://developers.home-assistant.io/docs/api/rest/

The documented format is pretty trivial, only listing service names. The actual format I observed is more self-describing and complete, where services is a dictionary of service objects, These typically include a fields field, whose schema is unclear from just observing the responses. It looks like the format is complete enough to allow clients to build a dynamic UI to control each service so I assume it's quite complete. Is this documented anywhere? Maybe it would be possible to link that from the REST API documentation?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant