mirror of
https://github.com/michivonah/bbzw-horizon.git
synced 2025-12-22 17:16:27 +01:00
add first version of encryption endpoint
This commit is contained in:
parent
b61981e23d
commit
b0d0f7ab5f
3 changed files with 51 additions and 4 deletions
|
|
@ -52,4 +52,7 @@ class SensorData(SQLModel, table=True):
|
|||
pressure: float = Field(default=None, nullable=True)
|
||||
voc: float = Field(default=None, nullable=True)
|
||||
gas: float = Field(default=None, nullable=True)
|
||||
clientid: int = Field(default=None, nullable=True)
|
||||
clientid: int = Field(default=None, nullable=True)
|
||||
|
||||
class EncryptedPayload(BaseModel):
|
||||
data: str
|
||||
Loading…
Add table
Add a link
Reference in a new issue