{"info":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"5833783","collectionId":"907d91be-0f33-9c83-d2ee-8a302ae0be36","publishedId":"RzthQrAK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-01-24T17:22:39.000Z"},"item":[{"name":"authentication","item":[{"name":"Login","id":"761df18e-29dd-a2ef-9a5c-5f33d4280101","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"mudidi.jimmy@gmail.com\",\r\n    \"password\": \"password\"\r\n}"},"url":"http://127.0.0.1:5000/api/v2/auth/login","description":"<p>When a user has an account with the system, they will be able to login using this link</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","auth","login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"761df18e-29dd-a2ef-9a5c-5f33d4280101"},{"name":"Signup","id":"e04ed625-70a3-21de-1f22-275f715e763a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"firstname\": \"john\",\r\n    \"lastname\": \"paul\",\r\n    \"othernames\": \"test\",\r\n    \"phoneNumber\": \"123456789\",\r\n    \"username\": \"just\",\r\n    \"email\": \"people@mail.com\",\r\n    \"password\": \"password\"\r\n}"},"url":"http://127.0.0.1:5000/api/v2/auth/signup/","description":"<p>This will help the user create an account to be used in the system</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","auth","signup",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e04ed625-70a3-21de-1f22-275f715e763a"}],"id":"83c3537e-88e1-29d4-8ee9-188fa12c8357","_postman_id":"83c3537e-88e1-29d4-8ee9-188fa12c8357","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}}},{"name":"red-flags","item":[{"name":"Post a Redflag","id":"81f0bacb-3b85-1652-dd55-dfaf63529c84","request":{"method":"POST","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDgzOTA1MzcsImlhdCI6MTU0ODMwNDEzNywic3ViIjp7ImlkIjo0NywiZmlyc3RuYW1lIjoiam9obiIsImxhc3RuYW1lIjoicGF1bCIsIm90aGVybmFtZXMiOiJ0ZXN0IiwiZW1haWwiOiJqYXMyMjJAbWFpbC5jb20iLCJwaG9uZW51bWJlciI6IjEyMzQ1Njc4OSIsInVzZXJuYW1lIjoibWUyIiwicGFzc3dvcmQiOiJwYmtkZjI6c2hhMjU2OjUwMDAwJHhQNVZmTTVGJDkzMjZiYWRlODhiYzFmZDE0OTFlNDM0N2IyYWM3YmYzYTQwYjFlNWE2NThkNmMxMWFmMTFiYTNkYWRkYmI4MmQiLCJyZWdpc3RlcmVkIjpudWxsLCJpc2FkbWluIjpmYWxzZX19.qmtSja8OZot7nF2v8rc6D--_vysdEwdZhUS2exzmGa0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/redflags","description":"<p>This link allows a user to cretae a redflag</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","redflags"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"81f0bacb-3b85-1652-dd55-dfaf63529c84"},{"name":"Get all Redflags","id":"202da0fd-7739-fe0f-ee94-3bb987b45c7b","request":{"method":"GET","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/redflags","description":"<p>This link helps in getting only the redflags</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","redflags"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"202da0fd-7739-fe0f-ee94-3bb987b45c7b"},{"name":"Getting 1 Redflag","id":"53e4dc42-a3f2-6eb2-643c-200883e11f73","request":{"method":"GET","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/redflags/1","description":"<p>This link helps in getting the us</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","redflags","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"53e4dc42-a3f2-6eb2-643c-200883e11f73"},{"name":"Delete a Redflag","id":"f32fa3bc-0632-5901-c552-55dd01c03e35","request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/redflags/1","description":"<p>This link helps in deleting a redflag</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","redflags","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f32fa3bc-0632-5901-c552-55dd01c03e35"},{"name":"Patching a Redflag comment","id":"b7b9b403-b08e-1dd0-5bbb-dda21250bd65","request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDk2Mjg2MzgsImlhdCI6MTU0OTU0MjIzOCwic3ViIjp7ImlkIjoxMCwiZmlyc3RuYW1lIjoiSmFtZXMiLCJsYXN0bmFtZSI6Ik11ZGlkaSIsIm90aGVybmFtZXMiOiJUdWtlaSIsImVtYWlsIjoibXVkaWRpLmppbW15QGdtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCQxcnpaT0JZTCQ2MmY5YzRiMGViMmFjYjE2YTQxYzM1NDk5YmM5ZWI2MzFiNjJkNGI4ZDI3NDgxYzQzYzg5NTUwMGY2M2E2YjViIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.LhTDuvmxoBy8RpYoE_QpoNUL-A94XFuzh85rEwPqCVM"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"coruption is huge\",\n\t\"location\": \"kireka\",\n\t\"title\": \"we need help\",\n\t\"status\": \"It is getting worse\",\n\t\"Images\": \"images on their way\",\n\t\"Videos\": \"videos on their way\"\n}"},"url":"http://127.0.0.1:5000/api/v2/redflags/31/comment","description":"<p>This link helps in editiong the redflag comment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","redflags","31","comment"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7b9b403-b08e-1dd0-5bbb-dda21250bd65"},{"name":"Patching a Redflag location","id":"f208de40-574f-611c-6245-1f7858e43f1f","request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDk2Mjg2MzgsImlhdCI6MTU0OTU0MjIzOCwic3ViIjp7ImlkIjoxMCwiZmlyc3RuYW1lIjoiSmFtZXMiLCJsYXN0bmFtZSI6Ik11ZGlkaSIsIm90aGVybmFtZXMiOiJUdWtlaSIsImVtYWlsIjoibXVkaWRpLmppbW15QGdtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCQxcnpaT0JZTCQ2MmY5YzRiMGViMmFjYjE2YTQxYzM1NDk5YmM5ZWI2MzFiNjJkNGI4ZDI3NDgxYzQzYzg5NTUwMGY2M2E2YjViIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.LhTDuvmxoBy8RpYoE_QpoNUL-A94XFuzh85rEwPqCVM"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"coruption is huge\",\n\t\"location\": \"kireka kamuli c\",\n\t\"title\": \"we need help\",\n\t\"status\": \"It is getting worse\",\n\t\"Images\": \"images on their way\",\n\t\"Videos\": \"videos on their way\"\n}"},"url":"http://127.0.0.1:5000/api/v2/redflags/31/location","description":"<p>This link helps in editiong the redflag location</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","redflags","31","location"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f208de40-574f-611c-6245-1f7858e43f1f"},{"name":"Patching a Redflag status","id":"299249d1-f582-aaa7-ee22-b2539f8f502b","request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDk2Mjg2MzgsImlhdCI6MTU0OTU0MjIzOCwic3ViIjp7ImlkIjoxMCwiZmlyc3RuYW1lIjoiSmFtZXMiLCJsYXN0bmFtZSI6Ik11ZGlkaSIsIm90aGVybmFtZXMiOiJUdWtlaSIsImVtYWlsIjoibXVkaWRpLmppbW15QGdtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCQxcnpaT0JZTCQ2MmY5YzRiMGViMmFjYjE2YTQxYzM1NDk5YmM5ZWI2MzFiNjJkNGI4ZDI3NDgxYzQzYzg5NTUwMGY2M2E2YjViIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.LhTDuvmxoBy8RpYoE_QpoNUL-A94XFuzh85rEwPqCVM"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"coruption is huge\",\n\t\"location\": \"kireka kamuli c\",\n\t\"title\": \"we need help\",\n\t\"status\": \"Accepted\",\n\t\"Images\": \"images on their way\",\n\t\"Videos\": \"videos on their way\"\n}"},"url":"http://127.0.0.1:5000/api/v2/redflags/31/status","description":"<p>This link helps in editiong the redflag status</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","redflags","31","status"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"299249d1-f582-aaa7-ee22-b2539f8f502b"}],"id":"2d949683-2a21-a64e-bdc0-2851239fd40e","_postman_id":"2d949683-2a21-a64e-bdc0-2851239fd40e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}}},{"name":"Landing","item":[],"id":"c738e4f8-03a8-1171-5386-92edea70fdb7","_postman_id":"c738e4f8-03a8-1171-5386-92edea70fdb7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}}},{"name":"interventions","item":[{"name":"Getting 1 Intervention","id":"b6505ead-2b86-3566-bd6f-a4e4a786539c","request":{"method":"GET","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/interventions","description":"<p>This link helps in getting only one intervention</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","interventions"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6505ead-2b86-3566-bd6f-a4e4a786539c"},{"name":"Post an Intervention","id":"4baa1ce2-8471-eb43-e6e3-03b74527bb47","request":{"method":"POST","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDk2Mjg2MzgsImlhdCI6MTU0OTU0MjIzOCwic3ViIjp7ImlkIjoxMCwiZmlyc3RuYW1lIjoiSmFtZXMiLCJsYXN0bmFtZSI6Ik11ZGlkaSIsIm90aGVybmFtZXMiOiJUdWtlaSIsImVtYWlsIjoibXVkaWRpLmppbW15QGdtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCQxcnpaT0JZTCQ2MmY5YzRiMGViMmFjYjE2YTQxYzM1NDk5YmM5ZWI2MzFiNjJkNGI4ZDI3NDgxYzQzYzg5NTUwMGY2M2E2YjViIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.LhTDuvmxoBy8RpYoE_QpoNUL-A94XFuzh85rEwPqCVM"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"intervention\",\n\t\"comment\": \"intervene in our situation now\",\n\t\"location\": \"mukono\",\n\t\"title\": \"we need urgent help now\",\n\t\"status\": \"every minute we loose\",\n\t\"Images\": \"images on their way\",\n\t\"Videos\": \"videos on their way\"\n}"},"url":"http://127.0.0.1:5000/api/v2/interventions","description":"<p>This link helps in creating interventions</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","interventions"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4baa1ce2-8471-eb43-e6e3-03b74527bb47"},{"name":"Get all Interventions","id":"d943ea23-6b43-cb69-8491-718eb727f4ee","request":{"method":"GET","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/interventions/1","description":"<p>This link helps in getting only the interventions</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","interventions","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d943ea23-6b43-cb69-8491-718eb727f4ee"},{"name":"Delete an Intervention","id":"aace1437-8091-652f-32ec-4cc3eca8b161","request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/interventions/1","description":"<p>This link helps in deleting an intervention</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","interventions","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"aace1437-8091-652f-32ec-4cc3eca8b161"},{"name":"Patching an intervention location","id":"20c9ef7d-ea75-bfac-de07-20944e7b718e","request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"intervention\",\n\t\"comment\": \"intervene in our situation now\",\n\t\"location\": \"kireka\",\n\t\"title\": \"we need urgent help now\",\n\t\"status\": \"every minute we loose\",\n\t\"Images\": \"images on their way\",\n\t\"Videos\": \"videos on their way\"\n}"},"url":"http://127.0.0.1:5000/api/v2/interventions/25/location","description":"<p>This link helps in editiong the intervention location</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","interventions","25","location"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"20c9ef7d-ea75-bfac-de07-20944e7b718e"},{"name":"Patch Intervention comment","id":"db89a661-f7d7-4660-ff4a-1c87314d7459","request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/interventions/1/comment","description":"<p>This link helps in editiong the intervention comment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","interventions","1","comment"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"db89a661-f7d7-4660-ff4a-1c87314d7459"}],"id":"5e5e1574-4149-c67d-de0a-83f7a100ffea","_postman_id":"5e5e1574-4149-c67d-de0a-83f7a100ffea","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}}},{"name":"incidents","item":[{"name":"Get all the incidents","id":"1b1ab1f4-30ad-8232-f33f-4cfc73863476","request":{"method":"GET","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/incidents","description":"<p>This link helps in getting all the incidents created</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","incidents"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b1ab1f4-30ad-8232-f33f-4cfc73863476"}],"id":"922247fb-2dff-5d26-123f-551a244cda59","_postman_id":"922247fb-2dff-5d26-123f-551a244cda59","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}}},{"name":"Home","id":"a4067f20-313e-8e96-bd28-00c2167fe796","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:5000/","description":"<p>This is the landing page for the API</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":[""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4067f20-313e-8e96-bd28-00c2167fe796"},{"name":"Patch Intervention status","id":"052d400c-f3fd-231a-d2d3-dd688f05eb72","request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDg0MTQ3MjUsImlhdCI6MTU0ODMyODMyNSwic3ViIjp7ImlkIjoxLCJmaXJzdG5hbWUiOiJqb2huIiwibGFzdG5hbWUiOiJwYXVsIiwib3RoZXJuYW1lcyI6InRlc3QiLCJlbWFpbCI6ImphczIyMkBtYWlsLmNvbSIsInBob25lbnVtYmVyIjoiMTIzNDU2Nzg5IiwidXNlcm5hbWUiOiJKYW1lcyIsInBhc3N3b3JkIjoicGJrZGYyOnNoYTI1Njo1MDAwMCR6Vk9QN1JEeCQ3NzllOGYxNmM1Zjg3YzA5OGY0NTM3N2VkYWZmOWQ0ZjNkNWJiZWM2ZWY5ZmVhMThhN2QzZDg3NjE3MmJkMjdkIiwicmVnaXN0ZXJlZCI6bnVsbCwiaXNhZG1pbiI6ZmFsc2V9fQ.HenuoWyR5UuLfcGcDzEEAAROWnQ52e9MWbtaheoaHs0"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"redflag\",\n\t\"comment\": \"its here\",\n\t\"location\": \"mukono\",\n\t\"title\": \"who we are\",\n\t\"status\": \"meee\",\n\t\"Images\": \"ghvghvvhggh\",\n\t\"Videos\": \"hjhcbdjhb\"\n\n}"},"url":"http://127.0.0.1:5000/api/v2/interventions/25/status","description":"<p>This link helps in editiong the intervention status</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","id":"907d91be-0f33-9c83-d2ee-8a302ae0be36","name":"ireporter","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v2","interventions","25","status"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"052d400c-f3fd-231a-d2d3-dd688f05eb72"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"a83a6e2c-bd83-4c8c-bb5a-3d5890fd0ee7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"00614040-9566-4ed8-971a-b234ceb1e497","type":"text/javascript","exec":[""]}}]}