{"openapi":"3.1.0","info":{"title":"ClimbingMetrics Public API","description":"OpenAPI-описание методов и форматов данных ClimbingMetrics.","version":"1.4"},"paths":{"/auth/public/installations":{"post":{"tags":["auth"],"summary":"Register Public Installation","description":"Register or refresh a public mobile installation challenge.\n\nThe public client id identifies the service; the device key proves the\ninstallation later. No client secret is accepted or needed here.","operationId":"register_public_installation_auth_public_installations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicInstallationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/token":{"post":{"tags":["auth"],"summary":"Get Token","description":"Issue legacy Bearer JWTs or installation-bound DPoP tokens.","operationId":"get_token_auth_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh Token","description":"Legacy Bearer refresh endpoint retained for existing integrations.","operationId":"refresh_token_auth_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/recommendations/{athlete_id}/enter-tests":{"post":{"tags":["algorithm-v1"],"summary":"Enter Tests","description":"Run the selected protocol; unavailable exercise setups appear in errors.\n\nA null exercise load requires individual setup, never an assumed bodyweight.","operationId":"enter_tests_api_v1_recommendations__athlete_id__enter_tests_post","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterTestsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recommendations/{athlete_id}/recovery/confirm":{"post":{"tags":["algorithm-v1"],"summary":"Confirm Recovery File","description":"Activate recovery only after explicit user confirmation.\n\nFile generation, download and share-intent completion happen on the mobile\nclient and cannot prove that a user retained the file. This endpoint is the\nexplicit acknowledgement boundary; the operation is naturally idempotent\nbecause an already-enabled profile can only repeat the same file/version.","operationId":"confirm_recovery_file_api_v1_recommendations__athlete_id__recovery_confirm_post","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryConfirmationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/algorithms/test-methods":{"get":{"tags":["algorithms"],"summary":"Get Test Methods","operationId":"get_test_methods_api_v1_algorithms_test_methods_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/algorithms/calculate-test":{"post":{"tags":["algorithms"],"summary":"Calculate Sensor Test","operationId":"calculate_sensor_test_api_v1_algorithms_calculate_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RawCapture"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/algorithms/help":{"get":{"tags":["algorithms"],"summary":"Get Algorithm Help","description":"Return the scoped machine-readable contract for one algorithm.","operationId":"get_algorithm_help_api_v1_algorithms_help_get","parameters":[{"name":"version","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":40,"title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training-plans/{athlete_id}":{"get":{"tags":["training-plans"],"summary":"Get Training Plans","operationId":"get_training_plans_api_v1_training_plans__athlete_id__get","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training-plans/id/{plan_id}":{"get":{"tags":["training-plans"],"summary":"Get Training Plan","operationId":"get_training_plan_api_v1_training_plans_id__plan_id__get","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"integer","title":"Plan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training-plans/id/{plan_id}/feedback":{"post":{"tags":["training-plans"],"summary":"Submit Training Plan Feedback Api","operationId":"submit_training_plan_feedback_api_api_v1_training_plans_id__plan_id__feedback_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"integer","title":"Plan Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitTrainingPlanFeedbackRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/athletes/register":{"post":{"tags":["product-auth"],"summary":"Register Athlete","operationId":"register_athlete_api_v1_product_auth_athletes_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AthleteRegistrationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/coaches/register":{"post":{"tags":["product-auth"],"summary":"Register Coach","operationId":"register_coach_api_v1_product_auth_coaches_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoachRegistrationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/sessions/refresh":{"post":{"tags":["product-auth"],"summary":"Refresh Product Session","operationId":"refresh_product_session_api_v1_product_auth_sessions_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductRefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/web/login":{"post":{"tags":["product-auth"],"summary":"Web Login","operationId":"web_login_api_v1_product_auth_web_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/web/recovery/inspect":{"post":{"tags":["product-auth"],"summary":"Web Recovery Inspect","operationId":"web_recovery_inspect_api_v1_product_auth_web_recovery_inspect_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebRecoveryInspectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/web/recovery/complete":{"post":{"tags":["product-auth"],"summary":"Web Recovery Complete","operationId":"web_recovery_complete_api_v1_product_auth_web_recovery_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebRecoveryCompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/recovery/inspect":{"post":{"tags":["product-auth"],"summary":"Inspect Recovery","operationId":"inspect_recovery_api_v1_product_auth_recovery_inspect_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryInspectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/recovery/complete":{"post":{"tags":["product-auth"],"summary":"Complete Recovery","operationId":"complete_recovery_api_v1_product_auth_recovery_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/claims/inspect":{"post":{"tags":["product-auth"],"summary":"Inspect Claim","operationId":"inspect_claim_api_v1_product_auth_claims_inspect_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimInspectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-auth/claims/complete":{"post":{"tags":["product-auth"],"summary":"Complete Claim","operationId":"complete_claim_api_v1_product_auth_claims_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimCompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/me":{"get":{"tags":["product-auth"],"summary":"Product Me","operationId":"product_me_api_v1_product_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/product/me/login":{"patch":{"tags":["product-auth"],"summary":"Change Product Login","operationId":"change_product_login_api_v1_product_me_login_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginChangeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/web/me":{"get":{"tags":["product-auth"],"summary":"Product Web Me","operationId":"product_web_me_api_v1_product_web_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/product/web/logout":{"post":{"tags":["product-auth"],"summary":"Product Web Logout","operationId":"product_web_logout_api_v1_product_web_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/product/sessions/logout":{"post":{"tags":["product-auth"],"summary":"Logout Product Session","operationId":"logout_product_session_api_v1_product_sessions_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/product/recovery/confirm":{"post":{"tags":["product-auth"],"summary":"Confirm Product Recovery","operationId":"confirm_product_recovery_api_v1_product_recovery_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryConfirmRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/coaches/me/athletes":{"get":{"tags":["product-auth"],"summary":"List Coach Athletes","operationId":"list_coach_athletes_api_v1_product_coaches_me_athletes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["product-auth"],"summary":"Create Coach Athlete","operationId":"create_coach_athlete_api_v1_product_coaches_me_athletes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalAthleteCard"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/coaches/me/self-athlete":{"post":{"tags":["product-auth"],"summary":"Create Coach Self Athlete","operationId":"create_coach_self_athlete_api_v1_product_coaches_me_self_athlete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalAthleteCard"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/coaches/me/athletes/{athlete_id}":{"patch":{"tags":["product-auth"],"summary":"Update Coach Athlete","operationId":"update_coach_athlete_api_v1_product_coaches_me_athletes__athlete_id__patch","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfilePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/coaches/me/athletes/{athlete_id}/measurements":{"post":{"tags":["product-auth"],"summary":"Create Coach Measurement","operationId":"create_coach_measurement_api_v1_product_coaches_me_athletes__athlete_id__measurements_post","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["product-auth"],"summary":"List Coach Measurements","operationId":"list_coach_measurements_api_v1_product_coaches_me_athletes__athlete_id__measurements_get","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/coaches/me/athletes/{athlete_id}/invites":{"post":{"tags":["product-auth"],"summary":"Create Athlete Invite","operationId":"create_athlete_invite_api_v1_product_coaches_me_athletes__athlete_id__invites_post","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/coaches/me/athletes/{athlete_id}/invites/status":{"get":{"tags":["product-auth"],"summary":"Get Athlete Invite Status","operationId":"get_athlete_invite_status_api_v1_product_coaches_me_athletes__athlete_id__invites_status_get","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/coaches/me/athletes/{athlete_id}/invites/current":{"delete":{"tags":["product-auth"],"summary":"Revoke Athlete Invite","operationId":"revoke_athlete_invite_api_v1_product_coaches_me_athletes__athlete_id__invites_current_delete","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/coaches/me/athletes/{athlete_id}/history":{"get":{"tags":["product-auth"],"summary":"Get Athlete History","operationId":"get_athlete_history_api_v1_product_coaches_me_athletes__athlete_id__history_get","parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/athletes/me":{"get":{"tags":["product-auth"],"summary":"Get Athlete Self","operationId":"get_athlete_self_api_v1_product_athletes_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"patch":{"tags":["product-auth"],"summary":"Update Athlete Self","operationId":"update_athlete_self_api_v1_product_athletes_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfilePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/athletes/me/measurements":{"get":{"tags":["product-auth"],"summary":"List Athlete Measurements","operationId":"list_athlete_measurements_api_v1_product_athletes_me_measurements_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["product-auth"],"summary":"Create Athlete Measurement","operationId":"create_athlete_measurement_api_v1_product_athletes_me_measurements_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/athletes/me/raw-tests":{"post":{"tags":["product-auth"],"summary":"Save Athlete Raw Test","operationId":"save_athlete_raw_test_api_v1_product_athletes_me_raw_tests_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RawTestSessionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["product-auth"],"summary":"List Athlete Raw Tests","operationId":"list_athlete_raw_tests_api_v1_product_athletes_me_raw_tests_get","parameters":[{"name":"include_samples","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Samples"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/athletes/me/raw-tests/{session_id}":{"get":{"tags":["product-auth"],"summary":"Get Athlete Raw Test","operationId":"get_athlete_raw_test_api_v1_product_athletes_me_raw_tests__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product/athletes/me/raw-tests/{session_id}/calculate":{"post":{"tags":["product-auth"],"summary":"Recalculate Athlete Raw Test","operationId":"recalculate_athlete_raw_test_api_v1_product_athletes_me_raw_tests__session_id__calculate_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/site/sections":{"get":{"tags":["site-news"],"summary":"Public Site Sections","operationId":"public_site_sections_api_v1_site_sections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/site/debug-sections":{"get":{"tags":["site-news"],"summary":"Public Debug Site Sections","operationId":"public_debug_site_sections_api_v1_site_debug_sections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/site/sections/{section}":{"get":{"tags":["site-news"],"summary":"Public Section Articles","description":"Canonical section API: section keys match the public section names.","operationId":"public_section_articles_api_v1_site_sections__section__get","parameters":[{"name":"section","in":"path","required":true,"schema":{"type":"string","title":"Section"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/site/sections/{section}/{number}":{"get":{"tags":["site-news"],"summary":"Public Section Article By Number","operationId":"public_section_article_by_number_api_v1_site_sections__section___number__get","parameters":[{"name":"section","in":"path","required":true,"schema":{"type":"string","title":"Section"}},{"name":"number","in":"path","required":true,"schema":{"type":"integer","title":"Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AthleteInput":{"properties":{"id":{"type":"string","minLength":1,"title":"Id"},"external_user_id":{"type":"string","minLength":1,"title":"External User Id"},"service_id":{"type":"string","minLength":1,"title":"Service Id"},"first_name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Last Name"},"sex":{"type":"string","minLength":1,"title":"Sex","default":"unspecified"},"age":{"type":"integer","maximum":120.0,"minimum":0.0,"title":"Age"},"height_cm":{"type":"number","exclusiveMinimum":0.0,"title":"Height Cm"},"bodyweight":{"type":"number","exclusiveMinimum":0.0,"title":"Bodyweight"}},"type":"object","required":["id","external_user_id","service_id","age","height_cm","bodyweight"],"title":"AthleteInput","description":"Canonical athlete profile shared by protocol implementations."},"AthleteRegistrationCard":{"properties":{"local_profile_id":{"type":"string","maxLength":128,"minLength":1,"title":"Local Profile Id"},"athlete_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Athlete Id"},"external_user_id":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"External User Id"},"profile":{"$ref":"#/components/schemas/AthleteRegistrationProfilePayload"}},"type":"object","required":["local_profile_id","profile"],"title":"AthleteRegistrationCard"},"AthleteRegistrationProfilePayload":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Display Name"},"first_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Last Name"},"pseudonym":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Pseudonym"},"comment":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Comment"},"age":{"type":"integer","maximum":120.0,"minimum":1.0,"title":"Age"},"sex":{"anyOf":[{"type":"string","enum":["male","female","unspecified"]},{"type":"null"}],"title":"Sex"},"height_cm":{"type":"number","maximum":260.0,"exclusiveMinimum":0.0,"title":"Height Cm"},"bodyweight":{"type":"number","maximum":400.0,"exclusiveMinimum":0.0,"title":"Bodyweight"},"climbing_current_level":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Climbing Current Level"},"experience_years":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Experience Years"},"primary_focus":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Primary Focus"},"equipment":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Equipment"},"optional_data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Optional Data"}},"type":"object","required":["age","height_cm","bodyweight"],"title":"AthleteRegistrationProfilePayload","description":"Complete climbing profile required when an athlete creates an account."},"AthleteRegistrationRequest":{"properties":{"registration_key":{"type":"string","maxLength":128,"minLength":8,"title":"Registration Key"},"password":{"type":"string","maxLength":128,"minLength":10,"title":"Password"},"recovery_question":{"type":"string","maxLength":500,"minLength":1,"title":"Recovery Question"},"recovery_answer":{"type":"string","maxLength":500,"minLength":1,"title":"Recovery Answer"},"card":{"$ref":"#/components/schemas/AthleteRegistrationCard"}},"type":"object","required":["registration_key","password","recovery_question","recovery_answer","card"],"title":"AthleteRegistrationRequest"},"CaptureContext":{"properties":{"measured_at":{"type":"string","format":"date-time","title":"Measured At"},"bodyweight_kg":{"anyOf":[{"type":"number","maximum":400.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Bodyweight Kg"},"setup":{"$ref":"#/components/schemas/TestSetup"}},"additionalProperties":false,"type":"object","required":["measured_at","setup"],"title":"CaptureContext"},"ClaimCompleteRequest":{"properties":{"registration_key":{"type":"string","maxLength":128,"minLength":8,"title":"Registration Key"},"password":{"type":"string","maxLength":128,"minLength":10,"title":"Password"},"recovery_question":{"type":"string","maxLength":500,"minLength":1,"title":"Recovery Question"},"recovery_answer":{"type":"string","maxLength":500,"minLength":1,"title":"Recovery Answer"},"invite_id":{"type":"string","maxLength":64,"minLength":1,"title":"Invite Id"},"token":{"type":"string","maxLength":256,"minLength":1,"title":"Token"},"integrity":{"type":"string","maxLength":64,"minLength":64,"title":"Integrity"}},"type":"object","required":["registration_key","password","recovery_question","recovery_answer","invite_id","token","integrity"],"title":"ClaimCompleteRequest"},"ClaimInspectRequest":{"properties":{"invite_id":{"type":"string","maxLength":64,"minLength":1,"title":"Invite Id"},"token":{"type":"string","maxLength":256,"minLength":1,"title":"Token"},"integrity":{"type":"string","maxLength":64,"minLength":64,"title":"Integrity"}},"type":"object","required":["invite_id","token","integrity"],"title":"ClaimInspectRequest"},"CoachRegistrationRequest":{"properties":{"registration_key":{"type":"string","maxLength":128,"minLength":8,"title":"Registration Key"},"password":{"type":"string","maxLength":128,"minLength":10,"title":"Password"},"recovery_question":{"type":"string","maxLength":500,"minLength":1,"title":"Recovery Question"},"recovery_answer":{"type":"string","maxLength":500,"minLength":1,"title":"Recovery Answer"},"display_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Display Name"},"cards":{"items":{"$ref":"#/components/schemas/LocalAthleteCard"},"type":"array","maxItems":500,"minItems":2,"title":"Cards"}},"type":"object","required":["registration_key","password","recovery_question","recovery_answer","cards"],"title":"CoachRegistrationRequest"},"EnterTestsRequest":{"properties":{"algorithm_version":{"type":"string","maxLength":40,"minLength":1,"title":"Algorithm Version"},"athlete":{"$ref":"#/components/schemas/AthleteInput"},"measurements":{"type":"object","title":"Measurements"},"optional":{"type":"object","title":"Optional"}},"type":"object","required":["algorithm_version","athlete"],"title":"EnterTestsRequest"},"ExerciseFeedbackRequest":{"properties":{"exercise_id":{"type":"string","maxLength":100,"minLength":1,"title":"Exercise Id"},"difficulty":{"type":"integer","maximum":11.0,"minimum":1.0,"title":"Difficulty"},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"}},"type":"object","required":["exercise_id","difficulty"],"title":"ExerciseFeedbackRequest"},"ForceAttempt":{"properties":{"attempt":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Attempt"},"started_at_us":{"type":"integer","minimum":0.0,"title":"Started At Us"},"ended_at_us":{"type":"integer","exclusiveMinimum":0.0,"title":"Ended At Us"},"samples":{"items":{"$ref":"#/components/schemas/ForceSample"},"type":"array","maxItems":20000,"minItems":2,"title":"Samples"}},"additionalProperties":false,"type":"object","required":["attempt","started_at_us","ended_at_us","samples"],"title":"ForceAttempt"},"ForceSample":{"properties":{"seq":{"type":"integer","minimum":0.0,"title":"Seq"},"t_us":{"type":"integer","minimum":0.0,"title":"T Us"},"force_kg":{"type":"number","maximum":2000.0,"minimum":-2000.0,"title":"Force Kg"}},"additionalProperties":false,"type":"object","required":["seq","t_us","force_kg"],"title":"ForceSample"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InjuryFeedbackRequest":{"properties":{"active_injury":{"type":"boolean","title":"Active Injury","default":false},"body_region":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Body Region"},"side":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Side"}},"type":"object","title":"InjuryFeedbackRequest"},"LocalAthleteCard":{"properties":{"local_profile_id":{"type":"string","maxLength":128,"minLength":1,"title":"Local Profile Id"},"athlete_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Athlete Id"},"external_user_id":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"External User Id"},"profile":{"$ref":"#/components/schemas/ProfilePayload"}},"type":"object","required":["local_profile_id"],"title":"LocalAthleteCard"},"LoginChangeRequest":{"properties":{"login":{"type":"string","maxLength":80,"minLength":1,"title":"Login"}},"type":"object","required":["login"],"title":"LoginChangeRequest"},"MeasurementPayload":{"properties":{"measurement_method":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Measurement Method"},"measurement_units":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Measurement Units"},"measurement_side":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Measurement Side"},"fmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fmax"},"fmax_left":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fmax Left"},"fmax_right":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fmax Right"},"pl":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pl"},"pl_left":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pl Left"},"pl_right":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pl Right"},"cf":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cf"},"cf_left":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cf Left"},"cf_right":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cf Right"},"cf_14mm_left":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Cf 14Mm Left"},"cf_14mm_right":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Cf 14Mm Right"},"td_left_no_extrap":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Td Left No Extrap"},"td_right_no_extrap":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Td Right No Extrap"},"td_left":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Td Left"},"td_right":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Td Right"},"td_left_extrap_1s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Td Left Extrap 1S"},"td_left_extrap_0s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Td Left Extrap 0S"},"td_right_extrap_1s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Td Right Extrap 1S"},"td_right_extrap_0s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Td Right Extrap 0S"},"rfd_left":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rfd Left"},"rfd_right":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rfd Right"},"rfd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rfd"},"pinch_40":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pinch 40"},"pinch_60":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pinch 60"},"bodyweight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bodyweight"},"tech_penalty":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tech Penalty"},"pain_level":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pain Level"},"tone_level":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tone Level"},"overload_days":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Overload Days"},"injury_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Injury Active"},"climbing_current_level":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Climbing Current Level"}},"type":"object","title":"MeasurementPayload"},"ProductRefreshRequest":{"properties":{"session_id":{"type":"string","maxLength":64,"minLength":1,"title":"Session Id"},"refresh_token":{"type":"string","maxLength":256,"minLength":1,"title":"Refresh Token"}},"type":"object","required":["session_id","refresh_token"],"title":"ProductRefreshRequest"},"ProfilePayload":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Display Name"},"first_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Last Name"},"pseudonym":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Pseudonym"},"comment":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Comment"},"age":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":1.0},{"type":"null"}],"title":"Age"},"sex":{"anyOf":[{"type":"string","enum":["male","female","unspecified"]},{"type":"null"}],"title":"Sex"},"height_cm":{"anyOf":[{"type":"number","maximum":260.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Height Cm"},"bodyweight":{"anyOf":[{"type":"number","maximum":400.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Bodyweight"},"climbing_current_level":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Climbing Current Level"},"experience_years":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Experience Years"},"primary_focus":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Primary Focus"},"equipment":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Equipment"},"optional_data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Optional Data"}},"type":"object","title":"ProfilePayload"},"PublicInstallationRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"public_key_jwk":{"type":"object","minProperties":1,"title":"Public Key Jwk"},"platform":{"type":"string","maxLength":20,"minLength":1,"title":"Platform"},"app_version":{"type":"string","maxLength":40,"minLength":1,"title":"App Version"}},"type":"object","required":["client_id","public_key_jwk","platform","app_version"],"title":"PublicInstallationRequest"},"RawCapture":{"properties":{"schema_version":{"type":"string","enum":["raw-measurements-v2"],"const":"raw-measurements-v2","title":"Schema Version"},"session_id":{"type":"string","maxLength":100,"minLength":1,"title":"Session Id"},"test_key":{"type":"string","maxLength":80,"minLength":1,"title":"Test Key"},"side":{"type":"string","enum":["left","right"],"title":"Side"},"calculation_method":{"type":"string","maxLength":80,"minLength":1,"title":"Calculation Method"},"force_unit":{"type":"string","enum":["kg"],"const":"kg","title":"Force Unit","default":"kg"},"context":{"$ref":"#/components/schemas/CaptureContext"},"sensor_metadata":{"type":"object","title":"Sensor Metadata"},"attempts":{"items":{"$ref":"#/components/schemas/ForceAttempt"},"type":"array","maxItems":24,"minItems":1,"title":"Attempts"},"quality":{"type":"object","title":"Quality"},"derived":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Derived"}},"additionalProperties":false,"type":"object","required":["schema_version","session_id","test_key","side","calculation_method","context","attempts"],"title":"RawCapture"},"RawTestSessionPayload":{"properties":{"session_id":{"type":"string","maxLength":100,"minLength":1,"title":"Session Id"},"test_key":{"type":"string","maxLength":80,"minLength":1,"title":"Test Key"},"side":{"type":"string","enum":["left","right","bilateral","unknown"],"title":"Side","default":"unknown"},"schema_version":{"type":"string","enum":["raw-measurements-v1","raw-measurements-v2"],"title":"Schema Version"},"calculation_method":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Calculation Method"},"force_unit":{"type":"string","maxLength":20,"minLength":1,"title":"Force Unit","default":"kg"},"sensor_metadata":{"type":"object","title":"Sensor Metadata"},"attempts":{"items":{"type":"object"},"type":"array","maxItems":100,"title":"Attempts"},"quality":{"type":"object","title":"Quality"},"derived":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Derived"},"context":{"type":"object","title":"Context"}},"type":"object","required":["session_id","test_key","schema_version"],"title":"RawTestSessionPayload"},"RecoveryCompleteRequest":{"properties":{"account_id":{"type":"string","maxLength":64,"minLength":1,"title":"Account Id"},"recovery_token":{"type":"string","maxLength":256,"minLength":1,"title":"Recovery Token"},"password":{"type":"string","maxLength":128,"minLength":10,"title":"Password"},"recovery_answer":{"type":"string","maxLength":500,"minLength":1,"title":"Recovery Answer"}},"type":"object","required":["account_id","recovery_token","password","recovery_answer"],"title":"RecoveryCompleteRequest"},"RecoveryConfirmRequest":{"properties":{"confirmed":{"type":"boolean","title":"Confirmed"},"file_version":{"type":"integer","minimum":1.0,"title":"File Version","default":1}},"type":"object","required":["confirmed"],"title":"RecoveryConfirmRequest"},"RecoveryConfirmationRequest":{"properties":{"recovery_file_id":{"type":"string","maxLength":128,"minLength":1,"title":"Recovery File Id"},"recovery_file_version":{"type":"integer","minimum":1.0,"title":"Recovery File Version"},"confirmed":{"type":"boolean","title":"Confirmed"}},"type":"object","required":["recovery_file_id","recovery_file_version","confirmed"],"title":"RecoveryConfirmationRequest"},"RecoveryInspectRequest":{"properties":{"account_id":{"type":"string","maxLength":64,"minLength":1,"title":"Account Id"},"recovery_token":{"type":"string","maxLength":256,"minLength":1,"title":"Recovery Token"}},"type":"object","required":["account_id","recovery_token"],"title":"RecoveryInspectRequest"},"SubmitTrainingPlanFeedbackRequest":{"properties":{"session_id":{"type":"string","maxLength":100,"minLength":1,"title":"Session Id"},"injury":{"anyOf":[{"$ref":"#/components/schemas/InjuryFeedbackRequest"},{"type":"null"}]},"comment":{"type":"string","maxLength":2000,"title":"Comment","default":""},"exercise_feedback":{"items":{"$ref":"#/components/schemas/ExerciseFeedbackRequest"},"type":"array","title":"Exercise Feedback"}},"type":"object","required":["session_id"],"title":"SubmitTrainingPlanFeedbackRequest"},"TestSetup":{"properties":{"edge_mm":{"anyOf":[{"type":"integer","enum":[14,20]},{"type":"null"}],"title":"Edge Mm"},"pinch_width_mm":{"anyOf":[{"type":"integer","enum":[40,60]},{"type":"null"}],"title":"Pinch Width Mm"},"grip":{"type":"string","enum":["half_crimp","open_hand","pinch"],"title":"Grip"},"position":{"type":"string","maxLength":100,"minLength":1,"title":"Position"},"device_id":{"type":"string","maxLength":100,"minLength":1,"title":"Device Id"}},"additionalProperties":false,"type":"object","required":["grip","position","device_id"],"title":"TestSetup"},"TokenRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Secret"},"grant_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Type"},"installation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installation Id"},"challenge_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Challenge Id"},"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"}},"type":"object","required":["client_id"],"title":"TokenRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebLoginRequest":{"properties":{"login":{"type":"string","maxLength":80,"minLength":1,"title":"Login"},"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"},"service_name":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Service Name"}},"type":"object","required":["login","password"],"title":"WebLoginRequest"},"WebRecoveryCompleteRequest":{"properties":{"account_id":{"type":"string","maxLength":64,"minLength":1,"title":"Account Id"},"recovery_token":{"type":"string","maxLength":256,"minLength":1,"title":"Recovery Token"},"password":{"type":"string","maxLength":128,"minLength":10,"title":"Password"},"recovery_answer":{"type":"string","maxLength":500,"minLength":1,"title":"Recovery Answer"}},"type":"object","required":["account_id","recovery_token","password","recovery_answer"],"title":"WebRecoveryCompleteRequest"},"WebRecoveryInspectRequest":{"properties":{"account_id":{"type":"string","maxLength":64,"minLength":1,"title":"Account Id"},"recovery_token":{"type":"string","maxLength":256,"minLength":1,"title":"Recovery Token"}},"type":"object","required":["account_id","recovery_token"],"title":"WebRecoveryInspectRequest"}}}}