# \AthletesApi All URIs are relative to *https://www.strava.com/api/v3* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_logged_in_athlete**](AthletesApi.md#get_logged_in_athlete) | **GET** /athlete | Get Authenticated Athlete [**get_logged_in_athlete_zones**](AthletesApi.md#get_logged_in_athlete_zones) | **GET** /athlete/zones | Get Zones [**get_stats**](AthletesApi.md#get_stats) | **GET** /athletes/{id}/stats | Get Athlete Stats [**update_logged_in_athlete**](AthletesApi.md#update_logged_in_athlete) | **PUT** /athlete | Update Athlete ## get_logged_in_athlete > crate::models::DetailedAthlete get_logged_in_athlete() Get Authenticated Athlete Returns the currently authenticated athlete. Tokens with profile:read_all scope will receive a detailed athlete representation; all others will receive a summary representation. ### Parameters This endpoint does not need any parameter. ### Return type [**crate::models::DetailedAthlete**](DetailedAthlete.md) ### Authorization [strava_oauth](../README.md#strava_oauth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_logged_in_athlete_zones > crate::models::Zones get_logged_in_athlete_zones() Get Zones Returns the the authenticated athlete's heart rate and power zones. Requires profile:read_all. ### Parameters This endpoint does not need any parameter. ### Return type [**crate::models::Zones**](Zones.md) ### Authorization [strava_oauth](../README.md#strava_oauth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_stats > crate::models::ActivityStats get_stats(id) Get Athlete Stats Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibilty. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **i64** | The identifier of the athlete. Must match the authenticated athlete. | [required] | ### Return type [**crate::models::ActivityStats**](ActivityStats.md) ### Authorization [strava_oauth](../README.md#strava_oauth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## update_logged_in_athlete > crate::models::DetailedAthlete update_logged_in_athlete(weight) Update Athlete Update the currently authenticated athlete. Requires profile:write scope. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **weight** | **f32** | The weight of the athlete in kilograms. | [required] | ### Return type [**crate::models::DetailedAthlete**](DetailedAthlete.md) ### Authorization [strava_oauth](../README.md#strava_oauth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)