/update_status

Used by the mobile application to update it's status.

post

/activity_track

Returns the activity track as a collection of JSON objects.

get

/activity_metadata

Returns the activity metadata as a collection of JSON objects.

get

/activity_sensordata

Returns the activity sensordata as a collection of JSON objects. Sensor names are specified as a comma-separated list.

get

/activity_summarydata

Returns data computed from the activity. Summmary items are specified as a comma-separated list.

get

/update_activity_metadata

post

/login

Authenticates a username and password.

post

/create_login

Creates a new account.

post

/login_status

Determines if the current user has a valid session token.

get

/logout

Terminates the current user's session.

post

/update_email

Updates the user's email address.

post

/update_password

Updates the user's password.

post

/delete_users_gear

Removes the current user's gear (all of it).

post

/delete_users_activities

Removes the current user's activity data (all of it).

post

/delete_user

Removes the current user and all associated data.

post

/list_devices

Returns a list of JSON objects describing all of the devices claimed by the logged in user.

get

/list_all_activities

Returns a list of JSON objects describing all of the user's activities and the activities of the user's friends.

get

/list_my_activities

Returns a list of JSON objects describing all of the user's activities.

get

/delete_activity

Removes the specified activity.

post

/add_activity

Used when manually creating an activity, such as when logging strength training activities.

post

/upload_activity_file

Creates a new activity from data contained with the appended file.

post

/upload_activity_photo

Uploads a photo and associates it with an activity.

post

/list_activity_photos

Lists all photos associated with an activity.

get

/delete_activity_photo

Deletes a photo and removes it from an activity.

post

/create_tags_on_activity

Sets the tags on an activity. Tags are provided in a dictionary {"tag0", "foo"|, {"tag1", "bar"), etc.

post

/delete_tag_from_activity

Deletes a tag from an activity.

post

/delete_sensor_data

Deletes the specified set of sensor data (power, cadence, heart rate, etc.) from an activity.

post

/list_matched_users

Lists user's whose usernames match the search criteria. Results are limited to the first 100 users.

post

/list_pending_friends

Lists the users who are requesting friendship with the logged in user.

get

/list_friends

Lists the users who are friends with the logged in user.

get

/request_to_be_friends

Sends a request to friend another user.

post

/confirm_request_to_be_friends

Takes a user to the pending friends list and adds them to the actual friends list.

post

/unfriend

Removes a user from the list of users that are friends with the logged in user.

post

/trim_activity

post

/export_activity

Returns the activity in the specified format.

get

/export_workout

Returns the workout in the specified format.

get

/claim_device

Associates the device specified by the unique identifier with the logged in user's account.

post

/list_tags

Lists the tags for the specified activity.

get

/create_comment

Adds a comment to the specified activity.

post

/list_comments

Lists comments for the specified activity.

get

/create_gear

Creates a new gear record for the current user, such as a new bike or pair of shoes.

post

/list_gear

Lists gear associated with the current user.

get

/list_gear_defaults

Lists the gear that is, by default, associated with each activity type.

get

/update_gear

Updates the gear name or description.

post

/update_gear_defaults

Updates the gear a user wants to associate with an activity type, by default, is received.

post

/delete_gear

Delete's the specified gear record and all associated service records.

delete

/retire_gear

Marks the specified gear as retired.

post

/create_service_record

Appends service information for a piece of gear (intended for tracking bicycle service data).

post

/delete_service_record

Deletes service informatio for a piece of gear.

delete

/create_race

Creates a race (workout goal) on a user's profile.

post

/create_race

Adds a race to the calendar.

post

/delete_race

Removes a race (workout goal) on a user's profile.

delete

/update_settings

post

/update_profile

post

/update_visibility

Updates activity visibility.

post

/refresh_analysis

Schedules the specified activity for (re)analysis.

post

/refresh_personal_records

Refreshes the cache of personal records in the event it may have become corrupted by deleting activities, or changing activity types.

post

/generate_workout_plan

Schedules workout plan generation. Will generate workouts for the week.

post

/list_planned_workouts

Lists planned/scheduled workouts.

get

/update_planned_workouts

Replace all of a user's planned/scheduled workouts.

post

/delete_planned_workout

Deletes a specified planned/scheduled workout.

delete

/delete_planned_workouts

Deletes all of a user's planned/scheduled workouts.

delete

/list_interval_workouts

Lists interval workouts.

get

/create_pace_plan

Creates a pace plan.

post

/list_pace_plans

Lists pace plans.

get

/delete_pace_plan

Deletes the specified pace plan.

delete

/get_workout_ical_url

Returns a link to the ical url for their planned workouts.

get

/get_location_description

Returns the political location that corresponds to an activity.

get

/get_location_summary

Returns the summary of all political locations in which activities have occurred. Result is a JSON string.

get

/activity_hash_from_id

Given the activity hash, return sthe activity ID, or an error if not found. Only looks at the logged in user's activities.

get

/has_activity

Given the activity ID has hash, returns whether or not the activity exists in the database for the logged in user.

get

/list_personal_records

Returns the user's personal records. Result is a JSON string.

get

/get_running_paces

Returns the user's estimated running paces. Result is a JSON string.

get

/get_distance_for_tag

Returns the amount of distance logged to activities with the given tag. Result is a JSON string.

get

/get_task_statuses

Returns a description of all deferred tasks for the logged in user. Result is a JSON string.

get

/get_record_progression

Returns an ordered list containing the time and activity ID of the user's record progression for the specified record and activity type, i.e. best running 5K. Result is a JSON string.

get

/get_user_setting

Returns the value associated with the specified user setting.

get

/get_user_settings

Returns a JSON list of values associated with the specified user settings. Input is a comma-separated list.

get

/estimate_vo2_max

Returns the user's estimated VO2 max.

get

/estimate_bmi

Returns the user's estimated BMI.

get

/list_power_zones

get

/list_hr_zones

get

/generate_api_key

Generates a new API key for the logged in user.

post

/delete_api_key

Deletes the specified API key.

delete

/list_api_keys

Returns the API keys associated witht he logged in user.

get

/list_activity_types

Returns the list of all activity types the software understands.

get

/list_workout_types_for_activity

Returns a the list of workout types that that correspond with the given activity type (i.e. running has easy runs, tempo runs, etc.).

get

/list_unsynched_activities

Returns any changes since the last time the device was synched.

get