Export_Resource

Description

Generates a static document, called a resource, which will be publicly accessible. Previously content is anonymised to protect the privacy of users. The published resource can be accessed in an unsafe way, so it is appropriate to be shared with third-party services. Even having anonymized content, users must be careful and thorough study possible alternatives before deciding to use this type of public operation. topoos not guarantee that the appeal will endure over time after a long period without being accessed.

URL

/VERSION/export/TYPE/DATA.FORMAT

Available Format

JSON

HTTP Method

GET

Accepted Version

1

Requires

Authorization.

Headers

Parameters

  • access_token: (Required) access_token to user resources.
  • TYPE: (Required)This fragment determines the type of resource that you want to generate. For example to generate a KML layer resource type, its value is layer. Allowed values: layer.
  • DATA : (Required)┬áThis fragment specifies the data to be stored in the resource exported. For example, you can store a Track. Allowed values: Track.
  • FORMAT:(Required)┬áThis fragment sets the format of the response of this operation (not the format of the resource). Available values: json

Parameters if DATA is TRACK

When DATA value is TRACK, allowed a number of additional parameters, some of which may be mandatory:
Accepts all operation accepts parameters GetTrack.The mandatory parameters also coincide with those established in that operation.

Example

https://api.topoos.com/1/export/layer/Track.json?access_token=62f5280d-c954-4ee7-a0a8-68ff9c2810d8&track=12678&format=kml&total=5&initdate=1912-09-11T00%3A00%3A00.000%2B0000&endate=2012-12-05T13%3A11%3A21.340%2B0000

Reply
JSON example reply

{
    "id": 1016,
    "type": "layer",
    "format": "kml"
}