import_course_gpx
Parses a GPX file into a course WITHOUT saving it (courseId: null). Multipart POST (field file) to /course-service/course/import. Parses only, saves NOTHING: the result has courseId: null and a RESAMPLED track (13 GPX points came back as 37) with null elevations/timestamps; courseName is the GPX <name>. Only .gpx accepted (only .gpx verified); throws GarminError on an empty response.
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 |