Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I submit workouts via API without a GPX file? #317

Open
profucius opened this issue Oct 26, 2024 · 0 comments
Open

How do I submit workouts via API without a GPX file? #317

profucius opened this issue Oct 26, 2024 · 0 comments

Comments

@profucius
Copy link

profucius commented Oct 26, 2024

I almost have the API request written but I am struggling to find how to submit a workout without a GPX file.

Using the Swagger link in the readme.md, I see the first option is POST /import/{program} but I do not see any options of how to proceed.

I want to be able to create a new workout with the API as if I was creating a new manual workout in the WebUI. For instance to set the Workout Type to walking and the Name, Date, Duration, and Distance values. Also the Equipment from the list. After submission, the new record would show in the Workouts tab, and be included in all statistics just like a manually entered workout would be.

How can I achieve that? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant