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/config is missing #24

Open
ArndBrugman opened this issue Dec 13, 2015 · 6 comments
Open

/api/config is missing #24

ArndBrugman opened this issue Dec 13, 2015 · 6 comments

Comments

@ArndBrugman
Copy link

A normal bridge would return configuration on an api call to /api/config even without having a username supplied or being whitelisted. Would be great if you can add this too 👍

@SteveyO
Copy link
Owner

SteveyO commented Dec 14, 2015

Sure, I thought I had this but if not I will include in next release.

@ArndBrugman
Copy link
Author

Note that this is without the whitelisting. I don't know if this is a regular api call, but it works as expected. It is (whithout the whitelisting) undocumented. [bridgeip]/api/config, not [bridgeip]/api/[whitelistedusername]/config.

@SteveyO
Copy link
Owner

SteveyO commented Dec 14, 2015

Yes I know. Actually I wrote the documentation for this myself, about 2 months ago, although it's hidden a little in the below URL:.
http://www.developers.meethue.com/documentation/message-structure-and-response-0#nonValidUsers

Also, I have just added a link to this from:
http://www.developers.meethue.com/documentation/core-concepts
(Under the "The hue username" heading) to make it a little more obvious.
Steve

@ArndBrugman
Copy link
Author

Yep! Exactly. Thx :)

On Mon, Dec 14, 2015 at 4:29 PM, Steve [email protected] wrote:

Yes I know. Actually I wrote the documentation for this myself, about 2
months ago, although it's hidden a little in the below URL:.

http://www.developers.meethue.com/documentation/message-structure-and-response-0#nonValidUsers

Also, I have just added a link to this from:
http://www.developers.meethue.com/documentation/core-concepts
(Under the "The hue username" heading) to make it a little more obvious.
Steve


Reply to this email directly or view it on GitHub
#24 (comment)
.

@SteveyO
Copy link
Owner

SteveyO commented Dec 17, 2015

Committed to github. As per your other issueI will close this when I release a new version.
Note that some fields are missing (e.g. apiversion, swversion, replacesbridgeid, factorynew). None of these are likely to be added to the Emulator in the future as they are not relevant.

@mynote
Copy link

mynote commented Feb 20, 2017

zigbeechannel is missing which is important ;-)

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

3 participants