Closed ericnicolaas closed 1 year ago
Add a new athlete.
Endpoint: POST /athlete/
POST /athlete/
Body:
Maybe include an optional parameter that sets whether to onboard the athlete's activities (#3).
The API endpoint should only be accessible from the client app; all other requests should be denied.
The response object should contain the athlete's ID.
Closing this as we have opted for a different approach, where the Strava connection is created via the Express server instead of via the client.
Add a new athlete.
Request
Endpoint:
POST /athlete/
Body:
Maybe include an optional parameter that sets whether to onboard the athlete's activities (#3).
The API endpoint should only be accessible from the client app; all other requests should be denied.
Response
The response object should contain the athlete's ID.