{"info":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","description":"<html><head></head><body><p>An API for a tweet like application. It has the following features.</p>\n<ul>\n<li>Users can create accounts</li>\n<li>Users can follow and unfollow each other</li>\n<li>Users can make a tweet which can contain text (compulsory) and image(optional)</li>\n<li>Users can see tweets from the users they follow on newsfeed</li>\n<li>Users can view &amp; update their profile</li>\n<li>Users can retrieve and delete their own tweets</li>\n</ul>\n<p>Images uploaded are hosted on <a href=\"https://cloudinary.com/\">Cloudinary</a></p>\n<p>The profile view and newsfeed of each user are cached for 15 minutes using REDIS.</p>\n<p>Contact Support:<br>Email: <a href=\"mailto:fayemibolu2@gmail.com\">fayemibolu2@gmail.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20059082","collectionId":"acf7b2ea-c87d-40c7-b323-e89975de2081","publishedId":"UzBqp5wH","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-06-24T09:16:04.000Z"},"item":[{"name":"Welcome","item":[{"name":"Api Welcome","id":"aa532386-80ce-4896-b648-c2581a24479b","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://twit-fleet.herokuapp.com/","description":"<p>Welcome Api response.</p>\n","urlObject":{"path":[""],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[]}},"response":[{"id":"5b131ce0-2cbf-44fb-bbbc-b0bfe01cc9de","name":"Api Welcome","originalRequest":{"method":"GET","header":[],"url":"http://twit-fleet.herokuapp.com/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Fri, 24 Jun 2022 19:23:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"30"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"twit-fleet\": \"tweeter-fleet\"\n}"}],"_postman_id":"aa532386-80ce-4896-b648-c2581a24479b"}],"id":"dd92177b-10dc-45c3-a575-c8dd094374f0","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"9709c896-6605-4253-8eea-cc5b1244df8a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ad9b64e5-338d-4616-b699-586a08fa9370","type":"text/javascript","exec":[""]}}],"_postman_id":"dd92177b-10dc-45c3-a575-c8dd094374f0","description":""},{"name":"api/v1","item":[{"name":"Authentication","item":[{"name":"Register User","id":"784edb97-3383-4df2-8223-43f94a30e0dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"<string>\",\r\n  \"password\": \"<string>\",\r\n  \"password2\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://twit-fleet.herokuapp.com/api/v1/auth/register","description":"<p>Create a new user</p>\n","urlObject":{"path":["api","v1","auth","register"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[]}},"response":[{"id":"52a0e523-442c-49e3-ae98-e5e9322f6a5b","name":"Register User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"twitter\",\r\n  \"password\": \"123456\",\r\n  \"password2\": \"123456\"\r\n}"},"url":"http://twit-fleet.herokuapp.com/api/v1/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Fri, 24 Jun 2022 17:49:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"137"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"User created successfully\",\n    \"data\": {\n        \"username\": \"test\"\n    }\n}"}],"_postman_id":"784edb97-3383-4df2-8223-43f94a30e0dd"},{"name":"Login User","id":"cca32054-1a7e-417a-8a8a-767bf1794878","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"<string>\",\r\n  \"password\": \"<string>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://twit-fleet.herokuapp.com/api/v1/auth/login","description":"<p>Return access and refresh tokens based on credentials provided if valid</p>\n","urlObject":{"path":["api","v1","auth","login"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[]}},"response":[{"id":"b34d32d2-df10-437f-9419-2d059e38ed9f","name":"Login User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"test\",\r\n  \"password\": \"testing\"\r\n}"},"url":"http://twit-fleet.herokuapp.com/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"data\": {\r\n        \"username\": \"test\"\r\n    },\r\n    \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY2HjY5ODQxMiwiaWF0IjoxNjU2MDkzNjEyLCJqdGkiOiJmMGU5MzlkYjI4ZDU0NTVjYjViZjg4ZDJhMmVjNTA1ZiIsInVzZXJfaWQiOjJ9.7HeKU89w1rZdthXwzVL8LDKya10oD2wh5LIbiAJQK-A\",\r\n    \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjU2MTgwMDEyLCJpMKQiOjE2NTYwOTM2MTIsImp0aSI6ImE4MDM2MWM2MWFlMzQ1MTI5ZDIyYWFmMDU5MWY1NDZkIiwidXNlcl9pZCI6Mn0.6YZUNRsb2H4G2SJQdxCQlAz0B8DYlHXfcHLkmjNWJhI\"\r\n}"}],"_postman_id":"cca32054-1a7e-417a-8a8a-767bf1794878"},{"name":"Get User's Profile","id":"9f079703-1ee5-48f5-b636-7244e006dc68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id","description":"<p>Get information about a user's profile</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","auth","users",":id"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[{"description":{"content":"<p>Required. correspond to user's id</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"e8b7c2d0-3310-4d3a-ab62-599eccab73f4","name":"Get User's Profile","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id","host":["http://twit-fleet.herokuapp.com"],"path":["api","v1","auth","users",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"data\": {\r\n        \"id\": 1,\r\n        \"username\": \"test\",\r\n        \"bio\": \"I'm a test user\",\r\n        \"avatar\": \"https://res.cloudinary.com/dskgddate/image/upload/v1/media/avatar_images/myAvatar_q93gej\",\r\n        \"followers\": [1,2],\r\n        \"dob\": null,\r\n        \"following\": [3,1]\r\n    }\r\n}"}],"_postman_id":"9f079703-1ee5-48f5-b636-7244e006dc68"},{"name":"Update User's Profile","id":"1f929863-f5d6-4f55-9c4c-516bdd681253","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"<string>","type":"text"},{"key":"bio","value":"<string>","type":"text"},{"key":"avatar","description":"<p>image file</p>\n","type":"file","value":null},{"key":"dob","value":"<date>","type":"text"}]},"url":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id","description":"<p>Update Profile of user whose id was provided in the path parameter if that user is the authenticated user</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","auth","users",":id"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[{"description":{"content":"<p>Required. Correspond to User's id</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"57ac52c3-aed2-46d8-a692-f96a98630010","name":"Update User's Profile","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"tester","type":"text"},{"key":"bio","value":"I'm now a tester","type":"text"},{"key":"avatar","description":"image file","type":"file","value":null},{"key":"dob","value":"12-03-2003","description":"date","type":"text"}]},"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id","host":["http://twit-fleet.herokuapp.com"],"path":["api","v1","auth","users",":id"],"variable":[{"key":"id","value":"<integer>","description":"Required. Correspond to User's id"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"Successful\",\r\n    \"data\": {\r\n        \"id\": 2,\r\n        \"username\": \"tester\",\r\n        \"bio\": \"I'm now a tester\",\r\n        \"avatar\": \"https://res.cloudinary.com/dskgddate/image/upload/v1/media/avatar_images/myAvatar_q93gej\",\r\n        \"followers\": [1, 3],\r\n        \"dob\": \"12-03-2003\",\r\n        \"following\": [3,2]\r\n    },\r\n    \"message\": \"Profile Updated Successfully\"\r\n}"}],"_postman_id":"1f929863-f5d6-4f55-9c4c-516bdd681253"},{"name":"User's Followers","id":"f54029cf-a794-40d0-9ca5-faf4eeff8b2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id/followers","description":"<p>Get the number of followers a single user has</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","auth","users",":id","followers"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[{"description":{"content":"<p>Required. Correspond to user's id</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"d4d38ad5-dfbd-4f2f-915a-aa3da0caf7f1","name":"User's Followers","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id/followers","host":["http://twit-fleet.herokuapp.com"],"path":["api","v1","auth","users",":id","followers"],"variable":[{"key":"id","value":"1","description":"Required. Correspond to user's id"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"data\": {\r\n        \"followers-count\": 2\r\n    }\r\n}"}],"_postman_id":"f54029cf-a794-40d0-9ca5-faf4eeff8b2f"},{"name":"Follow a User","id":"0a357312-68f7-4516-ad8a-9ed2e52566ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id/followers","description":"<p>Authenticated user follows the user whose id is in the path parameter</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","auth","users",":id","followers"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[{"description":{"content":"<p>(Required). Correspond to user's id</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"15b45a4d-b461-46e3-af48-6bb670ab4f69","name":"Follow a User","originalRequest":{"method":"POST","header":[],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id/followers","host":["http://twit-fleet.herokuapp.com"],"path":["api","v1","auth","users",":id","followers"],"variable":[{"key":"id","value":"1","description":"(Required). Correspond to user's id"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"data\": [],\r\n    \"message\": \"test follows bovage successfully\"\r\n}"}],"_postman_id":"0a357312-68f7-4516-ad8a-9ed2e52566ab"},{"name":"Unfollow a User","id":"f84c438c-6e49-4791-86f4-e530261e4216","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id/followers","description":"<p>Authenticated user unfollows the user whose id is the id path parameter</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","auth","users",":id","followers"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[{"description":{"content":"<p>(Required).Correspond to user's id</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"070f7a7f-c7e2-4cd1-9d8b-a6f409f6dabf","name":"Unfollow a User","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id/followers","host":["http://twit-fleet.herokuapp.com"],"path":["api","v1","auth","users",":id","followers"],"variable":[{"key":"id","value":"1","description":"(Required).Correspond to user's id"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"data\": [],\r\n    \"message\": \"test follows bovage successfully\"\r\n}"}],"_postman_id":"f84c438c-6e49-4791-86f4-e530261e4216"},{"name":"User's Followings","id":"43d2eb26-2267-4f9b-a5f0-34ce2e0e0ed8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id/followings","description":"<p>Get the number of followings a user has</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","auth","users",":id","followings"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[{"description":{"content":"<p>(Required). Correspond to user's id</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"2c4916a0-4160-45f4-8424-4889183915f5","name":"User's Followings","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/auth/users/:id/followings","host":["http://twit-fleet.herokuapp.com"],"path":["api","v1","auth","users",":id","followings"],"variable":[{"key":"id","value":"1","description":"(Required). Correspond to user's id"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"data\": {\r\n        \"following-count\": 1\r\n    }\r\n}"}],"_postman_id":"43d2eb26-2267-4f9b-a5f0-34ce2e0e0ed8"},{"name":"Refresh Token","id":"e5d179d3-0fd8-46d7-a49d-a460bb7bd482","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"refresh\": \"<string>\"\r\n}"},"url":"http://twit-fleet.herokuapp.com/api/v1/auth/refresh-token","description":"<p>Take the refresh token to return a new valid access token</p>\n","urlObject":{"path":["api","v1","auth","refresh-token"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[]}},"response":[{"id":"6a115464-6475-4bf1-a812-ee2f71772f41","name":"Refresh Token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY1NjcwMDk5OSwiaWF0IjoxNjU2MDk2MTk5LCJqdGkiOiIxMTU5NjA4ZjZjOWE0ZDkzYTFkMjMxNjA1YjY3OWYyYSIsInVzZXJfaWQiOjJ9.HX6Zsm5e_p5eFnrQvfbV0rU0qi1GeioFyk-l7vrwtNM\"\r\n}"},"url":"http://twit-fleet.herokuapp.com/api/v1/auth/refresh-token"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjU2MTgyNzkyLCJpYXQiOjE2NTYwOTYzNjksImp0aSI6ImI0N2QxZjk5ODM1ZDQ2N2U5NGNhY2Y2MGExNGY1NTZkIiwidXNlcl1pZCI6Mn0._pB0kvLxXo92wCVjs1kMWnPXlj0QImCwDFdM2zGQnUY\"\r\n}"}],"_postman_id":"e5d179d3-0fd8-46d7-a49d-a460bb7bd482"}],"id":"cceb148d-5c96-4b0f-ab90-7778d37c40b5","description":"<p>Handles User's account and Profile</p>\n","_postman_id":"cceb148d-5c96-4b0f-ab90-7778d37c40b5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}}},{"name":"Tweets","item":[{"name":"List All Tweets","id":"ea272dfd-3b98-4625-967e-9c94cce0a21c","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://twit-fleet.herokuapp.com/api/v1/tweets/?page=<integer>","description":"<p>Get the tweets of all users</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","tweets",""],"host":["http://twit-fleet.herokuapp.com"],"query":[{"description":{"content":"<p>A page number within the paginated result set.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"}],"variable":[]}},"response":[{"id":"d0620af3-054c-467d-a68b-9e558fc4f4a9","name":"List All Tweets","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/tweets/?page=1","protocol":"http","host":["twit-fleet","herokuapp","com"],"path":["api","v1","tweets",""],"query":[{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 6,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 6,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/6\",\n            \"creator\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/1\",\n            \"creator_name\": \"test\",\n            \"text\": \"Bovage is such a cool guy\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:55:24.235002Z\"\n        },\n        {\n            \"id\": 5,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/5\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/5\",\n            \"text\": \"Elon musk. Welcome to my twitter\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:55:02.107405Z\"\n        },\n        {\n            \"id\": 4,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/4\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/4\",\n            \"text\": \"Elon musk. Welcome to my twitter\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:54:41.355118Z\"\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/3\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/3\",\n            \"text\": \"Hi twitters\",\n            \"image\": \"https://res.cloudinary.com/dskgddate/image/upload/v1/media/tweet_images/DSC_4433_mpnhnd\",\n            \"date_created\": \"2022-06-24T18:54:12.499515Z\"\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/2\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/2\",\n            \"text\": \"Hello world\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:53:11.486502Z\"\n        },\n        {\n            \"id\": 1,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/1\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/1\",\n            \"text\": \"Welcome to twit-fleet\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:53:00.575500Z\"\n        }\n    ]\n}"}],"_postman_id":"ea272dfd-3b98-4625-967e-9c94cce0a21c"},{"name":"Create a Tweet","id":"9f823285-a8ce-4a92-99ad-4b7dca225c70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"text","value":"<string>","type":"text","description":"<p>(Required) </p>\n"},{"key":"image","type":"file","value":null}]},"url":"http://twit-fleet.herokuapp.com/api/v1/tweets/","description":"<p>Create a tweet</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","tweets",""],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[]}},"response":[{"id":"6334fb22-8c92-4524-8004-c1a37b037a9c","name":"Create a Tweet","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"formdata","formdata":[{"description":"(Required) ","key":"text","value":"This is nice.@Bovage","type":"text"},{"key":"image","value":"<binary>","type":"text","description":"Image file","disabled":true}]},"url":"http://twit-fleet.herokuapp.com/api/v1/tweets/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 7,\n    \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/7\",\n    \"creator\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/1\",\n    \"creator_name\": \"test\",\n    \"text\": \"This is nice.@Bovage\",\n    \"image\": null,\n    \"date_created\": \"2022-06-24T19:06:38.955864Z\"\n}"}],"_postman_id":"9f823285-a8ce-4a92-99ad-4b7dca225c70"},{"name":"My News Feed","id":"568a723b-8a51-4d27-b165-1af27e1e5e5f","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://twit-fleet.herokuapp.com/api/v1/tweets/mynewsfeed?page=<integer>","description":"<p>list tweets created by users the authenticated user follows</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","tweets","mynewsfeed"],"host":["http://twit-fleet.herokuapp.com"],"query":[{"description":{"content":"<p>A page number within the paginated result set.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"}],"variable":[]}},"response":[{"id":"a8fdebcd-a5e3-4562-8813-024cc85d97ff","name":"My News Feed","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/tweets/mynewsfeed?page=1","protocol":"http","host":["twit-fleet","herokuapp","com"],"path":["api","v1","tweets","mynewsfeed"],"query":[{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 0,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": []\n}"}],"_postman_id":"568a723b-8a51-4d27-b165-1af27e1e5e5f"},{"name":"List My Tweets","id":"40a16b92-4749-4a40-95b7-04121427f213","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://twit-fleet.herokuapp.com/api/v1/tweets/mytweets?page=<integer>","description":"<p>list tweets created by the authenticated user</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","tweets","mytweets"],"host":["http://twit-fleet.herokuapp.com"],"query":[{"description":{"content":"<p>A page number within the paginated result set.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"}],"variable":[]}},"response":[{"id":"c7694fb7-0e16-4b42-b695-302b15496d89","name":"List My Tweets","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/tweets/mytweets?page=1","protocol":"http","host":["twit-fleet","herokuapp","com"],"path":["api","v1","tweets","mytweets"],"query":[{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 7,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 7,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/7\",\n            \"creator\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/1\",\n            \"creator_name\": \"test\",\n            \"text\": \"This is nice.@Bovage\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T19:06:38.955864Z\"\n        },\n        {\n            \"id\": 6,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/6\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/6\",\n            \"text\": \"Bovage is such a cool guy\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:55:24.235002Z\"\n        },\n        {\n            \"id\": 5,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/5\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/5\",\n            \"text\": \"Elon musk. Welcome to my twitter\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:55:02.107405Z\"\n        },\n        {\n            \"id\": 4,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/4\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/4\",\n            \"text\": \"Elon musk. Welcome to my twitter\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:54:41.355118Z\"\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/3\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/3\",\n            \"text\": \"Hi twitters\",\n            \"image\": \"https://res.cloudinary.com/dskgddate/image/upload/v1/media/tweet_images/DSC_4433_mpnhnd\",\n            \"date_created\": \"2022-06-24T18:54:12.499515Z\"\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/2\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/2\",\n            \"text\": \"Hello world\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:53:11.486502Z\"\n        },\n        {\n            \"id\": 1,\n            \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/1\",\n            \"creator\": \"test\",\n            \"creator_profile\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/1\",\n            \"text\": \"Welcome to twit-fleet\",\n            \"image\": null,\n            \"date_created\": \"2022-06-24T18:53:00.575500Z\"\n        }\n    ]\n}"}],"_postman_id":"40a16b92-4749-4a40-95b7-04121427f213"},{"name":"Get a Tweet","id":"23bbb7f5-3f8d-4dc7-9bf1-3be71e1a7c4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://twit-fleet.herokuapp.com/api/v1/tweets/:id","description":"<p>Retrieve a single tweet using its id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","tweets",":id"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) A unique integer value identifying this tweet.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"8879d48d-77f7-44e4-a4eb-b78762036dea","name":"Get a Tweet","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/tweets/:id","host":["http://twit-fleet.herokuapp.com"],"path":["api","v1","tweets",":id"],"variable":[{"key":"id","value":"1","description":"(Required) A unique integer value identifying this tweet."}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 1,\r\n    \"url\": \"http://twit-fleet.herokuapp.com/api/v1/tweets/1\",\r\n    \"creator\": \"http://twit-fleet.herokuapp.com/api/v1/auth/users/1\",\r\n    \"creator_name\": \"test\",\r\n    \"text\": \"Welcome to twit-fleet\",\r\n    \"image\": null,\r\n    \"date_created\": \"2022-06-24T18:53:00.575500Z\"\r\n}"}],"_postman_id":"23bbb7f5-3f8d-4dc7-9bf1-3be71e1a7c4b"},{"name":"Delete a Tweet","id":"788e0bb1-0020-4034-a210-3f446c3b10e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://twit-fleet.herokuapp.com/api/v1/tweets/:id","description":"<p>Delete a tweet if the authenticated user is the owner of the tweet</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}},"urlObject":{"path":["api","v1","tweets",":id"],"host":["http://twit-fleet.herokuapp.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) A unique integer value identifying this tweet.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"f2b15b42-0720-450b-9a8b-fbd55185888d","name":"Delete a Tweet","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://twit-fleet.herokuapp.com/api/v1/tweets/:id","host":["http://twit-fleet.herokuapp.com"],"path":["api","v1","tweets",":id"],"variable":[{"key":"id","value":"5","description":"(Required) A unique integer value identifying this tweet."}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"788e0bb1-0020-4034-a210-3f446c3b10e9"}],"id":"0bc56062-5fa0-4d51-a9b1-cc7c27e06ea7","description":"<p>Endpoints relating to Tweet</p>\n","_postman_id":"0bc56062-5fa0-4d51-a9b1-cc7c27e06ea7","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}}}],"id":"8634c09e-c58e-4aef-af14-1f115d58a574","description":"<p>The first version of Twit Api</p>\n","event":[{"listen":"prerequest","script":{"id":"1d1531eb-34f6-4df7-a8bb-0b8ce12695a9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"78d2fe74-1b67-46f0-a8dc-b741cdc3eb72","type":"text/javascript","exec":[""]}}],"_postman_id":"8634c09e-c58e-4aef-af14-1f115d58a574","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"acf7b2ea-c87d-40c7-b323-e89975de2081","id":"acf7b2ea-c87d-40c7-b323-e89975de2081","name":"Twit API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"e0ba15b4-032f-4409-9a73-05cae544d50c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c8c93c26-c757-49f0-9229-a3023cf5e9d2","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"http://twit-fleet.herokuapp.com","type":"string"}]}