diff --git a/docs/api/configuration.html b/docs/api/configuration.html index 2b5f4f41..7837f53a 100644 --- a/docs/api/configuration.html +++ b/docs/api/configuration.html @@ -191,13 +191,8 @@
auth_user_id (integer) – authenticate user id (from JSON Web Token)
gpx_limit_import (integer) – max number of files in zip archive
is_registration_enabled (boolean) – is registration enabled ?
max_single_file_size (integer) – max size of a single file
max_users (integer) – max users allowed to register on instance
Authorization – OAuth 2.0 Bearer Token
200 OK – success
400 Bad Request – invalid payload
auth_user_id (integer) – authenticate user id (from JSON Web Token)
Authorization – OAuth 2.0 Bearer Token
200 OK – success
provide a valid auth token
auth_user_id (integer) – authenticate user id (from JSON Web Token)
Authorization – OAuth 2.0 Bearer Token
200 OK – success
provide a valid auth token
auth_user_id (integer) – authenticate user id (from JSON Web Token)
sport_id (integer) – sport id
auth_user_id (integer) – authenticate user id (from JSON Web Token)
sport_id (integer) – sport id
auth_user_id (integer) – authenticate user id (from JSON Web Token)
user_name (integer) – user name
auth_user_id (integer) – authenticate user id (from JSON Web Token)
user_name (integer) – user name
auth_user_id (integer) – authenticate user id (from JSON Web Token)
Authorization – OAuth 2.0 Bearer Token
200 OK – success
provide a valid auth token
auth_user_id (integer) – authenticate user id (from JSON Web Token)
page (integer) – page if using pagination (default: 1)
per_page (integer) – number of users per page (default: 10, max: 50)
q (string) – query on user name
order (string) – sorting order (default: asc
)
Authorization – OAuth 2.0 Bearer Token
200 OK – success
provide a valid auth token
auth_user_id (integer) – authenticate user id (from JSON Web Token)
user_name (integer) – user name
auth_user_id (integer) – authenticate user id (from JSON Web Token)
user_name (string) – user name
auth_user_id (integer) – authenticate user id (from JSON Web Token)
user_name (string) – user name
auth_user_id (integer) – authenticate user id (from JSON Web Token)
page (integer) – page if using pagination (default: 1)
per_page (integer) – number of workouts per page (default: 5, max: 100)
order (string) – sorting order (default: desc
)
Authorization – OAuth 2.0 Bearer Token
200 OK – success
provide a valid auth token
auth_user_id (integer) – authenticate user id (from JSON Web Token)
workout_short_id (string) – workout short id
auth_user_id (integer) – authenticate user id (from JSON Web Token)
workout_short_id (string) – workout short id
auth_user_id (integer) – authenticate user id (from JSON Web Token)
workout_short_id (string) – workout short id
auth_user_id (integer) – authenticate user id (from JSON Web Token)
workout_short_id (string) – workout short id
segment_id (integer) – segment id
auth_user_id (integer) – authenticate user id (from JSON Web Token)
workout_short_id (string) – workout short id
segment_id (integer) – segment id
auth_user_id (integer) – authenticate user id (from JSON Web Token)
workout_short_id (string) – workout short id
auth_user_id (integer) – authenticate user id (from JSON Web Token)
file – gpx file (allowed extensions: .gpx, .zip)
data – sport id and notes (example: {"sport_id": 1, "notes": ""}
)
Authorization – OAuth 2.0 Bearer Token
201 Created – workout created
invalid payload
auth_user_id (integer) – authenticate user id (from JSON Web Token)
workout_date (string) – workout date (format: %Y-%m-%d %H:%M
)
distance (float) – workout distance in km
duration (integer) – workout duration in seconds
title (string) – workout title
Authorization – OAuth 2.0 Bearer Token
201 Created – workout created
400 Bad Request – invalid payload
auth_user_id (integer) – authenticate user id (from JSON Web Token)
workout_short_id (string) – workout short id
auth_user_id (integer) – authenticate user id (from JSON Web Token)
workout_short_id (string) – workout short id