So using postman, this endpoint
https://{{server}}/api/v1/athlete/{{id}}/weather-config
returns
"forecasts": [
{
"id": 1,
"provider": "OPEN_WEATHER",
"location": "London,England,GB",
"label": "London",
"lat": 51.50853,
"lon": -0.12574,
"enabled": true
}
]
}
While this one
https://{{server}}/api/v1/athlete/{{id}}/weather-forecast
returns
{
"forecasts": [
{
"id": 1,
"provider": "OPEN_WEATHER",
"location": "London,England,GB",
"label": "London",
"lat": 51.50853,
"lon": -0.12574,
"error": null,
"daily": [
{
"id": "2024-11-23",
"pressure": 1003.0,
"humidity": 87.0,
"dew_point": 12.167119,
"clouds": 100.0,
"wind_speed": 11.41,
"wind_deg": 202.0,
"wind_gust": 24.11,
"rain": 9.66,
"snow": 0.0,
"weather": [
{
"id": 501,
"main": null,
"description": "moderate rain",
"icon": "10d"
}
],
"sunrise": "07:32",
"sunset": "16:01",
"moon_phase": 0.0,
"temp": {
"day": 9.08,
"night": 14.3,
"eve": 12.96,
"morn": 4.07,
"min": 3.31,
"max": 14.3
},
"feels_like": {
"day": 5.15,
"night": 14.11,
"eve": 12.71,
"morn": 2.11
}
}, ...
So I think the endpoints work as intended it’s just the the docs for the latter endpoint are incorrect