Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.webhook.WebhookView Class Reference
Inheritance diagram for homeassistant.components.webhook.WebhookView:
[legend]
Collaboration diagram for homeassistant.components.webhook.WebhookView:
[legend]

Static Public Attributes

bool cors_allowed = True
 
Response get = _handle
 
Response head = _handle
 
string name = "api:webhook"
 
Response post = _handle
 
Response put = _handle
 
bool requires_auth = False
 
 url = URL_WEBHOOK_PATH
 

Private Member Functions

Response _handle (self, Request request, str webhook_id)
 

Detailed Description

Handle incoming webhook requests.

Definition at line 209 of file __init__.py.

Member Function Documentation

◆ _handle()

Response homeassistant.components.webhook.WebhookView._handle (   self,
Request  request,
str  webhook_id 
)
private
Handle webhook call.

Definition at line 217 of file __init__.py.

Member Data Documentation

◆ cors_allowed

bool homeassistant.components.webhook.WebhookView.cors_allowed = True
static

Definition at line 215 of file __init__.py.

◆ get

Response homeassistant.components.webhook.WebhookView.get = _handle
static

Definition at line 223 of file __init__.py.

◆ head

Response homeassistant.components.webhook.WebhookView.head = _handle
static

Definition at line 224 of file __init__.py.

◆ name

string homeassistant.components.webhook.WebhookView.name = "api:webhook"
static

Definition at line 213 of file __init__.py.

◆ post

Response homeassistant.components.webhook.WebhookView.post = _handle
static

Definition at line 225 of file __init__.py.

◆ put

Response homeassistant.components.webhook.WebhookView.put = _handle
static

Definition at line 226 of file __init__.py.

◆ requires_auth

bool homeassistant.components.webhook.WebhookView.requires_auth = False
static

Definition at line 214 of file __init__.py.

◆ url

homeassistant.components.webhook.WebhookView.url = URL_WEBHOOK_PATH
static

Definition at line 212 of file __init__.py.


The documentation for this class was generated from the following file: