{"info":{"_postman_id":"7a3223b3-a797-4ae9-b9c2-af2dfb986aac","name":"Flimmer","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>This is an API for Flimmer.</p>\n<h1 id=\"overview\">Overview</h1>\n<p>Currently this API can </p>\n<ul>\n<li>Add, Fetch and Authenticate User</li>\n<li>Fetch and Add Flims</li>\n</ul>\n<h1 id=\"authentication\">Authentication</h1>\n<p>It is Open</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>403 - Authentication Error</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>No Rate Limit</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"13193996","collectionId":"7a3223b3-a797-4ae9-b9c2-af2dfb986aac","publishedId":"TzeTJpkr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-06-12T18:33:10.000Z"},"item":[{"name":"Add User","id":"5ddcf415-2118-450d-abf4-a83d6a52007d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"{{user_name}}","type":"text","description":"<p>Enter the name of the user</p>\n"},{"key":"password","value":"{{password}}","type":"text","description":"<p>Enter the password</p>\n"}]},"url":"https://flutter-autho.herokuapp.com/adduser","description":"<p>Adding a user to Flimmer</p>\n","urlObject":{"protocol":"https","path":["adduser"],"host":["flutter-autho","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"7d4e2f8b-eaf7-410e-9055-c0be50a410d8","name":"Add User","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"vidit","type":"text","description":"Enter the name of the user"},{"key":"password","value":"123456","type":"text","description":"Enter the password"}]},"url":"https://flutter-autho.herokuapp.com/adduser"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5ddcf415-2118-450d-abf4-a83d6a52007d"},{"name":"Authenticate User","id":"02bd3c98-3df6-421a-bf34-7cda29ea6358","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"{{user_name}}","type":"text"},{"key":"password","value":"{{password}}","type":"text"}]},"url":"https://flutter-autho.herokuapp.com/authenticate","description":"<p>To get the authenticate token of a LoggedIn User.</p>\n","urlObject":{"protocol":"https","path":["authenticate"],"host":["flutter-autho","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"b73c59e6-303b-46ff-916b-a6e2b7027789","name":"Authenticate User","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"vidit2","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":"https://flutter-autho.herokuapp.com/authenticate"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"02bd3c98-3df6-421a-bf34-7cda29ea6358"},{"name":"Get LoggedIn User Info","id":"694d2593-553b-4e1f-85af-a171366d5f72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{Bearer authentication_code}}","description":"<p>Enter the code which you get after authenticating the user.</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://flutter-autho.herokuapp.com/getinfo","description":"<p>Getting the info of the User from the token.</p>\n","urlObject":{"protocol":"https","path":["getinfo"],"host":["flutter-autho","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"723e7f6a-199e-4bc9-be24-1cf39537a338","name":"Get LoggedIn User Info","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiI2MDc0ODA2ZmE4YWIxZTY0NThhMGZmZWIiLCJuYW1lIjoidmlkaXQyIiwicGFzc3dvcmQiOiIkMmIkMTAkMjhIdjFXSk9RSDhJdTc4Y1RTVVlKZXVMZEcuY3dJNHU1T1JWejF6dmhiV3hxTURQcTF5Y1ciLCJfX3YiOjB9.9q-bTE8CDBgUpvz69uVJ9Grx_wBGhbkNdj_zVvLN5nI","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://flutter-autho.herokuapp.com/getinfo"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"694d2593-553b-4e1f-85af-a171366d5f72"},{"name":"Fetch Flims by UserId","id":"5ca6e8d3-3b73-4ed0-ac71-75bb137b774a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"userId","value":"{{user_id}}","description":"<p>Enter user id of the user of the person you what to see the flims.</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://flutter-autho.herokuapp.com/fetchflims","description":"<p>Getting the flims of a particular user</p>\n","urlObject":{"protocol":"https","path":["fetchflims"],"host":["flutter-autho","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"37d8c15c-f790-43c9-93b1-38bd209c000b","name":"Fetch Flims by UserId","originalRequest":{"method":"GET","header":[{"key":"userId","value":"123456","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://flutter-autho.herokuapp.com/fetchflims"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5ca6e8d3-3b73-4ed0-ac71-75bb137b774a"},{"name":"Add Flim","id":"058e9cda-11cd-40e3-8e6c-66c342966b06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"userId","value":"{{user_id}}","type":"text"},{"key":"flimBody","value":"{{flim_body}}","type":"text"},{"key":"movieTitle","value":"{{movie_title}}","type":"text"},{"key":"moviePoster","value":"{{movie_poster_url}}","type":"text"},{"key":"movieYear","value":"{{movie_year}}","type":"text"},{"key":"movieId","value":"{{movie_imdb_id}}","type":"text"}]},"url":"https://flutter-autho.herokuapp.com/addflim","description":"<p>Adding a Flim</p>\n","urlObject":{"protocol":"https","path":["addflim"],"host":["flutter-autho","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"02cb776f-9854-4612-bd84-a581c718acf9","name":"Add Flim","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"userId","value":"123456","type":"text"},{"key":"flimBody","value":"faaltu movie thhi","type":"text"},{"key":"movieTitle","value":"Radhe","type":"text"},{"key":"moviePoster","value":"https://static.toiimg.com/thumb/msid-61979505,width-219,height-317,imgsize-68427/61979505.jpg","type":"text"},{"key":"movieYear","value":"2019","type":"text"},{"key":"movieId","value":"11112","type":"text"}]},"url":"https://flutter-autho.herokuapp.com/addflim"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"058e9cda-11cd-40e3-8e6c-66c342966b06"},{"name":"Fetch Next Ten Flims","id":"941659f0-9fce-4b8f-979e-d4d10e0fd950","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"id","value":"{{flim_id}}","description":"<p>Enter the Flim Id</p>\n","type":"text"}],"url":"https://flutter-autho.herokuapp.com/nexttenflims","description":"<p>Takes the flimId and gives the next 10 flims after that.</p>\n","urlObject":{"protocol":"https","path":["nexttenflims"],"host":["flutter-autho","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"d2ad4834-8dfb-4750-bf71-ba4b401f8a8f","name":"Fetch Next Ten Flims","originalRequest":{"method":"GET","header":[{"key":"id","value":"60c4eee5a063a84a603182a9","type":"text"}],"url":"https://flutter-autho.herokuapp.com/nexttenflims"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"941659f0-9fce-4b8f-979e-d4d10e0fd950"}]}