{"info":{"_postman_id":"044a0716-626c-46ff-ab27-ecea824ba790","name":"Healthy Routine","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"39003661","collectionId":"044a0716-626c-46ff-ab27-ecea824ba790","publishedId":"2sBXwtpURr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-06-16T09:08:12.000Z"},"item":[{"name":"v1","item":[{"name":"Auth","item":[{"name":"Register","id":"d60dc27c-82be-4331-91d2-316e5ce1c3f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"User1\",\r\n    \"email\": \"user1@gmail.com\",\r\n    \"password\": \"123456789\",\r\n    \"password_confirmation\": \"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/register","urlObject":{"path":["api","v1","register"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"48b11363-ad00-4a75-93aa-6ae35091157e","name":"Register","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"User1\",\r\n    \"email\": \"user1@gmail.com\",\r\n    \"password\": \"123456789\",\r\n    \"password_confirmation\": \"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/register"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:33:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User registered successfully\",\n    \"data\": {\n        \"user\": {\n            \"name\": \"User1\",\n            \"email\": \"user1@gmail.com\",\n            \"password\": \"$2y$12$ItAvIm3owNSfJKqw3ZjsEeGU9Uqp.6e55tQpWfFeMkhCEuHnvLw36\",\n            \"provider\": \"local\",\n            \"updated_at\": \"2026-07-10T08:33:45.000000Z\",\n            \"created_at\": \"2026-07-10T08:33:45.000000Z\",\n            \"id\": 1,\n            \"avatar_url\": null\n        },\n        \"token\": \"1|1T3EwZv1kOaSYZ8pkupGQkzNtqowuJf4Y5zHayes9ab54364\"\n    }\n}"},{"id":"78a1232b-5537-46fa-b71e-ea99c12d7ca2","name":"Register","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"User3\",\r\n    \"email\": \"user3@gmail.com\",\r\n    \"password\": \"123456789\",\r\n    \"password_confirmation\": \"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/register"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 11:13:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User registered successfully\",\n    \"data\": {\n        \"user\": {\n            \"name\": \"User3\",\n            \"email\": \"user3@gmail.com\",\n            \"password\": \"$2y$12$ahsOHocyVcn/qhhTf2.6s.ixvq55bTV6GDAZHAYnLeM1GBN8vK0sy\",\n            \"provider\": \"local\",\n            \"updated_at\": \"2026-07-10T11:13:29.000000Z\",\n            \"created_at\": \"2026-07-10T11:13:29.000000Z\",\n            \"id\": 4,\n            \"avatar_url\": null\n        },\n        \"token\": \"3|eQYqCDy9wkWuQ60QCvDo5rCOsE5iE6W0NZg4BvB2dc584b9b\"\n    }\n}"}],"_postman_id":"d60dc27c-82be-4331-91d2-316e5ce1c3f3"},{"name":"Login","id":"62522114-b0e7-4958-b51d-d906cca6b647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user1@gmail.com\",\r\n    \"password\": \"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/login","urlObject":{"path":["api","v1","login"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"a62aa362-62c9-4713-9571-e1c169a18e75","name":"Login","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user1@gmail.com\",\r\n    \"password\": \"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:34:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Login successful\",\n    \"data\": {\n        \"user\": {\n            \"id\": 1,\n            \"name\": \"User1\",\n            \"email\": \"user1@gmail.com\",\n            \"email_verified_at\": null,\n            \"password\": \"$2y$12$ItAvIm3owNSfJKqw3ZjsEeGU9Uqp.6e55tQpWfFeMkhCEuHnvLw36\",\n            \"google_id\": null,\n            \"avatar\": null,\n            \"provider\": \"local\",\n            \"age\": null,\n            \"gender\": null,\n            \"weight\": null,\n            \"height\": null,\n            \"remember_token\": null,\n            \"created_at\": \"2026-07-10T08:33:45.000000Z\",\n            \"updated_at\": \"2026-07-10T08:33:45.000000Z\",\n            \"avatar_url\": null\n        },\n        \"token\": \"2|HocsMZC5riTbHAmPFVEHC2jT92uR2SAgoqJz3ba80d9d80a3\"\n    }\n}"}],"_postman_id":"62522114-b0e7-4958-b51d-d906cca6b647"},{"name":"Logout","id":"247a6b44-bb49-4cc1-8a5f-adac0e62d900","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/logout","urlObject":{"path":["api","v1","logout"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"0f9858c8-feba-4bdf-94dd-e6cc11a86fdf","name":"Logout","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/logout"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 11:13:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Logged out successfully\",\n    \"data\": null\n}"}],"_postman_id":"247a6b44-bb49-4cc1-8a5f-adac0e62d900"},{"name":"Google-Login","id":"77b83fe5-3545-4f83-a8c8-90ef6afe6f71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id_token\": \"eyJhbGciOiJSUzI1NiIs...\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/google-login","urlObject":{"path":["api","v1","google-login"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"77b83fe5-3545-4f83-a8c8-90ef6afe6f71"},{"name":"Google","id":"8c2c9759-3deb-4b71-9ea4-199fadc22177","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"/api/v1/auth/google","urlObject":{"path":["api","v1","auth","google"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"8c2c9759-3deb-4b71-9ea4-199fadc22177"}],"id":"86ddf952-d5ff-471e-b4c7-fb9ae23b409d","_postman_id":"86ddf952-d5ff-471e-b4c7-fb9ae23b409d","description":""},{"name":"Profiles","item":[{"name":"GET Profile","id":"a22d8e89-c79e-43a1-a759-3cfdfabef496","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/profile","urlObject":{"path":["api","v1","profile"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"42fa6297-23cd-45bf-b8d9-9cd2376fa421","name":"GET Profile","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/profile"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:34:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User profile\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"User1\",\n        \"email\": \"user1@gmail.com\",\n        \"email_verified_at\": null,\n        \"password\": \"$2y$12$ItAvIm3owNSfJKqw3ZjsEeGU9Uqp.6e55tQpWfFeMkhCEuHnvLw36\",\n        \"google_id\": null,\n        \"avatar\": null,\n        \"provider\": \"local\",\n        \"age\": null,\n        \"gender\": null,\n        \"weight\": null,\n        \"height\": null,\n        \"remember_token\": null,\n        \"created_at\": \"2026-07-10T08:33:45.000000Z\",\n        \"updated_at\": \"2026-07-10T08:33:45.000000Z\",\n        \"avatar_url\": null\n    }\n}"}],"_postman_id":"a22d8e89-c79e-43a1-a759-3cfdfabef496"},{"name":"Update Profile","id":"8baed9cb-21a1-40a1-a9af-1e5bf5cfe477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"User1\",\r\n    \"age\": 24,\r\n    \"gender\": \"male\",\r\n    \"weight\": 75,\r\n    \"height\": 180\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/profile/update","urlObject":{"path":["api","v1","profile","update"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"cb581d37-9867-4e26-b7b9-0fa686d9d9d7","name":"Update Profile","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"User1\",\r\n    \"age\": 24,\r\n    \"gender\": \"male\",\r\n    \"weight\": 75,\r\n    \"height\": 180\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/profile/update"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:35:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Profile updated successfully\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"User1\",\n        \"email\": \"user1@gmail.com\",\n        \"email_verified_at\": null,\n        \"password\": \"$2y$12$ItAvIm3owNSfJKqw3ZjsEeGU9Uqp.6e55tQpWfFeMkhCEuHnvLw36\",\n        \"google_id\": null,\n        \"avatar\": null,\n        \"provider\": \"local\",\n        \"age\": 24,\n        \"gender\": \"male\",\n        \"weight\": 75,\n        \"height\": 180,\n        \"remember_token\": null,\n        \"created_at\": \"2026-07-10T08:33:45.000000Z\",\n        \"updated_at\": \"2026-07-10T08:35:07.000000Z\",\n        \"avatar_url\": null\n    }\n}"}],"_postman_id":"8baed9cb-21a1-40a1-a9af-1e5bf5cfe477"},{"name":"Update-Profile-Image","id":"1da43ad5-e1e3-4c59-be41-d99ac7994422","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","uuid":"6dcf290e-69ad-40b1-a31d-bdc6d661b169","src":"/C:/Users/LENOV/Pictures/Saved Pictures/photo_2023-09-20_13-51-15.jpg"}]},"url":"/api/v1/profile/image","urlObject":{"path":["api","v1","profile","image"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"72b413ee-422e-4241-90e6-a1ab05506d1a","name":"Update-Profile-Image","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","uuid":"6dcf290e-69ad-40b1-a31d-bdc6d661b169","src":"/C:/Users/LENOV/Pictures/Saved Pictures/photo_2023-09-20_13-51-15.jpg"}]},"url":"/api/v1/profile/image"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:35:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Profile image updated successfully\",\n    \"data\": {\n        \"avatar\": \"http://127.0.0.1:8000/storage/profile_images/CHKsFnkx2QrDP2zpQvwQwra91KNEwPV88BOW6MzR.jpg\"\n    }\n}"}],"_postman_id":"1da43ad5-e1e3-4c59-be41-d99ac7994422"},{"name":"Change Password","id":"0bc95c14-3a31-41ae-9642-9fa862a72dae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"current_password\": \"123456789\",\r\n    \"password\": \"1234567890\",\r\n    \"password_confirmation\": \"1234567890\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/profile/change-password","urlObject":{"path":["api","v1","profile","change-password"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"0bc95c14-3a31-41ae-9642-9fa862a72dae"},{"name":"Delete Account","id":"7142dace-1de3-486c-b48d-42ac1c426fc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"1234567890\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/profile/delete","urlObject":{"path":["api","v1","profile","delete"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"7142dace-1de3-486c-b48d-42ac1c426fc5"}],"id":"8bf8896c-3e67-4b78-a6f0-b34265ea902d","_postman_id":"8bf8896c-3e67-4b78-a6f0-b34265ea902d","description":""},{"name":"Routines","item":[{"name":"Get All Routines","id":"0f23558e-0482-4b25-892c-257d83a57aa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/routines","urlObject":{"path":["api","v1","routines"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"ea83a724-0036-4492-b2cd-33aaaa9f4b74","name":"Get All Routines","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/routines"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:56:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Routines retrieved successfully\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"الروتين الصباحي الصحي\",\n            \"description\": \"روتين يومي مخصص للرياضة\",\n            \"start_time\": \"07:00:00\",\n            \"end_time\": \"09:00:00\",\n            \"status\": \"active\",\n            \"user_id\": 1,\n            \"created_at\": \"2026-07-10T08:46:29.000000Z\",\n            \"updated_at\": \"2026-07-10T08:46:29.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"0f23558e-0482-4b25-892c-257d83a57aa5"},{"name":"Show Routine","id":"7217f750-8eb3-46c6-a899-29aa3cf73834","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/routines/1","urlObject":{"path":["api","v1","routines","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"7217f750-8eb3-46c6-a899-29aa3cf73834"},{"name":"Create Routine","id":"9aa53d97-53d8-4612-b7b4-564849319a03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"الروتين الصباحي الصحي\",\r\n    \"description\": \"روتين يومي مخصص للرياضة\",\r\n    \"start_time\": \"07:00\",\r\n    \"end_time\": \"09:00\",\r\n    \"status\": \"active\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/routines","urlObject":{"path":["api","v1","routines"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"12836851-eed4-441f-bf6c-d1b5ab1863a2","name":"Create Routine","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"الروتين الصباحي الصحي\",\r\n    \"description\": \"روتين يومي مخصص للرياضة\",\r\n    \"start_time\": \"07:00\",\r\n    \"end_time\": \"09:00\",\r\n    \"status\": \"active\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/routines"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:46:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Routine created successfully\",\n    \"data\": {\n        \"title\": \"الروتين الصباحي الصحي\",\n        \"description\": \"روتين يومي مخصص للرياضة\",\n        \"start_time\": \"07:00\",\n        \"end_time\": \"09:00\",\n        \"status\": \"active\",\n        \"user_id\": 1,\n        \"updated_at\": \"2026-07-10T08:46:29.000000Z\",\n        \"created_at\": \"2026-07-10T08:46:29.000000Z\",\n        \"id\": 1\n    }\n}"}],"_postman_id":"9aa53d97-53d8-4612-b7b4-564849319a03"},{"name":"Update Routine","id":"c8229513-df83-452b-a717-866ce43a7cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"الروتين الصباحي المحدث\",\r\n    \"status\": \"inactive\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/routines/1","urlObject":{"path":["api","v1","routines","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"c8229513-df83-452b-a717-866ce43a7cf0"},{"name":"Delete Routine","id":"34893bbb-083b-4d01-88cd-1d179099ec4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/routines/1","urlObject":{"path":["api","v1","routines","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"34893bbb-083b-4d01-88cd-1d179099ec4d"}],"id":"4e987e26-c5b0-4116-9172-baf1e3d7f660","_postman_id":"4e987e26-c5b0-4116-9172-baf1e3d7f660","description":""},{"name":"Habit","item":[{"name":"Get All Habits","id":"a25645eb-1e70-4818-9f12-a52e842e882a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/habits","urlObject":{"path":["api","v1","habits"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"659df1df-bf8a-48bd-93e7-8158be521e55","name":"Get All Habits","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/habits"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:55:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Habits retrieved successfully\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"habit_name\": \"شرب 3 لتر ماء\",\n            \"target\": 8,\n            \"progress\": 0,\n            \"frequency\": \"daily\",\n            \"routine_id\": 1,\n            \"created_at\": \"2026-07-10T08:54:28.000000Z\",\n            \"updated_at\": \"2026-07-10T08:54:28.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"a25645eb-1e70-4818-9f12-a52e842e882a"},{"name":"Show Habit","id":"f209c9cb-68c8-4dac-81f6-675274a15ecd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/habits/1","urlObject":{"path":["api","v1","habits","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"f209c9cb-68c8-4dac-81f6-675274a15ecd"},{"name":"Create Habit","id":"c0ec77ac-38b7-47d3-a924-c4b1dade32ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"routine_id\": 1,\r\n    \"habit_name\": \"شرب 3 لتر ماء\",\r\n    \"target\": 8,\r\n    \"frequency\": \"daily\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/habits","urlObject":{"path":["api","v1","habits"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"2fed2f1c-24c1-4efe-b6d0-050894ad36e1","name":"Create Habit","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"routine_id\": 1,\r\n    \"habit_name\": \"شرب 3 لتر ماء\",\r\n    \"target\": 8,\r\n    \"frequency\": \"daily\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/habits"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:54:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Habit created successfully\",\n    \"data\": {\n        \"habit_name\": \"شرب 3 لتر ماء\",\n        \"target\": 8,\n        \"progress\": 0,\n        \"frequency\": \"daily\",\n        \"routine_id\": 1,\n        \"updated_at\": \"2026-07-10T08:54:28.000000Z\",\n        \"created_at\": \"2026-07-10T08:54:28.000000Z\",\n        \"id\": 1\n    }\n}"}],"_postman_id":"c0ec77ac-38b7-47d3-a924-c4b1dade32ff"},{"name":"Update Habit","id":"13be2332-1088-44fc-a6eb-ac2783f0deac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"target\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/habits/1","urlObject":{"path":["api","v1","habits","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"13be2332-1088-44fc-a6eb-ac2783f0deac"},{"name":"Delete Habit","id":"7eef1940-f20c-4d00-82c5-e3d2aa0a6cef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/habits/1","urlObject":{"path":["api","v1","habits","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"7eef1940-f20c-4d00-82c5-e3d2aa0a6cef"},{"name":"Complete Habit","id":"ec7da5db-f562-4e96-b0b7-4bef6bcb8d6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/habits/5/complete","urlObject":{"path":["api","v1","habits","5","complete"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"ec7da5db-f562-4e96-b0b7-4bef6bcb8d6d"},{"name":"Habit Logs","id":"be4aee4b-0b91-42d2-8a98-f89792ba53b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/habits/5/logs","urlObject":{"path":["api","v1","habits","5","logs"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"be4aee4b-0b91-42d2-8a98-f89792ba53b9"}],"id":"856c86ca-47b8-4624-860e-7e76ba961ef1","_postman_id":"856c86ca-47b8-4624-860e-7e76ba961ef1","description":""},{"name":"Dashboard","item":[{"name":"Get Dashboard","id":"75434a85-bdf5-40ee-a138-a247c1805270","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/dashboard","urlObject":{"path":["api","v1","dashboard"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"3490611b-5dd4-4687-bfbb-46be70b8b244","name":"Get Dashboard","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/dashboard"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:56:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Dashboard retrieved successfully\",\n    \"data\": {\n        \"routines\": 1,\n        \"habits\": 1,\n        \"completed_habits_today\": 0,\n        \"meals\": 0,\n        \"exercises\": 0,\n        \"friends\": 0,\n        \"active_challenges\": 0\n    }\n}"}],"_postman_id":"75434a85-bdf5-40ee-a138-a247c1805270"}],"id":"053e3cab-f34c-43dc-a540-5701f701c56b","_postman_id":"053e3cab-f34c-43dc-a540-5701f701c56b","description":""},{"name":"Statistics","item":[{"name":"Get Statistics","id":"79d349db-9c78-4614-bbc9-fcce82def943","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/statistics","urlObject":{"path":["api","v1","statistics"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"79d349db-9c78-4614-bbc9-fcce82def943"}],"id":"76ec6eff-c7da-46ad-9c86-5a41dd2f2823","_postman_id":"76ec6eff-c7da-46ad-9c86-5a41dd2f2823","description":""},{"name":"Meals","item":[{"name":"Get All Meals","id":"3a7ee74e-72ab-4e91-a82b-cc4174f5eca6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/meals","urlObject":{"path":["api","v1","meals"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"3a1a8c92-0d03-4e19-9a00-81c3349926a0","name":"Get All Meals","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/meals"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 09:00:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم جلب الوجبات بنجاح\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"meal_type\": \"breakfast\",\n            \"calories\": 320,\n            \"meal_time\": \"08:00:00\",\n            \"notes\": \"تم تقليل السعرات الحرارية بناءً على خطة الدايت\",\n            \"routine_id\": 1,\n            \"created_at\": \"2026-07-10T08:59:04.000000Z\",\n            \"updated_at\": \"2026-07-10T08:59:21.000000Z\",\n            \"meal_type_label\": \"الإفطار\"\n        }\n    ]\n}"}],"_postman_id":"3a7ee74e-72ab-4e91-a82b-cc4174f5eca6"},{"name":"Create Meal","id":"b896f870-5dcc-44d1-9a8d-8bfe22d89b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"routine_id\": 1,\r\n    \"food_name\": \"بيض مقلي بالزبدة مع خبز بر\",\r\n    \"meal_type\": \"breakfast\",\r\n    \"calories\": 450,\r\n    \"meal_time\": \"08:00\",\r\n    \"notes\": \"فطور صحي عالي البروتين بعد الاستيقاظ\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/meals","urlObject":{"path":["api","v1","meals"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"32c7e4ec-bf97-4858-91e8-76eb8b05f051","name":"Create Meal","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"routine_id\": 1,\r\n    \"food_name\": \"بيض مقلي بالزبدة مع خبز بر\",\r\n    \"meal_type\": \"breakfast\",\r\n    \"calories\": 450,\r\n    \"meal_time\": \"08:00\",\r\n    \"notes\": \"فطور صحي عالي البروتين بعد الاستيقاظ\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/meals"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:59:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم إضافة الوجبة بنجاح\",\n    \"data\": {\n        \"meal_type\": \"breakfast\",\n        \"calories\": 450,\n        \"meal_time\": \"08:00\",\n        \"notes\": \"فطور صحي عالي البروتين بعد الاستيقاظ\",\n        \"routine_id\": 1,\n        \"updated_at\": \"2026-07-10T08:59:04.000000Z\",\n        \"created_at\": \"2026-07-10T08:59:04.000000Z\",\n        \"id\": 1,\n        \"meal_type_label\": \"الإفطار\"\n    }\n}"}],"_postman_id":"b896f870-5dcc-44d1-9a8d-8bfe22d89b8f"},{"name":"Get One Meal","id":"6faf0683-3e26-44fd-907c-f6f263908c85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/meals/1","urlObject":{"path":["api","v1","meals","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"6faf0683-3e26-44fd-907c-f6f263908c85"},{"name":"Update Meal","id":"dd64af91-d4e1-470a-82ff-f1c1d6677592","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"food_name\": \"بيض مسلوق بدلاً من المقلي\",\r\n    \"calories\": 320,\r\n    \"notes\": \"تم تقليل السعرات الحرارية بناءً على خطة الدايت\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/meals/1","urlObject":{"path":["api","v1","meals","1"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"993e2260-bca9-4a73-8185-51226e1b4a63","name":"Update Meal","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"food_name\": \"بيض مسلوق بدلاً من المقلي\",\r\n    \"calories\": 320,\r\n    \"notes\": \"تم تقليل السعرات الحرارية بناءً على خطة الدايت\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/meals/1"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 08:59:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم تعديل الوجبة بنجاح\",\n    \"data\": {\n        \"id\": 1,\n        \"meal_type\": \"breakfast\",\n        \"calories\": 320,\n        \"meal_time\": \"08:00:00\",\n        \"notes\": \"تم تقليل السعرات الحرارية بناءً على خطة الدايت\",\n        \"routine_id\": 1,\n        \"created_at\": \"2026-07-10T08:59:04.000000Z\",\n        \"updated_at\": \"2026-07-10T08:59:21.000000Z\",\n        \"meal_type_label\": \"الإفطار\"\n    }\n}"}],"_postman_id":"dd64af91-d4e1-470a-82ff-f1c1d6677592"},{"name":"Delete Meal","id":"0121174e-c5b1-483f-9330-fea71ad75607","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/meals/1","urlObject":{"path":["api","v1","meals","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"0121174e-c5b1-483f-9330-fea71ad75607"}],"id":"3bc925e1-0951-4c7e-a590-b007fa0b9faf","_postman_id":"3bc925e1-0951-4c7e-a590-b007fa0b9faf","description":""},{"name":"Exercises","item":[{"name":"all-exercises","id":"aea248e4-28f4-439e-8450-5497650d8cb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/exercises","urlObject":{"path":["api","v1","exercises"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"3bc28e5e-1e62-4174-a85b-a55e76ae8984","name":"all-exercises","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/exercises"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 09:02:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم جلب التمارين بنجاح\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"exercise_name\": \"تمارين كارديو ومقاومة مدمجة\",\n            \"duration\": 50,\n            \"burned_calories\": 420,\n            \"routine_id\": 1,\n            \"created_at\": \"2026-07-10T09:01:55.000000Z\",\n            \"updated_at\": \"2026-07-10T09:02:35.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"aea248e4-28f4-439e-8450-5497650d8cb0"},{"name":"show-exercise","id":"ff37e6a0-b600-402c-aec5-d54dccb74afd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/exercises/1","urlObject":{"path":["api","v1","exercises","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"ff37e6a0-b600-402c-aec5-d54dccb74afd"},{"name":"create-exercise","id":"0c862bf7-6054-43a7-8c76-efbb4977f576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"routine_id\": 1,\r\n    \"exercise_name\": \"تمارين كارديو (ركض سريع)\",\r\n    \"duration\": 30,\r\n    \"burned_calories\": 250\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/exercises","urlObject":{"path":["api","v1","exercises"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"6d485dc3-7ea5-41e4-9a74-d0445afa7352","name":"create-exercise","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"routine_id\": 1,\r\n    \"exercise_name\": \"تمارين كارديو (ركض سريع)\",\r\n    \"duration\": 30,\r\n    \"burned_calories\": 250\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/exercises"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 09:01:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم إضافة التمرين بنجاح\",\n    \"data\": {\n        \"exercise_name\": \"تمارين كارديو (ركض سريع)\",\n        \"duration\": 30,\n        \"burned_calories\": 250,\n        \"routine_id\": 1,\n        \"updated_at\": \"2026-07-10T09:01:55.000000Z\",\n        \"created_at\": \"2026-07-10T09:01:55.000000Z\",\n        \"id\": 1\n    }\n}"}],"_postman_id":"0c862bf7-6054-43a7-8c76-efbb4977f576"},{"name":"update-exercise","id":"9b0d7a57-627d-432e-a32d-4a3bfa66441a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"exercise_name\": \"تمارين كارديو ومقاومة مدمجة\",\r\n    \"duration\": 50,\r\n    \"burned_calories\": 420\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/exercises/1","urlObject":{"path":["api","v1","exercises","1"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"30eda1b3-2aff-4cc3-8695-ea3165cc3c25","name":"update-exercise","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"exercise_name\": \"تمارين كارديو ومقاومة مدمجة\",\r\n    \"duration\": 50,\r\n    \"burned_calories\": 420\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/exercises/1"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 09:02:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم تعديل التمرين بنجاح\",\n    \"data\": {\n        \"id\": 1,\n        \"exercise_name\": \"تمارين كارديو ومقاومة مدمجة\",\n        \"duration\": 50,\n        \"burned_calories\": 420,\n        \"routine_id\": 1,\n        \"created_at\": \"2026-07-10T09:01:55.000000Z\",\n        \"updated_at\": \"2026-07-10T09:02:35.000000Z\"\n    }\n}"}],"_postman_id":"9b0d7a57-627d-432e-a32d-4a3bfa66441a"},{"name":"delete-exercise","id":"19f8b0e6-f8be-4423-a741-7884464e795d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/exercises/1","urlObject":{"path":["api","v1","exercises","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"19f8b0e6-f8be-4423-a741-7884464e795d"}],"id":"3ff03cbc-13d6-42ba-b3ca-fbc9348f940e","_postman_id":"3ff03cbc-13d6-42ba-b3ca-fbc9348f940e","description":""},{"name":"Notifications","item":[{"name":"Get All Notifications","id":"3577f1db-9a2d-42a9-b961-d204ec92d61c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/notifications","urlObject":{"path":["api","v1","notifications"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"b8ee017d-0bb9-4161-9b84-1f2582d96c5c","name":"Get All Notifications","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/notifications"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 12:31:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم جلب الإشعارات بنجاح\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": null,\n            \"message\": \"مرحبا بك في تطبيق Healthy Routine\",\n            \"type\": \"achievement\",\n            \"action\": null,\n            \"sent_at\": \"2026-07-10T12:31:32.000000Z\",\n            \"user_id\": 6,\n            \"sender_id\": null,\n            \"data\": null,\n            \"is_read\": false,\n            \"created_at\": \"2026-07-10T12:31:32.000000Z\",\n            \"updated_at\": \"2026-07-10T12:31:32.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"3577f1db-9a2d-42a9-b961-d204ec92d61c"},{"name":"Get Unread Notifications","id":"46028a4e-caa6-4302-a15c-57eacf5a188e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/notifications/unread","urlObject":{"path":["api","v1","notifications","unread"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"46028a4e-caa6-4302-a15c-57eacf5a188e"},{"name":"Create Notification","id":"0bfa8fac-0ed6-42b9-8361-baffe285c84e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"message\": \"Your habit streak is about to end!\",\r\n    \"type\": \"warning\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/notifications","urlObject":{"path":["api","v1","notifications"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"0bfa8fac-0ed6-42b9-8361-baffe285c84e"},{"name":"Get Notification Details","id":"b312cf6f-69fd-4b01-9453-99a3799a94d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/notifications/1","urlObject":{"path":["api","v1","notifications","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"b312cf6f-69fd-4b01-9453-99a3799a94d4"},{"name":"Update Notification","id":"9e007eae-3488-4fad-9069-626ed39f9146","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"message\": \"Updated notification\",\r\n    \"type\": \"achievement\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/notifications/1","urlObject":{"path":["api","v1","notifications","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"9e007eae-3488-4fad-9069-626ed39f9146"},{"name":"Mark Notification As Read","id":"7ff8d35a-9149-493f-927a-45af81843904","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/notifications/1/read","urlObject":{"path":["api","v1","notifications","1","read"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"7ff8d35a-9149-493f-927a-45af81843904"},{"name":"Mark All Notifications As Read","id":"634d5874-cb25-4a35-b0f8-0108573d952b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/notifications/read-all","urlObject":{"path":["api","v1","notifications","read-all"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"634d5874-cb25-4a35-b0f8-0108573d952b"},{"name":"Delete Notification","id":"44235039-825d-4644-a035-869317592b06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/notifications/1","urlObject":{"path":["api","v1","notifications","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"44235039-825d-4644-a035-869317592b06"}],"id":"0a5b5c5f-3731-439e-8553-9c4e90426034","_postman_id":"0a5b5c5f-3731-439e-8553-9c4e90426034","description":""},{"name":"Friendships","item":[{"name":"View all relationships","id":"3400df98-6b74-4673-b452-394ef1f7654d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships","urlObject":{"path":["api","v1","friendships"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"ecfaf698-d093-451d-b108-bc5b27c7b377","name":"View all relationships","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 09:12:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Friendships retrieved successfully\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"sender_id\": 1,\n            \"receiver_id\": 2,\n            \"status\": \"pending\",\n            \"created_at\": \"2026-07-10T09:12:03.000000Z\",\n            \"updated_at\": \"2026-07-10T09:12:03.000000Z\",\n            \"sender\": {\n                \"id\": 1,\n                \"name\": \"User1\",\n                \"email\": \"user1@gmail.com\",\n                \"email_verified_at\": null,\n                \"password\": \"$2y$12$ItAvIm3owNSfJKqw3ZjsEeGU9Uqp.6e55tQpWfFeMkhCEuHnvLw36\",\n                \"google_id\": null,\n                \"avatar\": \"profile_images/CHKsFnkx2QrDP2zpQvwQwra91KNEwPV88BOW6MzR.jpg\",\n                \"provider\": \"local\",\n                \"age\": 24,\n                \"gender\": \"male\",\n                \"weight\": 75,\n                \"height\": 180,\n                \"remember_token\": null,\n                \"created_at\": \"2026-07-10T08:33:45.000000Z\",\n                \"updated_at\": \"2026-07-10T08:35:58.000000Z\",\n                \"avatar_url\": \"http://127.0.0.1:8000/storage/profile_images/CHKsFnkx2QrDP2zpQvwQwra91KNEwPV88BOW6MzR.jpg\"\n            },\n            \"receiver\": {\n                \"id\": 2,\n                \"name\": \"User2\",\n                \"email\": \"user2@gmail.com\",\n                \"email_verified_at\": null,\n                \"password\": \"$2y$12$nHLqmNJPUpYLf09A7IZQJeD.n1YXDJuOj7p8gSfUAQ5kfNJ59DpSC\",\n                \"google_id\": null,\n                \"avatar\": null,\n                \"provider\": \"local\",\n                \"age\": null,\n                \"gender\": null,\n                \"weight\": null,\n                \"height\": null,\n                \"remember_token\": null,\n                \"created_at\": \"2026-07-10T09:11:40.000000Z\",\n                \"updated_at\": \"2026-07-10T09:11:40.000000Z\",\n                \"avatar_url\": null\n            }\n        }\n    ]\n}"}],"_postman_id":"3400df98-6b74-4673-b452-394ef1f7654d"},{"name":"Send a friend request","id":"280c1421-529c-47b1-88fc-ff91a67db542","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships/send/3","urlObject":{"path":["api","v1","friendships","send","3"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"06cf7425-5749-409c-89ba-6347059cf569","name":"Send a friend request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships/send/2"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 09:12:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Friend request sent successfully\",\n    \"data\": {\n        \"sender_id\": 1,\n        \"receiver_id\": 2,\n        \"status\": \"pending\",\n        \"updated_at\": \"2026-07-10T09:12:03.000000Z\",\n        \"created_at\": \"2026-07-10T09:12:03.000000Z\",\n        \"id\": 1\n    }\n}"}],"_postman_id":"280c1421-529c-47b1-88fc-ff91a67db542"},{"name":"Accept friend request","id":"4575b6ee-58f0-4bcb-8aa9-d6ac16c5590f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships/accept/5","urlObject":{"path":["api","v1","friendships","accept","5"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"4575b6ee-58f0-4bcb-8aa9-d6ac16c5590f"},{"name":"Dismiss friend request","id":"cfe8239c-f6bd-48e5-b84a-c17486335ade","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships/reject/5","urlObject":{"path":["api","v1","friendships","reject","5"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"cfe8239c-f6bd-48e5-b84a-c17486335ade"},{"name":"Delete friend","id":"2b7af48f-e0d1-4d14-b925-60f9d9dc9d35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships/remove/5","urlObject":{"path":["api","v1","friendships","remove","5"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"2b7af48f-e0d1-4d14-b925-60f9d9dc9d35"},{"name":"Friends List","id":"9c406d0a-c4fc-42c8-96b5-7a4913972ef4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships/friends","urlObject":{"path":["api","v1","friendships","friends"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"9c406d0a-c4fc-42c8-96b5-7a4913972ef4"},{"name":"Incoming Requests","id":"5b447fb4-3799-41c4-b285-8b5bd15a47b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships/requests","urlObject":{"path":["api","v1","friendships","requests"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"5b447fb4-3799-41c4-b285-8b5bd15a47b6"},{"name":"Sent Requests","id":"2323d9d7-65c9-45e3-8a28-e7db562db15b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/friendships/sent","urlObject":{"path":["api","v1","friendships","sent"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"2323d9d7-65c9-45e3-8a28-e7db562db15b"}],"id":"7874ac31-a78a-47d0-92b6-a0d2eb186daa","_postman_id":"7874ac31-a78a-47d0-92b6-a0d2eb186daa","description":""},{"name":"Challenges","item":[{"name":"Get All Challenges","id":"7991d83e-8f6f-4917-a17f-9ab5acbe6178","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/challenges","urlObject":{"path":["api","v1","challenges"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"75692fd6-e787-4c2b-b14d-3675c0a34e97","name":"Get All Challenges","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/challenges"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 12:07:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم جلب التحديات بنجاح\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"تحدي خسارة الوزن\",\n            \"description\": \"تحدي لمدة شهر لتحسين اللياقة\",\n            \"start_date\": \"2026-07-10\",\n            \"end_date\": \"2026-08-10\",\n            \"status\": \"active\",\n            \"image\": null,\n            \"target\": 30,\n            \"created_at\": \"2026-07-10T12:04:07.000000Z\",\n            \"updated_at\": \"2026-07-10T12:04:07.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"7991d83e-8f6f-4917-a17f-9ab5acbe6178"},{"name":"Show Challenge","id":"c29dfc3f-7841-4529-b5ef-fb52409d17c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/challenges/1","urlObject":{"path":["api","v1","challenges","1"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"1643fde7-ed9e-40af-8e09-0eaa2e3a7ed7","name":"Show Challenge","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/challenges/1"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 12:07:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم جلب تفاصيل التحدي بنجاح\",\n    \"data\": {\n        \"id\": 1,\n        \"title\": \"تحدي خسارة الوزن\",\n        \"description\": \"تحدي لمدة شهر لتحسين اللياقة\",\n        \"start_date\": \"2026-07-10\",\n        \"end_date\": \"2026-08-10\",\n        \"status\": \"active\",\n        \"image\": null,\n        \"target\": 30,\n        \"created_at\": \"2026-07-10T12:04:07.000000Z\",\n        \"updated_at\": \"2026-07-10T12:04:07.000000Z\",\n        \"users\": []\n    }\n}"}],"_postman_id":"c29dfc3f-7841-4529-b5ef-fb52409d17c2"},{"name":"Join Challenge","id":"bef9c081-0a44-4c61-a05d-b1da953d3a96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/challenges/join/1","urlObject":{"path":["api","v1","challenges","join","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"bef9c081-0a44-4c61-a05d-b1da953d3a96"},{"name":"Leave Challenge","id":"f43f51cb-28fc-45bd-af5a-358eeb09bad5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/challenges/leave/1","urlObject":{"path":["api","v1","challenges","leave","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"f43f51cb-28fc-45bd-af5a-358eeb09bad5"},{"name":"Leaderboard","id":"3e95549f-6dc0-4c2a-8cf4-29c6d0a531b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/challenges/1/leaderboard","urlObject":{"path":["api","v1","challenges","1","leaderboard"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"5bc70b5b-964f-4b1f-a0d3-e7353acbbea7","name":"Leaderboard","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/challenges/1/leaderboard"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 12:08:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم جلب ترتيب المشاركين بنجاح\",\n    \"data\": []\n}"}],"_postman_id":"3e95549f-6dc0-4c2a-8cf4-29c6d0a531b6"},{"name":"Create Challenge","id":"f7c56c3f-a56f-4c61-a450-dacfb318def7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"تحدي خسارة الوزن\",\r\n    \"description\": \"تحدي لمدة شهر لتحسين اللياقة\",\r\n    \"start_date\": \"2026-07-10\",\r\n    \"end_date\": \"2026-08-10\",\r\n    \"target\": 30,\r\n    \"image\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/challenges","urlObject":{"path":["api","v1","challenges"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"f79177a2-9ec6-4b53-bd0a-5ba2946f4715","name":"Create Challenge","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"تحدي خسارة الوزن\",\r\n    \"description\": \"تحدي لمدة شهر لتحسين اللياقة\",\r\n    \"start_date\": \"2026-07-10\",\r\n    \"end_date\": \"2026-08-10\",\r\n    \"target\": 30,\r\n    \"image\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/challenges"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 12:04:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"تم إنشاء التحدي بنجاح\",\n    \"data\": {\n        \"title\": \"تحدي خسارة الوزن\",\n        \"description\": \"تحدي لمدة شهر لتحسين اللياقة\",\n        \"start_date\": \"2026-07-10\",\n        \"end_date\": \"2026-08-10\",\n        \"target\": 30,\n        \"image\": null,\n        \"updated_at\": \"2026-07-10T12:04:07.000000Z\",\n        \"created_at\": \"2026-07-10T12:04:07.000000Z\",\n        \"id\": 1\n    }\n}"}],"_postman_id":"f7c56c3f-a56f-4c61-a450-dacfb318def7"},{"name":"Update Challenge","id":"66c2843d-8dd7-4e52-b322-dc8dd096d1ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"تحدي اللياقة والصحة\",\r\n    \"description\": \"تحدي لتحسين العادات الصحية اليومية\",\r\n    \"target\": 50\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/v1/challenges/1","urlObject":{"path":["api","v1","challenges","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"66c2843d-8dd7-4e52-b322-dc8dd096d1ee"},{"name":"Delete Challenge","id":"e35005ce-d922-422e-b55b-732a4d732b42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/challenges/1","urlObject":{"path":["api","v1","challenges","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"e35005ce-d922-422e-b55b-732a4d732b42"}],"id":"0416f9cd-a094-445e-b76f-51749ef2c5ce","_postman_id":"0416f9cd-a094-445e-b76f-51749ef2c5ce","description":""},{"name":"AI Food Analysis","item":[{"name":"View all analyses","id":"922da4de-b798-42d8-b211-1eeeccd43bfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/ai-food","urlObject":{"path":["api","v1","ai-food"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"922da4de-b798-42d8-b211-1eeeccd43bfe"},{"name":"Add analysis","id":"a4dca648-0ef1-42f0-ac4c-7c216d1c3979","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","uuid":"5c5e3519-6b64-49ab-a2f1-7b40c13dddef","src":"/C:/Users/LENOV/Downloads/borger.jfif"}]},"url":"/api/v1/ai-food","urlObject":{"path":["api","v1","ai-food"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"766e2740-cee8-4d6b-ad70-6609317196f4","name":"Add analysis","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"food_name","value":"","type":"text","uuid":"98016327-1c85-4ce5-9019-903291de43b1","disabled":true},{"key":"calories","value":"","type":"text","uuid":"fe363f30-ef2e-4a82-a3de-2a8e4ce6c4e9","disabled":true},{"key":"protein","value":"","type":"text","uuid":"4fc7aabb-1928-47fd-ab48-647a25a6448b","disabled":true},{"key":"fat","value":"","type":"text","uuid":"71509b6b-8f3e-4abf-8101-6af34437c6e3","disabled":true},{"key":"carbs","value":"","type":"text","uuid":"5c018afc-7c76-4847-86f6-7e60dce42623","disabled":true},{"key":"health_score","value":"","type":"text","uuid":"68f081b4-487b-4a43-948b-0e90acf8fc87","disabled":true},{"key":"suggestions[]","value":"","type":"text","uuid":"aac22610-c81c-4aff-86f3-17beb2e0021b","disabled":true},{"key":"image","type":"file","uuid":"5c5e3519-6b64-49ab-a2f1-7b40c13dddef","src":"/C:/Users/LENOV/Downloads/borger.jfif"}]},"url":"/api/v1/ai-food"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 11:18:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Food analyzed successfully\",\n    \"data\": {\n        \"user_id\": 2,\n        \"image\": \"ai-food/WRGln0RZBgDP8mkQTwD3vrDuRzAKcD6oLWaRQDZo.jpg\",\n        \"food_name\": \"Fast Food Platter (Burgers, Pizza, Fried Sides, and Shakes)\",\n        \"calories\": 4500,\n        \"protein\": 140,\n        \"fat\": 210,\n        \"carbs\": 520,\n        \"health_score\": 15,\n        \"suggestions\": [\n            \"This is a very high-calorie meal intended for a large group; consider sharing with 4-6 people.\",\n            \"Replace sugary sodas and shakes with water or sparkling water to significantly reduce sugar intake.\",\n            \"Swap fried sides like fries and onion rings for a large garden salad with light dressing.\",\n            \"Consider choosing grilled chicken options instead of deep-fried chicken or heavy burgers.\",\n            \"Be mindful of the high sodium content, which can contribute to high blood pressure.\"\n        ],\n        \"updated_at\": \"2026-07-10T11:18:02.000000Z\",\n        \"created_at\": \"2026-07-10T11:18:02.000000Z\",\n        \"id\": 1\n    }\n}"},{"id":"17b2c3e1-3a15-46f9-b06a-9598766c479f","name":"Add analysis","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","uuid":"5c5e3519-6b64-49ab-a2f1-7b40c13dddef","src":"/C:/Users/LENOV/Downloads/solt.jfif"}]},"url":"/api/v1/ai-food"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 11:30:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Food analyzed successfully\",\n    \"data\": {\n        \"user_id\": 2,\n        \"image\": \"ai-food/TWZ4sZzc5injKcMjmPmGe9QyaYHehauPetZcahNi.jpg\",\n        \"food_name\": \"وعاء بوذا الصحي المتكامل (خضروات، بروتين، وحبوب)\",\n        \"serving_size\": \"طبق واحد متوسط الحجم (حوالي 450 جرام)\",\n        \"calories\": 520,\n        \"protein\": 25,\n        \"fat\": 18,\n        \"carbs\": 65,\n        \"health_score\": 95,\n        \"health_status\": \"صحي جداً ومتوازن\",\n        \"suggestions\": [\n            \"يحتوي هذا الطبق على توازن ممتاز بين الألياف، البروتين، والدهون الصحية.\",\n            \"تنوع ألوان الخضروات يضمن لك الحصول على مجموعة واسعة من مضادات الأكسدة والفيتامينات.\",\n            \"يفضل استخدام تتبيلة تعتمد على الليمون وزيت الزيتون بدلاً من الصلصات الجاهزة لتقليل الصوديوم.\",\n            \"وجود الأفوكادو والبروتين النباتي (مثل الحمص) يعزز الشعور بالشبع لفترة أطول.\"\n        ],\n        \"updated_at\": \"2026-07-10T11:30:08.000000Z\",\n        \"created_at\": \"2026-07-10T11:30:08.000000Z\",\n        \"id\": 3,\n        \"image_url\": \"http://127.0.0.1:8000/storage/ai-food/TWZ4sZzc5injKcMjmPmGe9QyaYHehauPetZcahNi.jpg\"\n    }\n}"},{"id":"559d00bf-9194-487d-bcdc-0216551b2e37","name":"Add analysis","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","uuid":"5c5e3519-6b64-49ab-a2f1-7b40c13dddef","src":"/C:/Users/LENOV/Downloads/borger.jfif"}]},"url":"/api/v1/ai-food"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 11:31:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Food analyzed successfully\",\n    \"data\": {\n        \"user_id\": 2,\n        \"image\": \"ai-food/zWhAF2wE73160CGWhoRrCsY5bWJ51Mx1M5gk3Gur.jpg\",\n        \"food_name\": \"مجموعة وجبات سريعة (برجر، بطاطس مقلية، بيتزا ومشروبات غازية)\",\n        \"serving_size\": \"وجبة فردية متوسطة\",\n        \"calories\": 1200,\n        \"protein\": 45,\n        \"fat\": 60,\n        \"carbs\": 130,\n        \"health_score\": 10,\n        \"health_status\": \"غير صحي جداً\",\n        \"suggestions\": [\n            \"استبدل المشروبات الغازية المحلاة بالماء أو مشروبات خالية من السكر لتقليل السعرات.\",\n            \"حاول اختيار البروتين المشوي بدلاً من المقلي لتقليل الدهون المشبعة.\",\n            \"أضف طبقاً من السلطة الخضراء للوجبة لزيادة الألياف وتحسين عملية الهضم.\",\n            \"قلل من استخدام الصلصات الإضافية مثل المايونيز والكاتشب لتقليل الصوديوم والسكر.\",\n            \"يفضل تناول هذه الوجبات في فترات متباعدة وبكميات أقل.\"\n        ],\n        \"updated_at\": \"2026-07-10T11:31:32.000000Z\",\n        \"created_at\": \"2026-07-10T11:31:32.000000Z\",\n        \"id\": 4,\n        \"image_url\": \"http://127.0.0.1:8000/storage/ai-food/zWhAF2wE73160CGWhoRrCsY5bWJ51Mx1M5gk3Gur.jpg\"\n    }\n}"},{"id":"99dbd4e1-ce3a-427d-8995-e518b82f4f4e","name":"Add analysis","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","uuid":"5c5e3519-6b64-49ab-a2f1-7b40c13dddef","src":"/C:/Users/LENOV/Downloads/borger.jfif"}]},"url":"/api/v1/ai-food"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 11:31:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Food analyzed successfully\",\n    \"data\": {\n        \"user_id\": 2,\n        \"image\": \"ai-food/zWhAF2wE73160CGWhoRrCsY5bWJ51Mx1M5gk3Gur.jpg\",\n        \"food_name\": \"مجموعة وجبات سريعة (برجر، بطاطس مقلية، بيتزا ومشروبات غازية)\",\n        \"serving_size\": \"وجبة فردية متوسطة\",\n        \"calories\": 1200,\n        \"protein\": 45,\n        \"fat\": 60,\n        \"carbs\": 130,\n        \"health_score\": 10,\n        \"health_status\": \"غير صحي جداً\",\n        \"suggestions\": [\n            \"استبدل المشروبات الغازية المحلاة بالماء أو مشروبات خالية من السكر لتقليل السعرات.\",\n            \"حاول اختيار البروتين المشوي بدلاً من المقلي لتقليل الدهون المشبعة.\",\n            \"أضف طبقاً من السلطة الخضراء للوجبة لزيادة الألياف وتحسين عملية الهضم.\",\n            \"قلل من استخدام الصلصات الإضافية مثل المايونيز والكاتشب لتقليل الصوديوم والسكر.\",\n            \"يفضل تناول هذه الوجبات في فترات متباعدة وبكميات أقل.\"\n        ],\n        \"updated_at\": \"2026-07-10T11:31:32.000000Z\",\n        \"created_at\": \"2026-07-10T11:31:32.000000Z\",\n        \"id\": 4,\n        \"image_url\": \"http://127.0.0.1:8000/storage/ai-food/zWhAF2wE73160CGWhoRrCsY5bWJ51Mx1M5gk3Gur.jpg\"\n    }\n}"}],"_postman_id":"a4dca648-0ef1-42f0-ac4c-7c216d1c3979"},{"name":"Analysis presentation","id":"549e9df2-5df1-4842-b4df-0e3f2c25ba72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/ai-food/1","urlObject":{"path":["api","v1","ai-food","1"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"549e9df2-5df1-4842-b4df-0e3f2c25ba72"},{"name":"Delete analysis","id":"0ced53f9-2f91-4ee5-b943-3689fb9094e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/ai-food/1","urlObject":{"path":["api","v1","ai-food","1"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"71cad20b-a9c0-4c62-8987-a8d8ca9cca4b","name":"Delete analysis","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/v1/ai-food/2"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Jul 2026 11:58:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Food analysis deleted successfully\",\n    \"data\": null\n}"}],"_postman_id":"0ced53f9-2f91-4ee5-b943-3689fb9094e3"}],"id":"bc5cddb7-cb26-4f4e-b93e-706ce8190182","_postman_id":"bc5cddb7-cb26-4f4e-b93e-706ce8190182","description":""}],"id":"a0507365-7dd8-44c7-9b7c-cfdace5cbd82","_postman_id":"a0507365-7dd8-44c7-9b7c-cfdace5cbd82","description":""}],"event":[{"listen":"prerequest","script":{"id":"15d87a21-4321-422e-ac04-1501581fde40","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"d89c9423-0967-4f4f-8a65-eb9c238ab96e","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"url","value":"","disabled":true},{"key":"url","value":"","disabled":true},{"key":"url","value":""}]}