mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-15 05:16:28 +00:00
Add note for webhook_id inclusion (#1095)
This commit is contained in:
parent
020a41fd18
commit
f2a944bb33
@ -32,7 +32,8 @@ Your server should accept a HTTP POST payload like this:
|
||||
"registration_info": {
|
||||
"app_id": "io.home-assistant.iOS",
|
||||
"app_version": "1.0.0",
|
||||
"os_version": "12.2"
|
||||
"os_version": "12.2",
|
||||
"webhook_id": "webhook_id_from_registration"
|
||||
},
|
||||
"data": {
|
||||
"key": "value"
|
||||
@ -40,6 +41,10 @@ Your server should accept a HTTP POST payload like this:
|
||||
}
|
||||
```
|
||||
|
||||
:::info
|
||||
`webhook_id` will only be included from core-2021.11 or later.
|
||||
:::
|
||||
|
||||
It should respond with a 201 status code assuming the notification was queued for delivery successfully.
|
||||
|
||||
### Errors
|
||||
|
Loading…
x
Reference in New Issue
Block a user