upload_activity
Uploads an activity file through Garmin's plain device-sync upload path. Multipart upload to the PLAIN /upload-service/upload path, no extension suffix and none of importActivity's load-bearing import headers (ordinary device-sync-shaped upload, distinct from importActivity's spoofed-client import).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The file's contents: plain text for .gpx/.tcx, base64 for .fit | |
| encoding | No | How content is encoded. Default utf8; use base64 for .fit | |
| filename | Yes | File name ending in .fit, .gpx or .tcx, e.g. morning-run.gpx |