{"success":true,"base_url":"https:\/\/sport-weight-walk.rakeeza.org\/api","note":"Open this URL in a browser (without format=json) to see the HTML list. POST\/PATCH\/DELETE cannot be opened as a normal page.","demo":{"participant":"jordan@sportsweightwalk.test \/ password","admin_panel":"https:\/\/sport-weight-walk.rakeeza.org\/admin"},"groups":[{"name":"Auth (no token)","endpoints":[{"method":"POST","path":"\/api\/auth\/register","auth":false,"notes":"name, email, password, password_confirmation"},{"method":"POST","path":"\/api\/auth\/login","auth":false,"notes":"email, password \u2014 returns access_token + refresh_token"},{"method":"POST","path":"\/api\/auth\/refresh","auth":false,"notes":"refresh_token"},{"method":"POST","path":"\/api\/auth\/forgot-password","auth":false,"notes":"email"},{"method":"POST","path":"\/api\/auth\/reset-password","auth":false,"notes":"email, token, password, password_confirmation"},{"method":"POST","path":"\/api\/auth\/apple","auth":false,"notes":"apple_user_id, email?, name?"},{"method":"POST","path":"\/api\/auth\/logout","auth":true,"notes":"Bearer token"},{"method":"DELETE","path":"\/api\/auth\/apple","auth":true,"notes":"Unlink Apple"}]},{"name":"Me \/ privacy","endpoints":[{"method":"GET","path":"\/api\/me","auth":true,"notes":"Profile"},{"method":"PATCH","path":"\/api\/me","auth":true,"notes":"Update name + PII profile"},{"method":"PATCH","path":"\/api\/me\/password","auth":true,"notes":"current_password, password, password_confirmation"},{"method":"GET","path":"\/api\/me\/privacy","auth":true,"notes":""},{"method":"PATCH","path":"\/api\/me\/privacy","auth":true,"notes":"Toggles"},{"method":"POST","path":"\/api\/me\/research-consent","auth":true,"notes":"consented, version"},{"method":"PATCH","path":"\/api\/me\/device-permissions","auth":true,"notes":"ble\/location\/motion\/notifications status"}]},{"name":"Home \/ progress","endpoints":[{"method":"GET","path":"\/api\/home","auth":true,"notes":"Next session, adherence, feedback"},{"method":"GET","path":"\/api\/progress","auth":true,"notes":"Aggregates"},{"method":"GET","path":"\/api\/feedback","auth":true,"notes":""},{"method":"POST","path":"\/api\/feedback\/{id}\/read","auth":true,"notes":""}]},{"name":"Assessment","endpoints":[{"method":"GET","path":"\/api\/assessments","auth":true,"notes":""},{"method":"POST","path":"\/api\/assessments","auth":true,"notes":"weight_kg, height_cm, target_weight_kg"},{"method":"GET","path":"\/api\/assessments\/{id}","auth":true,"notes":""},{"method":"PATCH","path":"\/api\/assessments\/{id}\/anthropometry","auth":true,"notes":""},{"method":"POST","path":"\/api\/assessments\/{id}\/walk-test","auth":true,"notes":"6MWT"},{"method":"POST","path":"\/api\/assessments\/{id}\/screening","auth":true,"notes":"Step 3 safety path"}]},{"name":"Incremental test","endpoints":[{"method":"GET","path":"\/api\/tests\/assigned","auth":true,"notes":"After professional authorizes"},{"method":"GET","path":"\/api\/tests\/{id}","auth":true,"notes":""},{"method":"POST","path":"\/api\/tests\/{id}\/precheck","auth":true,"notes":""},{"method":"POST","path":"\/api\/tests\/{id}\/start","auth":true,"notes":""},{"method":"POST","path":"\/api\/tests\/{id}\/samples","auth":true,"notes":"Idempotent RAW batch"},{"method":"POST","path":"\/api\/tests\/{id}\/events","auth":true,"notes":""},{"method":"POST","path":"\/api\/tests\/{id}\/complete","auth":true,"notes":""},{"method":"GET","path":"\/api\/tests\/{id}\/analysis","auth":true,"notes":""}]},{"name":"Programs \/ protocols","endpoints":[{"method":"GET","path":"\/api\/protocols","auth":true,"notes":"Assigned templates"},{"method":"GET","path":"\/api\/protocols\/{id}","auth":true,"notes":""},{"method":"GET","path":"\/api\/programs\/current","auth":true,"notes":"Authorized 12-week program"},{"method":"GET","path":"\/api\/programs\/history","auth":true,"notes":""},{"method":"GET","path":"\/api\/programs\/{id}\/weeks\/{week}","auth":true,"notes":""},{"method":"GET","path":"\/api\/program-sessions\/{id}","auth":true,"notes":"Prescribed session"}]},{"name":"Walking sessions","endpoints":[{"method":"GET","path":"\/api\/sessions","auth":true,"notes":""},{"method":"GET","path":"\/api\/sessions\/{id}","auth":true,"notes":"id or uuid"},{"method":"POST","path":"\/api\/sessions\/{id}\/precheck","auth":true,"notes":"Walking session or program_session id"},{"method":"POST","path":"\/api\/sessions\/{id}\/start","auth":true,"notes":""},{"method":"POST","path":"\/api\/sessions\/{id}\/heartbeat","auth":true,"notes":""},{"method":"POST","path":"\/api\/sessions\/{id}\/samples","auth":true,"notes":"Idempotent RAW"},{"method":"POST","path":"\/api\/sessions\/{id}\/block-confirm","auth":true,"notes":""},{"method":"POST","path":"\/api\/sessions\/{id}\/pause","auth":true,"notes":""},{"method":"POST","path":"\/api\/sessions\/{id}\/resume","auth":true,"notes":""},{"method":"POST","path":"\/api\/sessions\/{id}\/stop","auth":true,"notes":""},{"method":"POST","path":"\/api\/sessions\/{id}\/feeling","auth":true,"notes":"rpe_cr10 1-10 and\/or rpe_borg 6-20"},{"method":"POST","path":"\/api\/sessions\/{id}\/complete","auth":true,"notes":""},{"method":"POST","path":"\/api\/sessions\/{id}\/manifest","auth":true,"notes":""},{"method":"POST","path":"\/api\/sessions\/{id}\/upload","auth":true,"notes":"RAW file or sample batch"},{"method":"GET","path":"\/api\/sessions\/{id}\/export","auth":true,"notes":"Summary JSON"}]}]}