{"info":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","description":"<html><head></head><body><p>Executable Postman documentation for the RescueNet backend. Base URL is controlled by <code>http://localhost:5000</code>. Protected endpoints use <code>Bearer {{authToken}}</code>; run Auth / Login to save the token automatically.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"50839172","collectionId":"8052d629-6794-4478-b48e-663502e5723f","publishedId":"2sBXqKoL8b","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-02T11:32:31.000Z"},"item":[{"name":"Health","item":[{"name":"Root Status","id":"ea74b063-02c5-48ff-9213-e3455053dca6","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/","urlObject":{"path":[""],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea74b063-02c5-48ff-9213-e3455053dca6"},{"name":"Ping","id":"bbd1bd8c-64d7-4d70-9d90-6f57dbeff9e9","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/test/ping","description":"<p>Returns a simple backend health response.</p>\n","urlObject":{"path":["api","test","ping"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"bbd1bd8c-64d7-4d70-9d90-6f57dbeff9e9"},{"name":"Database Counts","id":"cf8091f8-d120-46c6-ab04-50f1ae487e06","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/test/db","urlObject":{"path":["api","test","db"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf8091f8-d120-46c6-ab04-50f1ae487e06"},{"name":"Geocoding Test","id":"392cd548-32f1-4f42-a3f2-b54f465f0902","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/test/geocoding?address=Ahmedabad","urlObject":{"path":["api","test","geocoding"],"host":["http://localhost:5000"],"query":[{"key":"address","value":"Ahmedabad"}],"variable":[]}},"response":[],"_postman_id":"392cd548-32f1-4f42-a3f2-b54f465f0902"},{"name":"Email Test","id":"2bd8655d-13ba-44b9-9a53-11738a654414","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/test/email?email={{userEmail}}","urlObject":{"path":["api","test","email"],"host":["http://localhost:5000"],"query":[{"key":"email","value":"{{userEmail}}"}],"variable":[]}},"response":[],"_postman_id":"2bd8655d-13ba-44b9-9a53-11738a654414"}],"id":"3d9dea5f-6b59-4f7d-ab15-aeea077889ca","_postman_id":"3d9dea5f-6b59-4f7d-ab15-aeea077889ca","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}}},{"name":"Auth","item":[{"name":"Register","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","if (json.token) pm.environment.set('authToken', json.token);"]}}],"id":"189155b5-65cb-4696-a3a7-ad21c2e7952d","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"fullName\": \"Demo User\",\n  \"email\": \"{{userEmail}}\",\n  \"password\": \"{{userPassword}}\",\n  \"phone\": \"+919999999999\",\n  \"city\": \"Ahmedabad\",\n  \"accountType\": \"User\"\n}"},"url":"http://localhost:5000/api/auth/register","description":"<p>Creates a user account. Required fields: <code>fullName</code>, <code>email</code>, <code>password</code>.</p>\n","urlObject":{"path":["api","auth","register"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"189155b5-65cb-4696-a3a7-ad21c2e7952d"},{"name":"Login","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","if (json.token) pm.environment.set('authToken', json.token);"]}}],"id":"c8f3c3e3-215d-4ab1-8443-495e6d3db001","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"{{userEmail}}\",\n  \"password\": \"{{userPassword}}\"\n}"},"url":"http://localhost:5000/api/auth/login","description":"<p>Authenticates a user and saves the returned JWT as <code>authToken</code>.</p>\n","urlObject":{"path":["api","auth","login"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8f3c3e3-215d-4ab1-8443-495e6d3db001"},{"name":"Logout","id":"cc239a8f-b78b-40d6-ac1a-e27ff91985f0","request":{"method":"POST","header":[],"url":"http://localhost:5000/api/auth/logout","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","auth","logout"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc239a8f-b78b-40d6-ac1a-e27ff91985f0"},{"name":"Current User","id":"6a36bdea-64f2-46ec-8af3-02ae6f29379c","request":{"method":"GET","header":[],"url":"http://localhost:5000/api/auth/me","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","auth","me"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a36bdea-64f2-46ec-8af3-02ae6f29379c"},{"name":"Update Profile","id":"1709b38f-4c62-4e06-9410-a158946de43d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"fullName\": \"Demo User Updated\",\n  \"phone\": \"+918888888888\",\n  \"city\": \"Surat\",\n  \"organizationName\": \"RescueNet Demo\"\n}"},"url":"http://localhost:5000/api/auth/update-profile","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","auth","update-profile"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"1709b38f-4c62-4e06-9410-a158946de43d"},{"name":"Forgot Password","id":"3194d7da-cfed-414e-9b7e-665b97dd0ca9","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"{{userEmail}}\"\n}"},"url":"http://localhost:5000/api/auth/forgot-password","urlObject":{"path":["api","auth","forgot-password"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3194d7da-cfed-414e-9b7e-665b97dd0ca9"}],"id":"de510cde-e3c1-4266-8777-9a12e65b7939","_postman_id":"de510cde-e3c1-4266-8777-9a12e65b7939","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}}},{"name":"Rescue","item":[{"name":"Nearby Rescues","id":"77d8d121-1377-4d66-86c3-9730ae5ce4b7","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/rescue/nearby?lat=23.0225&lng=72.5714&radius=10000&type=NGO","urlObject":{"path":["api","rescue","nearby"],"host":["http://localhost:5000"],"query":[{"description":{"content":"<p>Latitude. Required.</p>\n","type":"text/plain"},"key":"lat","value":"23.0225"},{"description":{"content":"<p>Longitude. Required.</p>\n","type":"text/plain"},"key":"lng","value":"72.5714"},{"description":{"content":"<p>Search radius in meters.</p>\n","type":"text/plain"},"key":"radius","value":"10000"},{"description":{"content":"<p>Optional rescue service type.</p>\n","type":"text/plain"},"key":"type","value":"NGO"}],"variable":[]}},"response":[],"_postman_id":"77d8d121-1377-4d66-86c3-9730ae5ce4b7"},{"name":"Search Rescues","id":"1533bf5a-f962-4939-8b06-19682fb548b8","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/rescue/search?city=Ahmedabad&state=Gujarat&term=rescue","urlObject":{"path":["api","rescue","search"],"host":["http://localhost:5000"],"query":[{"key":"city","value":"Ahmedabad"},{"key":"state","value":"Gujarat"},{"key":"term","value":"rescue"}],"variable":[]}},"response":[],"_postman_id":"1533bf5a-f962-4939-8b06-19682fb548b8"},{"name":"Emergency Rescues","id":"1e381a74-54d5-4edf-b86e-188814493642","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/rescue/emergency","urlObject":{"path":["api","rescue","emergency"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e381a74-54d5-4edf-b86e-188814493642"},{"name":"Platform Overview","id":"ec4654c6-5bbe-48cb-8d85-6a355fc4e726","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/rescue/overview","urlObject":{"path":["api","rescue","overview"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec4654c6-5bbe-48cb-8d85-6a355fc4e726"},{"name":"Live Dashboard","id":"3770dee0-e4bb-4157-9891-60b409d94d9f","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/rescue/dashboard","urlObject":{"path":["api","rescue","dashboard"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3770dee0-e4bb-4157-9891-60b409d94d9f"},{"name":"Complete Dashboard","id":"3e71b209-49f1-482f-b0f4-e2ef4f1a475d","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/rescue/dashboard/complete","urlObject":{"path":["api","rescue","dashboard","complete"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e71b209-49f1-482f-b0f4-e2ef4f1a475d"},{"name":"Get Rescue By ID","id":"bf4a8528-bea6-4c46-8262-a031cc8c6c4b","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/rescue/{{rescueId}}","urlObject":{"path":["api","rescue","{{rescueId}}"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf4a8528-bea6-4c46-8262-a031cc8c6c4b"},{"name":"Report Animal","id":"d45996c5-e62f-4c51-9f01-b03ccb59ea39","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"location","value":"Ahmedabad, Gujarat","type":"text"},{"key":"lat","value":"23.0225","type":"text"},{"key":"lng","value":"72.5714","type":"text"},{"key":"species","value":"Dog","type":"text"},{"key":"severity","value":"4","type":"text"},{"key":"description","value":"Injured animal needs urgent help near the main road.","type":"text"},{"key":"isAnonymous","value":"false","type":"text"},{"key":"reporterName","value":"Demo Reporter","type":"text"},{"key":"reporterPhone","value":"+919999999999","type":"text"},{"key":"photo","type":"file","src":[]}]},"url":"http://localhost:5000/api/rescue/report","description":"<p>Multipart form upload. Required fields: <code>location</code>, <code>description</code>.</p>\n","urlObject":{"path":["api","rescue","report"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"d45996c5-e62f-4c51-9f01-b03ccb59ea39"}],"id":"ded92cd6-49d6-404f-b30b-98a14604ca1f","_postman_id":"ded92cd6-49d6-404f-b30b-98a14604ca1f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}}},{"name":"Adoption","item":[{"name":"List Pets","id":"221d361c-44b0-45e0-bcad-88b76ff130ec","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/adoption/pets?page=1&limit=12&species=Dog&city=Ahmedabad&status=Available&term=friendly","urlObject":{"path":["api","adoption","pets"],"host":["http://localhost:5000"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"12"},{"key":"species","value":"Dog"},{"key":"city","value":"Ahmedabad"},{"key":"status","value":"Available"},{"key":"term","value":"friendly"}],"variable":[]}},"response":[],"_postman_id":"221d361c-44b0-45e0-bcad-88b76ff130ec"},{"name":"Get Pet By ID","id":"12acde49-8053-430d-b5dc-3380fbaf0d5f","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/adoption/pets/{{petId}}","urlObject":{"path":["api","adoption","pets","{{petId}}"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"12acde49-8053-430d-b5dc-3380fbaf0d5f"},{"name":"Add Favorite","id":"047aaaee-9082-458b-bf64-694a9f3ac27d","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"petId\": \"{{petId}}\"\n}"},"url":"http://localhost:5000/api/adoption/favorite","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","adoption","favorite"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"047aaaee-9082-458b-bf64-694a9f3ac27d"},{"name":"Remove Favorite","id":"65b1f7b7-829a-41b2-a423-936587d86826","request":{"method":"DELETE","header":[],"url":"http://localhost:5000/api/adoption/favorite/{{petId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","adoption","favorite","{{petId}}"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"65b1f7b7-829a-41b2-a423-936587d86826"},{"name":"List Favorites","id":"76047a5d-6869-4ff3-94c9-8c2944ec8cef","request":{"method":"GET","header":[],"url":"http://localhost:5000/api/adoption/favorites","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","adoption","favorites"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"76047a5d-6869-4ff3-94c9-8c2944ec8cef"},{"name":"Submit Adoption Application","id":"e754f25d-3914-47be-b7d5-e9dc8e01c2d8","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"petId\": \"{{petId}}\",\n  \"fullName\": \"Demo Adopter\",\n  \"email\": \"{{userEmail}}\",\n  \"phone\": \"+919999999999\",\n  \"city\": \"Ahmedabad\",\n  \"message\": \"I have experience caring for rescued animals.\"\n}"},"url":"http://localhost:5000/api/adoption/apply","description":"<p>Required fields: <code>petId</code>, <code>fullName</code>, <code>email</code>.</p>\n","urlObject":{"path":["api","adoption","apply"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"e754f25d-3914-47be-b7d5-e9dc8e01c2d8"}],"id":"1bb49031-136b-42b3-83d9-c85462b26aa3","_postman_id":"1bb49031-136b-42b3-83d9-c85462b26aa3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}}},{"name":"Stories","item":[{"name":"List Stories","id":"0bc61a81-1c2c-46d8-b30f-59088674fb09","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/stories?category=Rescue&city=Ahmedabad","urlObject":{"path":["api","stories"],"host":["http://localhost:5000"],"query":[{"key":"category","value":"Rescue"},{"key":"city","value":"Ahmedabad"}],"variable":[]}},"response":[],"_postman_id":"0bc61a81-1c2c-46d8-b30f-59088674fb09"},{"name":"Get Story By ID Or Slug","id":"2ad11d16-391f-44c5-99c8-0a3ad3c1a649","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/stories/{{storyIdOrSlug}}","urlObject":{"path":["api","stories","{{storyIdOrSlug}}"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ad11d16-391f-44c5-99c8-0a3ad3c1a649"},{"name":"Create Story","id":"05387b73-8165-45b6-9b79-8e0981e8593b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"A RescueNet success story\",\n  \"category\": \"Rescue\",\n  \"city\": \"Ahmedabad\",\n  \"summary\": \"A short summary of the rescue story.\",\n  \"content\": \"Full story content goes here.\",\n  \"imageUrl\": \"https://example.com/story.jpg\",\n  \"featured\": false\n}"},"url":"http://localhost:5000/api/stories","description":"<p>Admin-only endpoint.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","stories"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"05387b73-8165-45b6-9b79-8e0981e8593b"}],"id":"2a333dc0-2ef2-409f-b426-fda6ed060436","_postman_id":"2a333dc0-2ef2-409f-b426-fda6ed060436","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}}},{"name":"Articles","item":[{"name":"List Articles","id":"b02bb299-909f-4dd2-b915-ae9d6d543c66","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/articles?category=Education","urlObject":{"path":["api","articles"],"host":["http://localhost:5000"],"query":[{"key":"category","value":"Education"}],"variable":[]}},"response":[],"_postman_id":"b02bb299-909f-4dd2-b915-ae9d6d543c66"},{"name":"Get Article By ID Or Slug","id":"c8c7cac2-55a5-4bae-8d2c-8b539a68db29","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/articles/{{articleIdOrSlug}}","urlObject":{"path":["api","articles","{{articleIdOrSlug}}"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8c7cac2-55a5-4bae-8d2c-8b539a68db29"},{"name":"Create Article","id":"1113138a-ad3f-4e4e-a80e-83ce84f86d64","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Animal first-aid basics\",\n  \"category\": \"Education\",\n  \"summary\": \"What to do before professional help arrives.\",\n  \"content\": \"Article content goes here.\",\n  \"imageUrl\": \"https://example.com/article.jpg\",\n  \"featured\": false\n}"},"url":"http://localhost:5000/api/articles","description":"<p>Admin-only endpoint.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","articles"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"1113138a-ad3f-4e4e-a80e-83ce84f86d64"}],"id":"c36257e5-2b7b-423f-aed5-e9454955dbcc","_postman_id":"c36257e5-2b7b-423f-aed5-e9454955dbcc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}}},{"name":"Donation","item":[{"name":"Create Donation","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","if (json.data && json.data.donation && json.data.donation._id) pm.environment.set('donationId', json.data.donation._id);"]}}],"id":"7b34770d-48c9-4082-96cd-72f591f3f534","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 500,\n  \"paymentMethod\": \"razorpay\",\n  \"purpose\": \"General Rescue Fund\",\n  \"donorName\": \"Demo Donor\",\n  \"donorEmail\": \"{{userEmail}}\",\n  \"isRecurring\": false\n}"},"url":"http://localhost:5000/api/donation/create","description":"<p>Creates a donation record and Razorpay order when Razorpay is configured.</p>\n","urlObject":{"path":["api","donation","create"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b34770d-48c9-4082-96cd-72f591f3f534"},{"name":"Verify Donation","id":"539c7c1c-66ad-4bfb-9676-5aeee43283a2","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"donationId\": \"{{donationId}}\",\n  \"paymentId\": \"pay_demo_123\"\n}"},"url":"http://localhost:5000/api/donation/verify","urlObject":{"path":["api","donation","verify"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"539c7c1c-66ad-4bfb-9676-5aeee43283a2"},{"name":"Donation History","id":"39d07e9d-fb79-44c3-bbfa-d11ab2e61485","request":{"method":"GET","header":[],"url":"http://localhost:5000/api/donation/history","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","donation","history"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"39d07e9d-fb79-44c3-bbfa-d11ab2e61485"},{"name":"Donation Stats","id":"89e0363f-3a88-4f8e-ac3b-91501069cae8","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/donation/stats","urlObject":{"path":["api","donation","stats"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"89e0363f-3a88-4f8e-ac3b-91501069cae8"},{"name":"Generate Receipt - POST","id":"0480ba94-bab2-4012-b694-407b40ecaaf9","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"donationId\": \"{{donationId}}\"\n}"},"url":"http://localhost:5000/api/donation/receipt","urlObject":{"path":["api","donation","receipt"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"0480ba94-bab2-4012-b694-407b40ecaaf9"},{"name":"Generate Receipt - GET","id":"8361a2e9-5924-4882-b4da-b0df85c31ca2","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/donation/receipt?donationId={{donationId}}","urlObject":{"path":["api","donation","receipt"],"host":["http://localhost:5000"],"query":[{"key":"donationId","value":"{{donationId}}"}],"variable":[]}},"response":[],"_postman_id":"8361a2e9-5924-4882-b4da-b0df85c31ca2"}],"id":"5f46240d-6f77-4366-973f-8f627e7ed5ba","_postman_id":"5f46240d-6f77-4366-973f-8f627e7ed5ba","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}}},{"name":"Volunteer","item":[{"name":"Register Volunteer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","if (json.data && json.data._id) pm.environment.set('volunteerId', json.data._id);"]}}],"id":"37591622-6fa1-4e9c-bdbb-2654e4ed6b2f","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Demo Volunteer","type":"text"},{"key":"email","value":"volunteer@example.com","type":"text"},{"key":"phone","value":"+919999999999","type":"text"},{"key":"skills","value":"Animal handling","type":"text"},{"key":"availability","value":"Weekends","type":"text"},{"key":"certifications","value":"First aid","type":"text"},{"key":"emergencyContactName","value":"Emergency Contact","type":"text"},{"key":"emergencyContactPhone","value":"+918888888888","type":"text"},{"key":"preferredSpecies","value":"Dog","type":"text"},{"key":"preferredTasks","value":"Transport","type":"text"},{"key":"travelRadius","value":"15","type":"text"},{"key":"notifyEmail","value":"true","type":"text"},{"key":"notifyPush","value":"true","type":"text"},{"key":"profilePhoto","type":"file","src":[]},{"key":"idDocument","type":"file","src":[]}]},"url":"http://localhost:5000/api/volunteer/register","description":"<p>Multipart form upload. File fields are optional unless your product flow requires them.</p>\n","urlObject":{"path":["api","volunteer","register"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"37591622-6fa1-4e9c-bdbb-2654e4ed6b2f"},{"name":"Volunteer Opportunities","id":"a6fa8b05-e50f-4725-a484-59b5bd6728d4","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/volunteer/opportunities","urlObject":{"path":["api","volunteer","opportunities"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6fa8b05-e50f-4725-a484-59b5bd6728d4"},{"name":"Update Volunteer","id":"8a76d61c-2023-4d25-8db8-b2632bf75559","request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"{{volunteerId}}\",\n  \"travelRadius\": 25,\n  \"availability\": [\"Weekends\", \"Evenings\"]\n}"},"url":"http://localhost:5000/api/volunteer/update","urlObject":{"path":["api","volunteer","update"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a76d61c-2023-4d25-8db8-b2632bf75559"}],"id":"22c88fd7-7754-487f-9308-9aabf0425f5e","_postman_id":"22c88fd7-7754-487f-9308-9aabf0425f5e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}}},{"name":"NGO","item":[{"name":"Register NGO","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","if (json.data && json.data._id) pm.environment.set('ngoId', json.data._id);"]}}],"id":"b8cde7cb-fb36-4712-9aff-a053f6502c1a","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Demo Animal Welfare NGO\",\n  \"contactPerson\": \"Demo Contact\",\n  \"email\": \"ngo@example.com\",\n  \"phone\": \"+919999999999\",\n  \"city\": \"Ahmedabad\",\n  \"state\": \"Gujarat\",\n  \"description\": \"Animal rescue and rehabilitation support.\",\n  \"services\": [\"Emergency Rescue\", \"Adoption\"],\n  \"website\": \"https://example.com\"\n}"},"url":"http://localhost:5000/api/ngo/register","urlObject":{"path":["api","ngo","register"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8cde7cb-fb36-4712-9aff-a053f6502c1a"},{"name":"List NGOs","id":"1d947ac9-34fa-4cdc-8dd7-6a66fccc2628","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/ngo/list","urlObject":{"path":["api","ngo","list"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d947ac9-34fa-4cdc-8dd7-6a66fccc2628"},{"name":"Update NGO","id":"039e8261-2f37-4277-87be-a772c06f7d77","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"verified\": true,\n  \"services\": [\"Emergency Rescue\", \"Foster Care\", \"Adoption\"]\n}"},"url":"http://localhost:5000/api/ngo/{{ngoId}}","description":"<p>Admin or NGO role required.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}},"urlObject":{"path":["api","ngo","{{ngoId}}"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"039e8261-2f37-4277-87be-a772c06f7d77"}],"id":"f8f94eff-5604-4383-916c-5c7a768046ec","_postman_id":"f8f94eff-5604-4383-916c-5c7a768046ec","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]},"isInherited":true,"source":{"_postman_id":"8052d629-6794-4478-b48e-663502e5723f","id":"8052d629-6794-4478-b48e-663502e5723f","name":"RescueNet API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{authToken}}"}]}},"variable":[{"key":"baseUrl","value":"http://localhost:5000"}]}