MattTW / BlinkMonitorProtocol

Unofficial documentation for the Blink Wire-Free HD Home Monitoring & Alert System
412 stars 77 forks source link

Is there an API to snooze the Cameras? #67

Open hex-ronin opened 1 year ago

hex-ronin commented 1 year ago

Looking for API to snooze the notifications but keep the recording. On the app, it is possible to snooze all cameras for four hours at a time. Thanks!

amattu2 commented 6 months ago

@hex-ronin Is this for a doorbell or a actual camera?

For doorbell:

Endpoint is

https://rest-{{tier}}.immedia-semi.com/api/v1/accounts/{{AccountID}}/networks/:networkId/doorbells/:doorbellId/snooze

Post body

{
    "snooze_time": 240
}

snooze_time is the minutes to snooze for. e.g. 240 (4 hours)


For a camera

v1/accounts/{{accountId}}/networks/{network_id}/cameras/{camera_id}/snooze

Same post body


TBD on how to snooze an entire system. I'm not seeing that option in my app so I can't get the endpoint.

hex-ronin commented 6 months ago

Thank you @amattu2 ! I can confirm the API works for the camera. Also, I tried the following to snooze everything under the same sync module and it works.

v1/accounts/{{accountId}}/networks/{network_id}/snooze

Same post body

I then tried values other than 240 and for that it returns and says you need right entitlement to use that value but that's because I'm on a free account.