add first version of encryption endpoint

This commit is contained in:
Michi 2025-05-02 08:26:02 +02:00
parent b61981e23d
commit b0d0f7ab5f
3 changed files with 51 additions and 4 deletions

View file

@ -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