OwnTracks Recorder API (1.0)

Download OpenAPI specification:Download

Store and access data published by OwnTracks apps.

system

Service Details

will let you know, whoami

Responses

Response samples

Content type
application/json
{
  • "message": "string"
}

Service Health

will let you know the heart beats

Responses

Response samples

Content type
application/json
{
  • "message": "string"
}

location

last location

User last ping location

Responses

Response samples

Content type
application/json
{
  • "accuracy": 0,
  • "altitude": 0,
  • "battery_level": "string",
  • "battery_status": "string",
  • "date_time": "string",
  • "device": "string",
  • "ip_address": "string",
  • "latitude": 0,
  • "longitude": 0,
  • "map_link": "string",
  • "mode": "string",
  • "username": "string",
  • "velocity": 0,
  • "vertical_accuracy": 0,
  • "wifi_mac": "string",
  • "wifi_name": "string"
}

Ping Location

store location ping from mobile app

header Parameters
x-limit-u
required
string

{username}

x-limit-d
required
string

{device}

X-Real-ID
required
string

{client_ip}

Request Body schema: application/json

Ping Payload Details Here

BSSID
string
SSID
string
_type
required
string
acc
integer
alt
integer
batt
integer
bs
integer
lat
required
number
lon
required
number
m
integer
t
string
tid
string
tst
required
integer
vac
integer
vel
integer

Responses

Request samples

Content type
application/json
{
  • "BSSID": "string",
  • "SSID": "string",
  • "_type": "string",
  • "acc": 0,
  • "alt": 0,
  • "batt": 0,
  • "bs": 0,
  • "lat": 0,
  • "lon": 0,
  • "m": 0,
  • "t": "string",
  • "tid": "string",
  • "tst": 0,
  • "vac": 0,
  • "vel": 0
}

Response samples

Content type
application/json
[
  • "string"
]

hooks

Telegram Hook

get user last location in telegram via bot

header Parameters
X-Telegram-Bot-Api-Secret-Token
required
string

{bot_secret_token}

Request Body schema: application/json

Payload Details Here

object (model.TGMessage)
update_id
integer

Responses

Request samples

Content type
application/json
{
  • "Message": {
    },
  • "update_id": 0
}

Response samples

Content type
application/json
{
  • "chat_id": 0,
  • "disable_web_page_preview": true,
  • "method": "string",
  • "parse_mode": "string",
  • "reply_to_message_id": 0,
  • "text": "string"
}