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

HTTP API: Typo in blink(1) Status JSON? Quotes issue? #662

Open
atchoo78 opened this issue Jun 18, 2021 · 1 comment
Open

HTTP API: Typo in blink(1) Status JSON? Quotes issue? #662

atchoo78 opened this issue Jun 18, 2021 · 1 comment

Comments

@atchoo78
Copy link

Hi,

From the URL http://127.0.0.1:8934/blink1,
I get the following JSON response:

{
  "blink1_serialnums": [
    "3f84611e"
  ],
  "blink1_id": "08D1A6D73f84611e",
  "status": "blink1 id"
}

I'm guessing that "blink1 id" is supposed to be the actual blink1 id (same as the blink1_id response) or a status code?

@atchoo78 atchoo78 changed the title HTTP API: Typo in blink(1) Status JSON? Quotes issue HTTP API: Typo in blink(1) Status JSON? Quotes issue? Jun 18, 2021
@todbot
Copy link
Owner

todbot commented Jun 18, 2021

Hi! I'm unclear what you're asking about.

  • The "blink1_id" property contains the "blink1 id" (aka "IFTTT key" in the GUI). For you, that is currently 08D1A6D73f84611e
  • The "status" property is a simple status string that indicates the API command issued or an error string. The command issued here is /blink1/id, which /blink1 is an alias)

Also, I'm assuming you're asking this about the Blink1Control2 app's API server. If so, and you have further questions, please open up on an issue on its repo: https://github.com/todbot/blink1control2

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

2 participants