Skip to content

Commit

Permalink
Fix POD for Upload Activity
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Wright committed Feb 19, 2015
1 parent 9179c65 commit d4dba04
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions lib/WebService/Strava.pm
Original file line number Diff line number Diff line change
Expand Up @@ -246,38 +246,46 @@ the following named arguments:
=over
=item 'file'
=item file
Expected to be a path to the file being uploaded.
=item 'type'
=item type
The Strava api accepts following file types: fit, fit.gz, tcx,
tcx.gz, gpx and gpx.gz. There is no current logic to detect what
sort is being uploaded (patches welcome), so you will need to set
it which ever file your uploading. ie 'gpx' for a GPX file.
=item 'activity_type'
=item activity_type
Optional, case insensitive string of following types (list may be
out of date check L<http://strava.github.io/api/v3/uploads/#post-file>
for up to date info): ride, run, swim, workout, hike, walk,
nordicski, alpineski, backcountryski, iceskate, inlineskate, kitesurf,
rollerski, windsurf, workout, snowboard, snowshoe. Type detected from
file overrides, uses athlete’s default type if not specified.
=item 'name'
=item name
Optional string, if not provided, will be populated using start date
and location, if available.
=item 'description'
=item description
Optional. Left blank if not provided.
=item 'private'
=item private
Sets the Activity to Private.
=item 'trainer'
=item trainer
Optional integer, activities without lat/lng info in the file are
auto marked as stationary, set to 1 to force.
=item 'external_id'
=item external_id
Optional string, data filename will be used by default but should
be a unique identifier.
Expand Down

0 comments on commit d4dba04

Please sign in to comment.