Add

Description

Create a new Track. A Track is a sequence of positions recorded during a session. The track can be created and rules assigned, but it will not start until you register the first position in it.

URL

/VERSION/tracks/add.FORMAT

Available Format

JSON

HTTP Method

GET

Accepted Version

1

Requires

Authorization.

Headers

Parameters

  • access_token: (Required) access_token to user resources.
  • device: (Optional)device that creates the Track. This parameter is required when the application can use the physical devices of a user, the default option is disabled.
  • name: (Optional) Track description. Máx. 100 characters

Example

https://api.topoos.com/1/tracks/add.json?access_token=62f5280d-c954-4ee7-a0a8-68ff9c2810d8&name=Inicio+de+track

Reply
JSON example reply

{
    "id": 12678,
    "name": "Inicio de track",
    "device": 1,
    "positions": []
}