API Test Console
Base URL
Сохранить
Set tokens
Clear
1) Start signup (OTP)
Email
Password
Locale (opt)
POST /auth/register/start/
2) Verify (create user + tokens)
session_id
otp
Password
POST /auth/register/verify/
Resend OTP
session_id
POST /auth/register/resend/
Profile — get / patch
GET /profile/1/ (singleton)
PATCH /profile/1/
PATCH payload
{ "units": "metric", "height_cm": 180, "weight_kg": 75, "activity": "moderate", "goal": "lose_weight", "desired_weight_kg": 70 }
Onboarding
POST /profile/onboarding/ (user берётся из токена)
{ "gender": "male", "units": "metric", "height_cm": 180, "weight_kg": 75, "date_of_birth": "2001-01-01", "activity": "moderate", "goal": "lose_weight", "desired_weight_kg": 70, "allergies": ["peanuts"] }
POST /profile/onboarding/
Generate plan
POST /profile/generate-plan/
GET /plan/
Analyze meal photo
POST /analyze/
GET /meals/
App rating
Stars (1-5)
Comment
POST /ratings/
GET /ratings/
Refresh access
POST /auth/refresh/