{"info":{"_postman_id":"6963824d-2ff5-4a65-adcc-a300c4c54b2d","name":"ToDO","description":"<html><head></head><body><ul>\n<li>A REST API for managing todos and user profiles, including authentication, todo CRUD operations, and profile management.</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"47987371","collectionId":"6963824d-2ff5-4a65-adcc-a300c4c54b2d","publishedId":"2sB3HnKfMt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-09-09T14:01:30.000Z"},"item":[{"name":"Todo","item":[{"name":"todo list","id":"01e5bdae-20b8-4a76-b65f-051c2ea40a15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"url":"http://127.0.0.1:8000/todo_list/api/","description":"<ul>\n<li>Retrieve the list of all todos for the authenticated user.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["todo_list","api",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"82687731-2c25-43f6-9e66-c53fcc696ab3","name":"todo list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"url":"http://127.0.0.1:8000/todo_list/api/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 09 Sep 2025 13:38:47 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.3"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"106"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 11,\n        \"name\": \"Doing my homework\",\n        \"created_at\": \"2025-09-09T13:38:40.895231Z\",\n        \"is_done\": false,\n        \"user\": 1\n    }\n]"}],"_postman_id":"01e5bdae-20b8-4a76-b65f-051c2ea40a15"},{"name":"create todo","id":"39530be9-66b9-41d3-aa72-7320a6a34e4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Work","type":"text","uuid":"92b93ddb-d03b-47a6-8761-c914cecd20c9"},{"key":"user","value":"1","type":"text","uuid":"244297af-9578-404f-b800-2a868b2b7d39"}]},"url":"http://127.0.0.1:8000/todo_list/api/","description":"<ul>\n<li>Create a new todo item for the authenticated user.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["todo_list","api",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"ad56fb0a-1f5a-46cc-97a5-032622c03f4e","name":"create todo","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Work","type":"text","uuid":"92b93ddb-d03b-47a6-8761-c914cecd20c9"},{"key":"user","value":"1","type":"text","uuid":"244297af-9578-404f-b800-2a868b2b7d39"}]},"url":"http://127.0.0.1:8000/todo_list/api/"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 09 Sep 2025 13:39:18 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.3"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"91"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12,\n    \"name\": \"Work\",\n    \"created_at\": \"2025-09-09T13:39:18.106314Z\",\n    \"is_done\": false,\n    \"user\": 1\n}"}],"_postman_id":"39530be9-66b9-41d3-aa72-7320a6a34e4b"},{"name":"todo detail","id":"73a6d16d-569a-4fac-b99c-8827b61a3406","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/todo_detail/api/12","description":"<ul>\n<li>Retrieve details of a specific todo item by ID.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["todo_detail","api","12"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"8f25c696-36e7-4a5b-bb5c-2eb7ffb08eac","name":"todo detail","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/todo_detail/api/12"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 09 Sep 2025 13:39:35 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.3"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"91"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12,\n    \"name\": \"Work\",\n    \"created_at\": \"2025-09-09T13:39:18.106314Z\",\n    \"is_done\": false,\n    \"user\": 1\n}"}],"_postman_id":"73a6d16d-569a-4fac-b99c-8827b61a3406"},{"name":"todo edit","id":"974872b9-bd90-44fc-affb-422d7e390ca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Work - editing","type":"text","uuid":"e6ed326e-be99-4b51-8ca5-6688238f7eba"},{"key":"user","value":"1","type":"text","uuid":"f04938fe-589a-42e7-a955-a6cc3404f4fa"},{"key":"is_done","value":"True","type":"text","uuid":"a4a1c50c-9f3a-468c-8bc3-8660a4ca3ecc"}]},"url":"http://127.0.0.1:8000/todo_detail/api/12","description":"<ul>\n<li>Update a specific todo item by ID.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["todo_detail","api","12"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1c127e5e-b5f9-4ab8-86e4-be724b563430","name":"todo edit","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Work - editing","type":"text","uuid":"e6ed326e-be99-4b51-8ca5-6688238f7eba"},{"key":"user","value":"1","type":"text","uuid":"f04938fe-589a-42e7-a955-a6cc3404f4fa"},{"key":"is_done","value":"True","type":"text","uuid":"a4a1c50c-9f3a-468c-8bc3-8660a4ca3ecc"}]},"url":"http://127.0.0.1:8000/todo_detail/api/12"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 09 Sep 2025 13:40:14 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.3"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"100"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12,\n    \"name\": \"Work - editing\",\n    \"created_at\": \"2025-09-09T13:39:18.106314Z\",\n    \"is_done\": true,\n    \"user\": 1\n}"}],"_postman_id":"974872b9-bd90-44fc-affb-422d7e390ca4"},{"name":"todo delete","id":"f3abffb5-d7c1-4f59-a289-5516d292263a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/todo_detail/api/11","description":"<ul>\n<li>Delete a specific todo item by ID.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["todo_detail","api","11"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"795a0d51-6cb1-4614-8913-f038d6142b9d","name":"todo delete","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/todo_detail/api/11"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 09 Sep 2025 13:40:35 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.3"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f3abffb5-d7c1-4f59-a289-5516d292263a"}],"id":"45e0d559-b0cb-4569-a2f6-6d10aeaad461","description":"<ul>\n<li>Endpoints for managing todo items: listing, creating, retrieving, updating, and deleting todos for the authenticated user.</li>\n</ul>\n","_postman_id":"45e0d559-b0cb-4569-a2f6-6d10aeaad461"},{"name":"User","item":[{"name":"login","id":"8e2a5c09-cd02-4c35-b13b-e9aa4b112ec2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"mustafa","type":"text","uuid":"92b93ddb-d03b-47a6-8761-c914cecd20c9"},{"key":"password","value":"admin","type":"text","uuid":"244297af-9578-404f-b800-2a868b2b7d39"}]},"url":"http://127.0.0.1:8000/api-token-auth/","description":"<ul>\n<li>Authenticate a user and retrieve a token.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api-token-auth",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"91b7e89f-0aae-4ae9-a86b-89b204ddd594","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"mustafa","type":"text","uuid":"92b93ddb-d03b-47a6-8761-c914cecd20c9"},{"key":"password","value":"admin","type":"text","uuid":"244297af-9578-404f-b800-2a868b2b7d39"}]},"url":"http://127.0.0.1:8000/api-token-auth/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 09 Sep 2025 13:40:49 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.3"},{"key":"Content-Type","value":"application/json"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"52"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"28f784c1b849ccb45ba6d91c5df75e5f37b4bc49\"\n}"}],"_postman_id":"8e2a5c09-cd02-4c35-b13b-e9aa4b112ec2"},{"name":"profile detail","id":"2bf712a4-9712-4a7c-8f63-d226737c1dfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"url":"http://127.0.0.1:8000/accounts/profile/api/","description":"<ul>\n<li>Retrieve the authenticated user's profile information.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["accounts","profile","api",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"ab2b800d-a0c5-4933-b294-299027eb3d11","name":"profile detail","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"url":"http://127.0.0.1:8000/accounts/profile/api/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 09 Sep 2025 12:27:13 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.3"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"218"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"username\": \"mustafa\",\n    \"first_name\": \"Mostafa\",\n    \"last_name\": \"Rashwan\",\n    \"email\": \"imos8afa@gmail.com\",\n    \"profile\": {\n        \"id\": 1,\n        \"image\": \"http://127.0.0.1:8000/media/profile/IMG_5129_318.JPG\",\n        \"phone\": \"+201070643825\",\n        \"user\": 1\n    }\n}"}],"_postman_id":"2bf712a4-9712-4a7c-8f63-d226737c1dfc"},{"name":"profile edit","id":"d74ba615-b53e-4dad-9f37-5493abb02d06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"mustafa","type":"text","uuid":"df6cc90d-659a-4427-a6ba-4ff7c66b750f"},{"key":"profile.image","type":"file","uuid":"9c0dbd2b-6f8a-4db9-ac16-39c0d2ac9195","src":"/C:/Users/Mustafa/Pictures/Me/IMG_5128_2000.JPG"},{"key":"profile.phone","value":"+201155530798","type":"text","uuid":"5b7b277e-0534-4ce0-a22f-09bbe6da2325"},{"key":"email","value":"koko@gmail.com","type":"text","uuid":"1b30279e-4941-476b-89f4-daa778b38989"}]},"url":"http://127.0.0.1:8000/accounts/profile/api/","description":"<ul>\n<li>Update the authenticated user's profile information.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["accounts","profile","api",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"c7bce90b-346d-459f-b069-0c9d41383198","name":"New Request","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token 28f784c1b849ccb45ba6d91c5df75e5f37b4bc49","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"mustafa","type":"text","uuid":"df6cc90d-659a-4427-a6ba-4ff7c66b750f"},{"key":"profile.image","type":"file","uuid":"9c0dbd2b-6f8a-4db9-ac16-39c0d2ac9195","src":"/C:/Users/Mustafa/Pictures/Me/IMG_5128_2000.JPG"},{"key":"profile.phone","value":"+201155530798","type":"text","uuid":"5b7b277e-0534-4ce0-a22f-09bbe6da2325"},{"key":"email","value":"koko@gmail.com","type":"text","uuid":"1b30279e-4941-476b-89f4-daa778b38989"}],"options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/accounts/profile/api/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 09 Sep 2025 13:31:55 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.3"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"223"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"username\": \"mustafa\",\n    \"first_name\": \"Mostafa\",\n    \"last_name\": \"Rashwan\",\n    \"email\": \"koko@gmail.com\",\n    \"profile\": {\n        \"id\": 1,\n        \"user\": 1,\n        \"image\": \"http://127.0.0.1:8000/media/profile/IMG_5128_2000_k9GdTz5.JPG\",\n        \"phone\": \"+201155530798\"\n    }\n}"}],"_postman_id":"d74ba615-b53e-4dad-9f37-5493abb02d06"}],"id":"04e30bb7-ca6e-4acf-85d4-2267d02bdd8a","description":"<ul>\n<li>Endpoints for user authentication and profile management, including login, viewing profile details, and updating profile information.</li>\n</ul>\n","_postman_id":"04e30bb7-ca6e-4acf-85d4-2267d02bdd8a"}]}