{"info":{"_postman_id":"cc53def1-5a19-4c96-94a4-c399d2d8c23a","name":"SMS API","description":"<html><head></head><body><p>An SMS API that allows users send SMS to each other</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2902957","collectionId":"cc53def1-5a19-4c96-94a4-c399d2d8c23a","publishedId":"RzfgoUkA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-12-06T13:15:37.000Z"},"item":[{"name":"User","item":[{"name":"create user","id":"9c35b5c0-7709-4dae-8e7d-083992973b36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phoneNumber","value":"0903828293","description":"<p>A string of postive whole numbers  with a max and min length of 10</p>\n","type":"text"},{"key":"name","value":"Mary Joe","description":"<p>A user's first or last name or both</p>\n","type":"text"}]},"url":"localhost:5500/api/v1/users/user","description":"<p>Endpoint for creating users</p>\n","urlObject":{"port":"5500","path":["api","v1","users","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"bb9a523a-9fc1-4b75-90f6-4291469c9234","name":"create user","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phoneNumber","value":"0903828293","description":"A string of postive whole numbers  with a max and min length of 10","type":"text"},{"key":"name","value":"Mary Joe","description":"A user's first or last name or both","type":"text"}]},"url":"localhost:5500/api/v1/users/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"176"},{"key":"Date","value":"Thu, 06 Dec 2018 13:57:40 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"phoneNumber\": \"0903828293\",\n        \"name\": \"Mary Joe\",\n        \"id\": \"-LT2noqim3VzyMdkk8Nc\",\n        \"updatedAt\": \"2018-12-06T13:57:40.398Z\",\n        \"createdAt\": \"2018-12-06T13:57:40.398Z\"\n    }\n}"}],"_postman_id":"9c35b5c0-7709-4dae-8e7d-083992973b36"},{"name":"Update user","id":"2bae731a-2bda-4abb-a0f6-70c3cc393e6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phoneNumber","value":"0913038272","description":"<p>A string of postive whole numbers  with a max and min length of 10</p>\n","type":"text"},{"key":"name","value":"Mary Joe kenny lolo","description":"<p>A user's first or last name or both</p>\n","type":"text"}]},"url":"localhost:5500/api/v1/users/-LT2lxN68OsaC-8U8CbU","urlObject":{"port":"5500","path":["api","v1","users","-LT2lxN68OsaC-8U8CbU"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0bf6a84b-b0a1-4f2c-aedc-de85c5936f1d","name":"Update user","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phoneNumber","value":"0913038272","description":"A string of postive whole numbers  with a max and min length of 10","type":"text"},{"key":"name","value":"Mary Joe kenny lolo","description":"A user's first or last name or both","type":"text"}]},"url":"localhost:5500/api/v1/users/-LT2lxN68OsaC-8U8CbU"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"187"},{"key":"Date","value":"Thu, 06 Dec 2018 13:51:09 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"-LT2lxN68OsaC-8U8CbU\",\n        \"phoneNumber\": \"0913038272\",\n        \"name\": \"Mary Joe kenny lolo\",\n        \"createdAt\": \"2018-12-06T13:49:31.015Z\",\n        \"updatedAt\": \"2018-12-06T13:51:09.389Z\"\n    }\n}"}],"_postman_id":"2bae731a-2bda-4abb-a0f6-70c3cc393e6a"},{"name":"Delete user","id":"be2b40ae-047b-4911-a182-71bd49cfdadf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost:5500/api/v1/users/-LT2lxN68OsaC-8U8CbU","urlObject":{"port":"5500","path":["api","v1","users","-LT2lxN68OsaC-8U8CbU"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"719edb37-09f7-449d-aadd-d405707f9ee2","name":"Delete user","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost:5500/api/v1/users/-LT2lxN68OsaC-8U8CbU"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"Date","value":"Thu, 06 Dec 2018 13:51:33 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"message\": \"Resource deleted\"\n    }\n}"},{"id":"7aeb0530-9229-4864-b44d-b668f3bf60cd","name":"Delete user","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phoneNumber","value":"0913038272","description":"A string of postive whole numbers  with a max and min length of 10","type":"text"},{"key":"name","value":"Mary Joe kenny","description":"A user's first or last name or both","type":"text"}]},"url":"localhost:5500/api/v1/users/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"Date","value":"Thu, 06 Dec 2018 11:07:20 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"message\": \"Resource deleted\"\n    }\n}"}],"_postman_id":"be2b40ae-047b-4911-a182-71bd49cfdadf"},{"name":"Get user","id":"02b9dd0a-d402-46fb-8116-b05b98962ba2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:5500/api/v1/users/-LT2iGn_Z85Nag2e22yQ","description":"<p>Endpoint for getting a user's record</p>\n","urlObject":{"port":"5500","path":["api","v1","users","-LT2iGn_Z85Nag2e22yQ"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"24e457c1-2612-4a39-92c7-9211a6178712","name":"Get user","originalRequest":{"method":"GET","header":[],"url":"localhost:5500/api/v1/users/-LT2iGn_Z85Nag2e22yQ"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"176"},{"key":"Date","value":"Thu, 06 Dec 2018 13:52:30 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"-LT2iGn_Z85Nag2e22yQ\",\n        \"phoneNumber\": \"0903838272\",\n        \"name\": \"Mary Joe\",\n        \"createdAt\": \"2018-12-06T13:33:45.541Z\",\n        \"updatedAt\": \"2018-12-06T13:33:45.541Z\"\n    }\n}"}],"_postman_id":"02b9dd0a-d402-46fb-8116-b05b98962ba2"},{"name":"Get all user messages","id":"3f036cc6-488e-4ea6-8a12-c5ed39e1952c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost:5500/api/v1/users/-LT2iGn_Z85Nag2e22yQ/messages/all","urlObject":{"port":"5500","path":["api","v1","users","-LT2iGn_Z85Nag2e22yQ","messages","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9567f806-6e39-4860-b3bd-e46e16f56b57","name":"Get all user messages","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phoneNumber","value":"0983828293","description":"A string of postive whole numbers  with a max and min length of 10","type":"text"},{"key":"name","value":"Mary Joe","description":"A user's first or last name or both","type":"text"}]},"url":"localhost:5500/api/v1/users/-LT2iGn_Z85Nag2e22yQ/messages/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6603"},{"key":"Date","value":"Thu, 06 Dec 2018 20:23:08 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"-LT2iGn_Z85Nag2e22yQ\",\n        \"receivedMessages\": [],\n        \"sentMessages\": [\n            {\n                \"id\": \"-LT3fcFaQnuP30S8Gc1l\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": \"-LT2ldhLYn9mQctPnL3Y\",\n                \"createdAt\": \"2018-12-06T18:01:28.872Z\",\n                \"updatedAt\": \"2018-12-06T18:01:28.894Z\",\n                \"receiver\": {\n                    \"id\": \"-LT2ldhLYn9mQctPnL3Y\",\n                    \"phoneNumber\": \"0903828273\",\n                    \"name\": \"Mary Joe\",\n                    \"createdAt\": \"2018-12-06T13:48:10.454Z\",\n                    \"updatedAt\": \"2018-12-06T13:48:10.454Z\"\n                }\n            },\n            {\n                \"id\": \"-LT3fj39p1ByUyflr6bg\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": \"-LT2ldhLYn9mQctPnL3Y\",\n                \"createdAt\": \"2018-12-06T18:01:56.747Z\",\n                \"updatedAt\": \"2018-12-06T18:01:56.791Z\",\n                \"receiver\": {\n                    \"id\": \"-LT2ldhLYn9mQctPnL3Y\",\n                    \"phoneNumber\": \"0903828273\",\n                    \"name\": \"Mary Joe\",\n                    \"createdAt\": \"2018-12-06T13:48:10.454Z\",\n                    \"updatedAt\": \"2018-12-06T13:48:10.454Z\"\n                }\n            },\n            {\n                \"id\": \"-LT3frDCqD1dIfwvkrJI\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": \"-LT2ldhLYn9mQctPnL3Y\",\n                \"createdAt\": \"2018-12-06T18:02:30.158Z\",\n                \"updatedAt\": \"2018-12-06T18:02:30.175Z\",\n                \"receiver\": {\n                    \"id\": \"-LT2ldhLYn9mQctPnL3Y\",\n                    \"phoneNumber\": \"0903828273\",\n                    \"name\": \"Mary Joe\",\n                    \"createdAt\": \"2018-12-06T13:48:10.454Z\",\n                    \"updatedAt\": \"2018-12-06T13:48:10.454Z\"\n                }\n            },\n            {\n                \"id\": \"-LT3hY1xQo9l9BpN87wT\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": \"-LT3eSd4tLZd1135fO0Q\",\n                \"createdAt\": \"2018-12-06T18:09:51.805Z\",\n                \"updatedAt\": \"2018-12-06T18:09:51.819Z\",\n                \"receiver\": {\n                    \"id\": \"-LT3eSd4tLZd1135fO0Q\",\n                    \"phoneNumber\": \"0923828293\",\n                    \"name\": \"Mary Joe\",\n                    \"createdAt\": \"2018-12-06T17:56:23.238Z\",\n                    \"updatedAt\": \"2018-12-06T17:56:23.238Z\"\n                }\n            },\n            {\n                \"id\": \"-LT2loYIkny3ZSyG-cIi\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:54.867Z\",\n                \"updatedAt\": \"2018-12-06T13:48:54.875Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2ir8SrGPuYV-ZknCm\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:36:43.200Z\",\n                \"updatedAt\": \"2018-12-06T13:36:43.233Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2jATXHY6tUSVaUHzi\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:37:28.003Z\",\n                \"updatedAt\": \"2018-12-06T13:37:28.020Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memerjpcnhan4\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:41:52.482Z\",\n                \"updatedAt\": \"2018-12-06T13:41:52.496Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2lokY4izyOz6PoRWP\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:55.715Z\",\n                \"updatedAt\": \"2018-12-06T13:48:55.726Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkmz2\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:24.398Z\",\n                \"updatedAt\": \"2018-12-06T13:44:24.412Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkojq\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:26.438Z\",\n                \"updatedAt\": \"2018-12-06T13:44:26.451Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkps1\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:28.033Z\",\n                \"updatedAt\": \"2018-12-06T13:44:28.044Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2loyDxcZ0jlbGRlDd\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:56.590Z\",\n                \"updatedAt\": \"2018-12-06T13:48:56.600Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkqs0\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:29.328Z\",\n                \"updatedAt\": \"2018-12-06T13:44:29.344Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkty1\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:33.434Z\",\n                \"updatedAt\": \"2018-12-06T13:44:33.446Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkv35\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:34.913Z\",\n                \"updatedAt\": \"2018-12-06T13:44:34.923Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkwhv\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:36.739Z\",\n                \"updatedAt\": \"2018-12-06T13:44:36.759Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkyh0\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:39.300Z\",\n                \"updatedAt\": \"2018-12-06T13:44:39.315Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2m2kjfPSHyP8sWOIb\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:49:57.167Z\",\n                \"updatedAt\": \"2018-12-06T13:49:57.173Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memp6jpcnn8e7\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:46:25.471Z\",\n                \"updatedAt\": \"2018-12-06T13:46:25.488Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2lnueJ6Ifp-aWroNe\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:52.266Z\",\n                \"updatedAt\": \"2018-12-06T13:48:52.276Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2lo7V1B0k1IFLeDV3\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:53.152Z\",\n                \"updatedAt\": \"2018-12-06T13:48:53.165Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2o3gFqStHNgrVt9cT\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:58:45.264Z\",\n                \"updatedAt\": \"2018-12-06T13:58:45.272Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2loKikJW7QBMlpacl\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:53.998Z\",\n                \"updatedAt\": \"2018-12-06T13:48:54.006Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2pHZsMRL10iQG9x79\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T14:04:04.281Z\",\n                \"updatedAt\": \"2018-12-06T14:04:04.296Z\",\n                \"receiver\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"3f036cc6-488e-4ea6-8a12-c5ed39e1952c"},{"name":"Get all messages sent by a user","id":"91cb0ccc-6120-40dd-bb15-9f5ca00bca09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost:5500/api/v1/users/-LT2iGn_Z85Nag2e22yQ/messages/sent","urlObject":{"port":"5500","path":["api","v1","users","-LT2iGn_Z85Nag2e22yQ","messages","sent"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a022df1f-3771-42d4-a87d-d673a469183d","name":"Get all messages sent by a user","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost:5500/api/v1/users/-LT2iGn_Z85Nag2e22yQ/messages/sent"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6581"},{"key":"Date","value":"Thu, 06 Dec 2018 20:21:56 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"-LT2iGn_Z85Nag2e22yQ\",\n        \"sentMessages\": [\n            {\n                \"id\": \"-LT3fcFaQnuP30S8Gc1l\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": \"-LT2ldhLYn9mQctPnL3Y\",\n                \"createdAt\": \"2018-12-06T18:01:28.872Z\",\n                \"updatedAt\": \"2018-12-06T18:01:28.894Z\",\n                \"receiver\": {\n                    \"id\": \"-LT2ldhLYn9mQctPnL3Y\",\n                    \"phoneNumber\": \"0903828273\",\n                    \"name\": \"Mary Joe\",\n                    \"createdAt\": \"2018-12-06T13:48:10.454Z\",\n                    \"updatedAt\": \"2018-12-06T13:48:10.454Z\"\n                }\n            },\n            {\n                \"id\": \"-LT3fj39p1ByUyflr6bg\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": \"-LT2ldhLYn9mQctPnL3Y\",\n                \"createdAt\": \"2018-12-06T18:01:56.747Z\",\n                \"updatedAt\": \"2018-12-06T18:01:56.791Z\",\n                \"receiver\": {\n                    \"id\": \"-LT2ldhLYn9mQctPnL3Y\",\n                    \"phoneNumber\": \"0903828273\",\n                    \"name\": \"Mary Joe\",\n                    \"createdAt\": \"2018-12-06T13:48:10.454Z\",\n                    \"updatedAt\": \"2018-12-06T13:48:10.454Z\"\n                }\n            },\n            {\n                \"id\": \"-LT3frDCqD1dIfwvkrJI\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": \"-LT2ldhLYn9mQctPnL3Y\",\n                \"createdAt\": \"2018-12-06T18:02:30.158Z\",\n                \"updatedAt\": \"2018-12-06T18:02:30.175Z\",\n                \"receiver\": {\n                    \"id\": \"-LT2ldhLYn9mQctPnL3Y\",\n                    \"phoneNumber\": \"0903828273\",\n                    \"name\": \"Mary Joe\",\n                    \"createdAt\": \"2018-12-06T13:48:10.454Z\",\n                    \"updatedAt\": \"2018-12-06T13:48:10.454Z\"\n                }\n            },\n            {\n                \"id\": \"-LT3hY1xQo9l9BpN87wT\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": \"-LT3eSd4tLZd1135fO0Q\",\n                \"createdAt\": \"2018-12-06T18:09:51.805Z\",\n                \"updatedAt\": \"2018-12-06T18:09:51.819Z\",\n                \"receiver\": {\n                    \"id\": \"-LT3eSd4tLZd1135fO0Q\",\n                    \"phoneNumber\": \"0923828293\",\n                    \"name\": \"Mary Joe\",\n                    \"createdAt\": \"2018-12-06T17:56:23.238Z\",\n                    \"updatedAt\": \"2018-12-06T17:56:23.238Z\"\n                }\n            },\n            {\n                \"id\": \"-LT2loYIkny3ZSyG-cIi\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:54.867Z\",\n                \"updatedAt\": \"2018-12-06T13:48:54.875Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2ir8SrGPuYV-ZknCm\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:36:43.200Z\",\n                \"updatedAt\": \"2018-12-06T13:36:43.233Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2jATXHY6tUSVaUHzi\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:37:28.003Z\",\n                \"updatedAt\": \"2018-12-06T13:37:28.020Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memerjpcnhan4\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:41:52.482Z\",\n                \"updatedAt\": \"2018-12-06T13:41:52.496Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2lokY4izyOz6PoRWP\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:55.715Z\",\n                \"updatedAt\": \"2018-12-06T13:48:55.726Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkmz2\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:24.398Z\",\n                \"updatedAt\": \"2018-12-06T13:44:24.412Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkojq\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:26.438Z\",\n                \"updatedAt\": \"2018-12-06T13:44:26.451Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkps1\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:28.033Z\",\n                \"updatedAt\": \"2018-12-06T13:44:28.044Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2loyDxcZ0jlbGRlDd\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:56.590Z\",\n                \"updatedAt\": \"2018-12-06T13:48:56.600Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkqs0\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:29.328Z\",\n                \"updatedAt\": \"2018-12-06T13:44:29.344Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkty1\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:33.434Z\",\n                \"updatedAt\": \"2018-12-06T13:44:33.446Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkv35\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:34.913Z\",\n                \"updatedAt\": \"2018-12-06T13:44:34.923Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkwhv\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:36.739Z\",\n                \"updatedAt\": \"2018-12-06T13:44:36.759Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memjqjpcnkyh0\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:44:39.300Z\",\n                \"updatedAt\": \"2018-12-06T13:44:39.315Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2m2kjfPSHyP8sWOIb\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:49:57.167Z\",\n                \"updatedAt\": \"2018-12-06T13:49:57.173Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"i4memp6jpcnn8e7\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:46:25.471Z\",\n                \"updatedAt\": \"2018-12-06T13:46:25.488Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2lnueJ6Ifp-aWroNe\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:52.266Z\",\n                \"updatedAt\": \"2018-12-06T13:48:52.276Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2lo7V1B0k1IFLeDV3\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:53.152Z\",\n                \"updatedAt\": \"2018-12-06T13:48:53.165Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2o3gFqStHNgrVt9cT\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:58:45.264Z\",\n                \"updatedAt\": \"2018-12-06T13:58:45.272Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2loKikJW7QBMlpacl\",\n                \"text\": \"\\\"hello my love ooo\\\"\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T13:48:53.998Z\",\n                \"updatedAt\": \"2018-12-06T13:48:54.006Z\",\n                \"receiver\": null\n            },\n            {\n                \"id\": \"-LT2pHZsMRL10iQG9x79\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": null,\n                \"createdAt\": \"2018-12-06T14:04:04.281Z\",\n                \"updatedAt\": \"2018-12-06T14:04:04.296Z\",\n                \"receiver\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"91cb0ccc-6120-40dd-bb15-9f5ca00bca09"},{"name":"Get all messages received by a user","id":"852d3ed6-4643-4abb-ae74-56902d6ab1e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost:5500/api/v1/users/-LT3eSd4tLZd1135fO0Q/messages/received","urlObject":{"port":"5500","path":["api","v1","users","-LT3eSd4tLZd1135fO0Q","messages","received"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"30228f76-a2a9-4dbc-a3d8-23d6b45f5ada","name":"Get all messages received by a user","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost:5500/api/v1/users/-LT3eSd4tLZd1135fO0Q/messages/received"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"471"},{"key":"Date","value":"Thu, 06 Dec 2018 20:22:32 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"-LT3eSd4tLZd1135fO0Q\",\n        \"receivedMessages\": [\n            {\n                \"id\": \"-LT3hY1xQo9l9BpN87wT\",\n                \"text\": \"hello my love ooo\",\n                \"status\": \"UNREAD\",\n                \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n                \"receivedMessageId\": \"-LT3eSd4tLZd1135fO0Q\",\n                \"createdAt\": \"2018-12-06T18:09:51.805Z\",\n                \"updatedAt\": \"2018-12-06T18:09:51.819Z\",\n                \"sender\": {\n                    \"id\": \"-LT2iGn_Z85Nag2e22yQ\",\n                    \"phoneNumber\": \"0903838272\",\n                    \"name\": \"Mary Joe\",\n                    \"createdAt\": \"2018-12-06T13:33:45.541Z\",\n                    \"updatedAt\": \"2018-12-06T13:33:45.541Z\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"852d3ed6-4643-4abb-ae74-56902d6ab1e5"}],"id":"9e4f1f29-f3f9-448c-be15-757d2aa79003","_postman_id":"9e4f1f29-f3f9-448c-be15-757d2aa79003","description":""},{"name":"Message","item":[{"name":"Create message","id":"3a4907bf-a088-4440-b2ee-a3ad436d654f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"text","value":"hello my love ooo","description":"<p>Message content</p>\n","type":"text"},{"key":"senderId","value":"-LT2iGn_Z85Nag2e22yQ","description":"<p>Id of the sender</p>\n","type":"text"},{"key":"receiverId","value":"-LT2i_oxRToxaRhVzVqx","description":"<p>Id of the receiver</p>\n","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"http://localhost:5500/api/v1/messages/message","urlObject":{"protocol":"http","port":"5500","path":["api","v1","messages","message"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"505b6543-9a0d-4f92-aaa6-f4111bea1155","name":"Create message","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"text","value":"hello my love ooo","description":"Message content","type":"text"},{"key":"senderId","value":"-LT2iGn_Z85Nag2e22yQ","description":"Id of the sender","type":"text"},{"key":"receiverId","value":"-LT2i_oxRToxaRhVzVqx","description":"Id of the receiver","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"http://localhost:5500/api/v1/messages/message"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"584"},{"key":"Date","value":"Thu, 06 Dec 2018 13:49:57 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"-LT2m2kjfPSHyP8sWOIb\",\n        \"text\": \"hello my love ooo\",\n        \"status\": \"UNREAD\",\n        \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n        \"receivedMessageId\": \"-LT2i_oxRToxaRhVzVqx\",\n        \"createdAt\": \"2018-12-06T13:49:57.167Z\",\n        \"updatedAt\": \"2018-12-06T13:49:57.173Z\",\n        \"sender\": {\n            \"id\": \"-LT2iGn_Z85Nag2e22yQ\",\n            \"phoneNumber\": \"0903838272\",\n            \"name\": \"Mary Joe\",\n            \"createdAt\": \"2018-12-06T13:33:45.541Z\",\n            \"updatedAt\": \"2018-12-06T13:33:45.541Z\"\n        },\n        \"receiver\": {\n            \"id\": \"-LT2i_oxRToxaRhVzVqx\",\n            \"phoneNumber\": \"0903828272\",\n            \"name\": \"Mary Joe\",\n            \"createdAt\": \"2018-12-06T13:35:07.053Z\",\n            \"updatedAt\": \"2018-12-06T13:35:07.053Z\"\n        }\n    }\n}"}],"_postman_id":"3a4907bf-a088-4440-b2ee-a3ad436d654f"},{"name":"Update message status","id":"41bd1f82-c302-4058-b461-a7266d0397d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:5500/api/v1/messages/-LT2lpABMaCuwa78qi70?status=READ","urlObject":{"protocol":"http","port":"5500","path":["api","v1","messages","-LT2lpABMaCuwa78qi70"],"host":["localhost"],"query":[{"description":{"content":"<p>Status can either be READ or UNREAD</p>\n","type":"text/plain"},"key":"status","value":"READ"},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"4d9daf01-cf2c-4dd1-8551-d63bf0f6c156","name":"Update message status","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":{"raw":"http://localhost:5500/api/v1/messages/-LT2lpABMaCuwa78qi70?status=READ","protocol":"http","host":["localhost"],"port":"5500","path":["api","v1","messages","-LT2lpABMaCuwa78qi70"],"query":[{"key":"status","value":"READ","description":"Status can either be READ or UNREAD"},{"key":"","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"260"},{"key":"Date","value":"Thu, 06 Dec 2018 13:53:18 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"-LT2lpABMaCuwa78qi70\",\n        \"text\": \"\\\"hello my love ooo\\\"\",\n        \"status\": \"READ\",\n        \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n        \"receivedMessageId\": \"-LT2i_oxRToxaRhVzVqx\",\n        \"createdAt\": \"2018-12-06T13:48:57.420Z\",\n        \"updatedAt\": \"2018-12-06T13:53:18.510Z\"\n    }\n}"}],"_postman_id":"41bd1f82-c302-4058-b461-a7266d0397d9"},{"name":"Get message","id":"fcccbd18-3926-4e8d-bd6a-5169a7e945fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:5500/api/v1/messages/-LT2lpABMaCuwa78qi70","urlObject":{"protocol":"http","port":"5500","path":["api","v1","messages","-LT2lpABMaCuwa78qi70"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b8bcf32e-23d3-49b5-8b38-ed0c6afd61b4","name":"Get message","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:5500/api/v1/messages/-LT2lpABMaCuwa78qi70"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"586"},{"key":"Date","value":"Thu, 06 Dec 2018 13:53:42 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"-LT2lpABMaCuwa78qi70\",\n        \"text\": \"\\\"hello my love ooo\\\"\",\n        \"status\": \"READ\",\n        \"sentMessageId\": \"-LT2iGn_Z85Nag2e22yQ\",\n        \"receivedMessageId\": \"-LT2i_oxRToxaRhVzVqx\",\n        \"createdAt\": \"2018-12-06T13:48:57.420Z\",\n        \"updatedAt\": \"2018-12-06T13:53:18.510Z\",\n        \"sender\": {\n            \"id\": \"-LT2iGn_Z85Nag2e22yQ\",\n            \"phoneNumber\": \"0903838272\",\n            \"name\": \"Mary Joe\",\n            \"createdAt\": \"2018-12-06T13:33:45.541Z\",\n            \"updatedAt\": \"2018-12-06T13:33:45.541Z\"\n        },\n        \"receiver\": {\n            \"id\": \"-LT2i_oxRToxaRhVzVqx\",\n            \"phoneNumber\": \"0903828272\",\n            \"name\": \"Mary Joe\",\n            \"createdAt\": \"2018-12-06T13:35:07.053Z\",\n            \"updatedAt\": \"2018-12-06T13:35:07.053Z\"\n        }\n    }\n}"}],"_postman_id":"fcccbd18-3926-4e8d-bd6a-5169a7e945fa"},{"name":"Delete message","id":"a2e12ec7-8465-4933-9a31-79de9943d7ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:5500/api/v1/messages/-LT2lpABMaCuwa78qi70","urlObject":{"protocol":"http","port":"5500","path":["api","v1","messages","-LT2lpABMaCuwa78qi70"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1c79778e-7240-4edb-ab7b-48561351aeae","name":"Delete message","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:5500/api/v1/messages/-LT2lpABMaCuwa78qi70"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"Date","value":"Thu, 06 Dec 2018 13:53:59 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"message\": \"Resource deleted\"\n    }\n}"}],"_postman_id":"a2e12ec7-8465-4933-9a31-79de9943d7ff"}],"id":"60773759-60f8-4335-813c-36312886d096","_postman_id":"60773759-60f8-4335-813c-36312886d096","description":""}]}