Endpoint: /tilehistory
Request Data Parameters
Parameter |
Required |
Type |
Description |
tile_id |
yes |
INT |
|
startDate |
yes |
TIMESTAMP STRING |
in the format "2024-07-11 00:00:00" |
endDate |
yes |
TIMESTAMP STRING |
n the format "2024-07-11 00:00:00" |
Example Request Payload
{
"tile_id": 1,
"startDate": "2024-07-01 00:00:00",
"endDate": "2024-07-31 23:59:59"
}
Description
Returns a list of position objects for the tile_id requested.
Response Data Parameters
Parameter |
Required |
Type |
Description |
error |
yes |
BOOLEAN |
|
message |
yes |
INT |
|
tile_id |
yes |
INT |
|
positions |
yes |
Array [ INT: position LONG: Unix Timestamp ] |
Array of tile objects |
Example Response
{
"error":false,
"message":"Success",
"tile_id": 1,
“positions”:
[
{
"position": 1,
"timestamp": 1691844180
}
]
}
Example Error Response
{
"error":true,
"message":"Invalid API Key",
}