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

Public Member Functions

web.Response post (self, web.Request request)
 

Static Public Attributes

string name = "api:image:upload"
 
string url = "/api/image/upload"
 

Detailed Description

View to upload images.

Definition at line 168 of file __init__.py.

Member Function Documentation

◆ post()

web.Response homeassistant.components.image_upload.ImageUploadView.post (   self,
web.Request  request 
)
Handle upload.

Definition at line 174 of file __init__.py.

Member Data Documentation

◆ name

string homeassistant.components.image_upload.ImageUploadView.name = "api:image:upload"
static

Definition at line 172 of file __init__.py.

◆ url

string homeassistant.components.image_upload.ImageUploadView.url = "/api/image/upload"
static

Definition at line 171 of file __init__.py.


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