Skip to content

API invalid? #15

@btuysser

Description

@btuysser

Hi, I'm looking at http://forum.nanoleaf.me/docs/openapi and according to 5.3.2 Brightness

Endpoint | /api/v1/<auth_token>/state/brightness
Request | GET
Request Body | none
Response | 200 OK
Response Body | {"value" : 100, "max" : 100, "min" : 0}

However the code assumes that the endpoint is /api/v1/<auth_token>/state/brightness/value and returns the actual value instead of the json response body.

Do you have any plans to update nanoleaf to conform with the openapi?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions