Import a file
POST/api/v1/imports
Uploads a file and starts an import job. Supported formats: owntracks (.json), gpx (.gpx, or .zip with several GPX files), google-timeline (.json), geojson (.json, .geojson), csv (.csv), and geopulse (.zip created by a GeoPulse export). The optional options part (JSON) can limit the import to a time range and replace existing data in that range. Only one import can run at a time. The import runs in the background; poll GET /api/v1/imports/{importJobId} for progress. A reverse proxy in front of GeoPulse may limit the upload size.
Access: Any signed-in user, with a session or an API token.
Request
Responses
- 200
- 401
- 403
OK
Authentication is required or the provided credentials are invalid.
The authenticated user does not have permission to access this resource.