GenericID¶
GenericID: strID used on TagoIO, string with 24 character
Base64¶
Base64: str
GenericToken¶
GenericToken: strToken used on TagoIO, string with 36 characters
ExpireTimeOption¶
ExpireTimeOption: “never” or datetime
PermissionOption¶
PermissionOption: Literal[“write”, “read”, “full”, “deny”]
TokenCreateResponse¶
Attributes:
File¶
Attributes:
url: strmd5: strpath: str
FixedPositionValue¶
Attributes:
color: stricon: strvalue: strx: stry: str
SentValue¶
Attributes:
label: strvalue: Union[str, int, float, bool]
Metadata¶
Attributes:
color: Optional[str]x: Optional[Union[str, int, float]]y: Optional[Union[str, int, float]]label: Optional[str]file: Optional[File]icon: Optional[str]fixed_position: Optional[dict[str, FixedPositionValue]]sentValues: Optional[list[SentValue]]old_value: Optional[Union[str, int, float, bool]]
LocationGeoJSON¶
Attributes:
type: Literal[“Point”]coordinates: list[Union[Longitude, Latitude]]
LocationLatLng¶
Attributes:
lat: floatlng: float
Data¶
Attributes:
id: strdevice: strvariable: strvalue: Union[str, float, int, bool]group: strunit: strlocation: LocationGeoJSONmetadata: anytime: datetimecreated_at: datetime
DataCreate¶
Attributes:
variable: strvalue: Optional[Union[str, int, float, bool]]group: Optional[str]unit: Optional[str]metadata: Optional[Metadata]time: Optional[Union[str, datetime]]location: Optional[Union[LocationGeoJSON, LocationLatLng, None]]
DataEdit¶
Attributes:
id: strvalue: Optional[Union[str, int, float, bool]]group: Optional[str]unit: Optional[str]metadata: Optional[Metadata]time: Optional[Union[str, datetime]]location: Optional[Union[LocationGeoJSON, LocationLatLng, None]]
TokenDataList¶
Attributes:
token: GenericTokenname: strtype: strpermission: PermissionOptionserie_number: Optional[str]last_authorization: Optional[datetime]verification_code: Optional[str]expire_time: ExpireTimeOptionref_id: strcreated_at: datetimecreated_by: Optional[str]
TokenData¶
Attributes:
name: strexpire_time: Optional[ExpireTimeOption]permission: PermissionOptionserie_number: Optional[str]verification_code: Optional[str]middleware: Optional[str]
Query¶
Attributes:
page: Optional[int]amount: Optional[int]fields: Optional[list[str]]filter: Optional[any]orderBy: Optional[list[“asc” or “desc”]]orderBy = { "page": 1, "fields": ["id", "name"], "filter": {"name": "test"}, "amount": 20, "orderBy": ["name": "asc"] }