/api/auth/login is POST. Opening it in the browser shows 405. Use Postman.
Base URL: https://sport-weight-walk.rakeeza.org/api
· JSON
/api/auth/login is POST. Opening it in the browser shows 405. Use Postman.
POST https://sport-weight-walk.rakeeza.org/api/auth/login
Content-Type: application/json
{
"email": "jordan@sportsweightwalk.test",
"password": "password"
}
| Method | Path | Auth | Notes |
|---|---|---|---|
| POST |
/api/auth/register
|
No | name, email, password, password_confirmation |
| POST |
/api/auth/login
|
No | email, password — returns access_token + refresh_token |
| POST |
/api/auth/refresh
|
No | refresh_token |
| POST |
/api/auth/forgot-password
|
No | |
| POST |
/api/auth/reset-password
|
No | email, token, password, password_confirmation |
| POST |
/api/auth/apple
|
No | apple_user_id, email?, name? |
| POST |
/api/auth/logout
|
Bearer | Bearer token |
| DELETE |
/api/auth/apple
|
Bearer | Unlink Apple |
| Method | Path | Auth | Notes |
|---|---|---|---|
| GET |
/api/me
|
Bearer | Profile |
| PATCH |
/api/me
|
Bearer | Update name + PII profile |
| PATCH |
/api/me/password
|
Bearer | current_password, password, password_confirmation |
| GET |
/api/me/privacy
|
Bearer | |
| PATCH |
/api/me/privacy
|
Bearer | Toggles |
| POST |
/api/me/research-consent
|
Bearer | consented, version |
| PATCH |
/api/me/device-permissions
|
Bearer | ble/location/motion/notifications status |
| Method | Path | Auth | Notes |
|---|---|---|---|
| GET |
/api/home
|
Bearer | Next session, adherence, feedback |
| GET |
/api/progress
|
Bearer | Aggregates |
| GET |
/api/feedback
|
Bearer | |
| POST |
/api/feedback/{id}/read
|
Bearer |
| Method | Path | Auth | Notes |
|---|---|---|---|
| GET |
/api/assessments
|
Bearer | |
| POST |
/api/assessments
|
Bearer | weight_kg, height_cm, target_weight_kg |
| GET |
/api/assessments/{id}
|
Bearer | |
| PATCH |
/api/assessments/{id}/anthropometry
|
Bearer | |
| POST |
/api/assessments/{id}/walk-test
|
Bearer | 6MWT |
| POST |
/api/assessments/{id}/screening
|
Bearer | Step 3 safety path |
| Method | Path | Auth | Notes |
|---|---|---|---|
| GET |
/api/tests/assigned
|
Bearer | After professional authorizes |
| GET |
/api/tests/{id}
|
Bearer | |
| POST |
/api/tests/{id}/precheck
|
Bearer | |
| POST |
/api/tests/{id}/start
|
Bearer | |
| POST |
/api/tests/{id}/samples
|
Bearer | Idempotent RAW batch |
| POST |
/api/tests/{id}/events
|
Bearer | |
| POST |
/api/tests/{id}/complete
|
Bearer | |
| GET |
/api/tests/{id}/analysis
|
Bearer |
| Method | Path | Auth | Notes |
|---|---|---|---|
| GET |
/api/protocols
|
Bearer | Assigned templates |
| GET |
/api/protocols/{id}
|
Bearer | |
| GET |
/api/programs/current
|
Bearer | Authorized 12-week program |
| GET |
/api/programs/history
|
Bearer | |
| GET |
/api/programs/{id}/weeks/{week}
|
Bearer | |
| GET |
/api/program-sessions/{id}
|
Bearer | Prescribed session |
| Method | Path | Auth | Notes |
|---|---|---|---|
| GET |
/api/sessions
|
Bearer | |
| GET |
/api/sessions/{id}
|
Bearer | id or uuid |
| POST |
/api/sessions/{id}/precheck
|
Bearer | Walking session or program_session id |
| POST |
/api/sessions/{id}/start
|
Bearer | |
| POST |
/api/sessions/{id}/heartbeat
|
Bearer | |
| POST |
/api/sessions/{id}/samples
|
Bearer | Idempotent RAW |
| POST |
/api/sessions/{id}/block-confirm
|
Bearer | |
| POST |
/api/sessions/{id}/pause
|
Bearer | |
| POST |
/api/sessions/{id}/resume
|
Bearer | |
| POST |
/api/sessions/{id}/stop
|
Bearer | |
| POST |
/api/sessions/{id}/feeling
|
Bearer | rpe_cr10 1-10 and/or rpe_borg 6-20 |
| POST |
/api/sessions/{id}/complete
|
Bearer | |
| POST |
/api/sessions/{id}/manifest
|
Bearer | |
| POST |
/api/sessions/{id}/upload
|
Bearer | RAW file or sample batch |
| GET |
/api/sessions/{id}/export
|
Bearer | Summary JSON |