2026-04-19 23:25:13 +02:00
|
|
|
openapi: 3.1.0
|
|
|
|
|
info:
|
|
|
|
|
title: Home Automation Backend (Python)
|
|
|
|
|
description: Python rewrite skeleton for the home automation backend. This stage
|
|
|
|
|
provides only the foundation for future module migration.
|
|
|
|
|
version: 0.1.0
|
|
|
|
|
paths:
|
|
|
|
|
/status:
|
|
|
|
|
get:
|
|
|
|
|
tags:
|
|
|
|
|
- system
|
|
|
|
|
summary: Get Status
|
|
|
|
|
operationId: get_status_status_get
|
|
|
|
|
responses:
|
|
|
|
|
'200':
|
|
|
|
|
description: Successful Response
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
$ref: '#/components/schemas/StatusResponse'
|
|
|
|
|
/:
|
|
|
|
|
get:
|
|
|
|
|
tags:
|
|
|
|
|
- pages
|
|
|
|
|
summary: Home
|
|
|
|
|
operationId: home__get
|
|
|
|
|
responses:
|
|
|
|
|
'200':
|
|
|
|
|
description: Successful Response
|
|
|
|
|
content:
|
|
|
|
|
text/html:
|
|
|
|
|
schema:
|
|
|
|
|
type: string
|
2026-04-20 10:42:35 +02:00
|
|
|
/homeassistant/publish:
|
|
|
|
|
post:
|
|
|
|
|
tags:
|
|
|
|
|
- homeassistant
|
|
|
|
|
summary: Publish From Homeassistant
|
|
|
|
|
operationId: publish_from_homeassistant_homeassistant_publish_post
|
|
|
|
|
responses:
|
|
|
|
|
'200':
|
|
|
|
|
description: Successful Response
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema: {}
|
2026-04-19 23:25:13 +02:00
|
|
|
/location/record:
|
|
|
|
|
post:
|
|
|
|
|
tags:
|
|
|
|
|
- location
|
|
|
|
|
summary: Create Location Record
|
|
|
|
|
operationId: create_location_record_location_record_post
|
|
|
|
|
responses:
|
|
|
|
|
'200':
|
|
|
|
|
description: Successful Response
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema: {}
|
2026-04-20 11:48:48 +02:00
|
|
|
/poo/record:
|
|
|
|
|
post:
|
|
|
|
|
tags:
|
|
|
|
|
- poo
|
|
|
|
|
summary: Create Poo Record
|
|
|
|
|
operationId: create_poo_record_poo_record_post
|
|
|
|
|
responses:
|
|
|
|
|
'200':
|
|
|
|
|
description: Successful Response
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema: {}
|
|
|
|
|
/poo/latest:
|
|
|
|
|
get:
|
|
|
|
|
tags:
|
|
|
|
|
- poo
|
|
|
|
|
summary: Notify Latest Poo
|
|
|
|
|
operationId: notify_latest_poo_poo_latest_get
|
|
|
|
|
responses:
|
|
|
|
|
'200':
|
|
|
|
|
description: Successful Response
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema: {}
|
2026-04-19 23:25:13 +02:00
|
|
|
components:
|
|
|
|
|
schemas:
|
|
|
|
|
StatusResponse:
|
|
|
|
|
properties:
|
|
|
|
|
status:
|
|
|
|
|
type: string
|
|
|
|
|
title: Status
|
|
|
|
|
type: object
|
|
|
|
|
required:
|
|
|
|
|
- status
|
|
|
|
|
title: StatusResponse
|