{"info":{"_postman_id":"861c9be6-269a-4623-bf7c-d33877b24906","name":"BookMyShow","description":"<html><head></head><body><p>API to get movie shows by cinema &amp; date. Also book a slot.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7984450","collectionId":"861c9be6-269a-4623-bf7c-d33877b24906","publishedId":"2s93m5zgVx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-05-24T14:18:32.000Z"},"item":[{"name":"register","id":"1319b0e8-a6b7-4d3e-9056-b6a49f79308e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"test-user\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/auth/register/","urlObject":{"protocol":"http","port":"8080","path":["api","auth","register",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"8ea98422-d91f-4bb8-83c0-12f5b210a50e","name":"register","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"panda\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/auth/register/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"ETag","value":"W/\"65-XYFJDPwA3cDCFU2OELQOO4advo4\""},{"key":"Date","value":"Wed, 24 May 2023 13:31:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"username\": \"panda\",\n    \"password\": \"$2b$10$b0MsxFmxhKCwQuCvIic3tea0jwHpB20L9jNf63o2tmTbsBGqVB/eG\"\n}"}],"_postman_id":"1319b0e8-a6b7-4d3e-9056-b6a49f79308e"},{"name":"login","id":"a1b59882-4418-49a9-a3d7-f1ad85e77875","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"test-user\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/auth/login/","urlObject":{"protocol":"http","port":"8080","path":["api","auth","login",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"d32d0dc3-15be-445f-8dad-9fc02ba81ea4","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"random\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/auth/login/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"175"},{"key":"ETag","value":"W/\"af-wOm7PKe/1w4UjmZrFaXyqM2K7Jk\""},{"key":"Date","value":"Wed, 24 May 2023 13:31:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"username\": \"panda\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNjg0OTM1MTEzLCJleHAiOjE2ODUwMjE1MTN9.VqU3_zqEOuHQKFnKXUFySnkvLZ_sw-8ZGuzTo__uYEk\"\n}"},{"id":"3b01315a-5f36-4a2f-9a81-0aeba048f55e","name":"user not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"random\",\n    \"password\": \"incorrect-password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/auth/login/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"29"},{"key":"ETag","value":"W/\"1d-PuFZGbFdVksd6DA+Q6gxJfihjNc\""},{"key":"Date","value":"Wed, 24 May 2023 14:13:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User Not found.\"\n}"},{"id":"944e5089-18d7-4cb7-ab08-d8663308859e","name":"incorrect password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"panda\",\n    \"password\": \"incorrect-password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/auth/login/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"ETag","value":"W/\"1f-f4JdAbLuNG17J+Ze9ykVR/7Amkc\""},{"key":"Date","value":"Wed, 24 May 2023 14:14:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid Password!\"\n}"}],"_postman_id":"a1b59882-4418-49a9-a3d7-f1ad85e77875"},{"name":"shows by cinema & date","id":"47ad22f4-f3a6-4bce-8222-7724a096ccb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"panda\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/1/2023-05-24","description":"<p>With this you can get all the shows available for a given -</p>\n<ol>\n<li>Cinema</li>\n<li>Date</li>\n</ol>\n","urlObject":{"protocol":"http","port":"8080","path":["api","shows","1","2023-05-24"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"77fae1ec-c4a9-4fd0-9fe9-d94436fcbc04","name":"shows by cinema & date","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/1/2023-05-24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"721"},{"key":"ETag","value":"W/\"2d1-VAc23GOVX3OPtoQuyhs23677kHA\""},{"key":"Date","value":"Wed, 24 May 2023 19:11:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"shows\": [\n        {\n            \"id\": 1,\n            \"dimension\": \"3D\",\n            \"startTime\": \"2023-05-24T10:30:00.000Z\",\n            \"language\": \"ENGLISH\",\n            \"Hall\": {\n                \"name\": \"AUDI 1\",\n                \"Cinema\": {\n                    \"name\": \"INOX: Nexus, Whitefield\"\n                }\n            },\n            \"Movie\": {\n                \"name\": \"Fast X\"\n            },\n            \"AudioSystem\": {\n                \"name\": \"4K ATMOS enabled\"\n            }\n        },\n        {\n            \"id\": 4,\n            \"dimension\": \"3D\",\n            \"startTime\": \"2023-05-24T10:30:00.000Z\",\n            \"language\": \"ENGLISH\",\n            \"Hall\": {\n                \"name\": \"AUDI 2\",\n                \"Cinema\": {\n                    \"name\": \"INOX: Nexus, Whitefield\"\n                }\n            },\n            \"Movie\": {\n                \"name\": \"Guardians of the Galaxy Vol. 3\"\n            },\n            \"AudioSystem\": {\n                \"name\": \"4K ATMOS enabled\"\n            }\n        },\n        {\n            \"id\": 5,\n            \"dimension\": \"3D\",\n            \"startTime\": \"2023-05-24T10:30:00.000Z\",\n            \"language\": \"ENGLISH\",\n            \"Hall\": {\n                \"name\": \"AUDI 3\",\n                \"Cinema\": {\n                    \"name\": \"INOX: Nexus, Whitefield\"\n                }\n            },\n            \"Movie\": {\n                \"name\": \"The Super Mario Bros. Movie\"\n            },\n            \"AudioSystem\": {\n                \"name\": \"4K Dolby 7.1\"\n            }\n        }\n    ]\n}"},{"id":"151ca318-6c4c-405d-84f4-e5ad36632896","name":"NO Match","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/1/2023-05-25"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"12"},{"key":"ETag","value":"W/\"c-uYDt2U4ZzQ9qcJWEtxbBSEu23l0\""},{"key":"Date","value":"Wed, 24 May 2023 19:11:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"shows\": []\n}"}],"_postman_id":"47ad22f4-f3a6-4bce-8222-7724a096ccb5"},{"name":"Availability status","id":"633ac413-22a9-4deb-9131-6d731498ac8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"panda\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/1","description":"<p>With the previous request you'll get the showIds, now using this request you can see which seats are available for booking for a particular showId.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","shows","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"e6351027-354c-4f40-a528-78b47f6cc4fb","name":"available seats","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"ETag","value":"W/\"25-AHqDQia6ONwbyxcls2+UsbKGA6I\""},{"key":"Date","value":"Wed, 24 May 2023 15:45:17 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"bookedSeats\": [\n        0,\n        1,\n        2\n    ],\n    \"maxSeats\": 30\n}"}],"_postman_id":"633ac413-22a9-4deb-9131-6d731498ac8a"},{"name":"book seats","id":"3c33bf6d-154c-4577-90c4-8aba9379a0dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"seats\" : [3]\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/1","description":"<p>By providing the showId and array of seats to book the current logged in user will book those seats for him/her.If the seats requested have been booked, the response will show which seats are unavailable.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","shows","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"7dd5ab63-851d-412e-a10e-00fdadaadf00","name":"seats already booked","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"seats\" : [1, 2, 3]\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"75"},{"key":"ETag","value":"W/\"4b-1v+50tyPzDVohVDe39WoZYVJesY\""},{"key":"Date","value":"Wed, 24 May 2023 18:02:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"These seats are already booked\",\n    \"seatsWhichCantBeBooked\": [\n        1,\n        2\n    ]\n}"},{"id":"eb41b99f-8270-4ea8-9c1a-760e0db864cd","name":"successfully booked","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"seats\" : [15, 16]\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"104"},{"key":"ETag","value":"W/\"68-Ko1pVDUNy41pWbgQ4mSPJeHZFAs\""},{"key":"Date","value":"Wed, 24 May 2023 18:02:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"bookingsMade\": [\n        {\n            \"id\": 4,\n            \"ShowId\": \"1\",\n            \"UserId\": 1,\n            \"seat\": 15\n        },\n        {\n            \"id\": 5,\n            \"ShowId\": \"1\",\n            \"UserId\": 1,\n            \"seat\": 16\n        }\n    ]\n}"},{"id":"c76c1fc2-a27e-4402-a999-be74d62a2b29","name":"Out of range seats","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"seats\" : [18]\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"62"},{"key":"ETag","value":"W/\"3e-mHkV5PNaJWSZNFueFHG76GWFZc8\""},{"key":"Date","value":"Sun, 28 May 2023 05:00:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The hall has seats till 30\",\n    \"maxSeatAvailable\": 30\n}"}],"_postman_id":"3c33bf6d-154c-4577-90c4-8aba9379a0dc"},{"name":"elastic search","id":"778aea65-727a-423e-ab40-666035c8b515","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n      \"query\": {\n        \"term\": {\n          \"moviename.keyword\": \"Fast X\"\n        }\n      }\n    }","options":{"raw":{"language":"json"}}},"url":"http://localhost:9200/shows/_search","urlObject":{"protocol":"http","port":"9200","path":["shows","_search"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"778aea65-727a-423e-ab40-666035c8b515"},{"name":"Search movies","id":"52bd30fc-1078-40e1-a5b6-dae39c92a9f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/shows/search/filters?query=fastX&language=ENGLISH","urlObject":{"protocol":"http","port":"8080","path":["api","shows","search","filters"],"host":["127","0","0","1"],"query":[{"key":"query","value":"fastX"},{"key":"language","value":"ENGLISH"}],"variable":[]}},"response":[{"id":"ae0dbae8-6413-4a14-a773-f49dbb0027e3","name":"fuzzy search with genre","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8080/api/shows/search/filters?query=guardians&genre=Comedy","protocol":"http","host":["127","0","0","1"],"port":"8080","path":["api","shows","search","filters"],"query":[{"key":"query","value":"guardians"},{"key":"genre","value":"Comedy"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1266"},{"key":"ETag","value":"W/\"4f2-v3ovF3a4bP+QUhI7qMmRaNq7YfQ\""},{"key":"Date","value":"Sun, 11 Jun 2023 14:56:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"movie\": \"Guardians of the Galaxy Vol. 3\",\n        \"genre\": \"Sci-Fi,Action,Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.789Z\",\n        \"id\": 4,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"Guardians of the Galaxy Vol. 3\",\n        \"genre\": \"Comedy,Action,Sci-Fi\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 9,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 10,\n        \"hall\": \"AUDI 3\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 11,\n        \"hall\": \"AUDI 1\"\n    },\n    {\n        \"movie\": \"Guardians of the Galaxy Vol. 3\",\n        \"genre\": \"Comedy,Action,Sci-Fi\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.792Z\",\n        \"id\": 12,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.790Z\",\n        \"id\": 6,\n        \"hall\": \"AUDI 1\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.789Z\",\n        \"id\": 5,\n        \"hall\": \"AUDI 3\"\n    }\n]"},{"id":"e1e9cb02-3832-46b3-802b-4cc804a79067","name":"Search movies","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8080/api/shows/search/filters?query=fastX","protocol":"http","host":["127","0","0","1"],"port":"8080","path":["api","shows","search","filters"],"query":[{"key":"query","value":"fastX"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1713"},{"key":"ETag","value":"W/\"6b1-DjyChLkPOojEoVN0dMul28n9oFs\""},{"key":"Date","value":"Sun, 11 Jun 2023 14:59:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"language\": \"ENGLISH\",\n        \"moviename\": \"Fast X\",\n        \"@timestamp\": \"2023-06-03T18:51:08.397Z\",\n        \"@version\": \"1\",\n        \"hallname\": \"AUDI 1\",\n        \"dimension\": \"3D\"\n    },\n    {\n        \"movie\": \"Guardians of the Galaxy Vol. 3\",\n        \"genre\": \"Sci-Fi,Action,Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.789Z\",\n        \"id\": 4,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"Fast X\",\n        \"genre\": \"Action,Thriller\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 7,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"Fast X\",\n        \"genre\": \"Thriller,Action\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 8,\n        \"hall\": \"AUDI 1\"\n    },\n    {\n        \"movie\": \"Guardians of the Galaxy Vol. 3\",\n        \"genre\": \"Comedy,Action,Sci-Fi\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 9,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 10,\n        \"hall\": \"AUDI 3\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 11,\n        \"hall\": \"AUDI 1\"\n    },\n    {\n        \"movie\": \"Guardians of the Galaxy Vol. 3\",\n        \"genre\": \"Comedy,Action,Sci-Fi\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.792Z\",\n        \"id\": 12,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"Fast X\",\n        \"genre\": \"Action,Thriller\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.792Z\",\n        \"id\": 13,\n        \"hall\": \"AUDI 3\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.790Z\",\n        \"id\": 6,\n        \"hall\": \"AUDI 1\"\n    }\n]"},{"id":"b8990ab9-4a5d-4b15-b793-c33d2f499467","name":"with laguage and fuzzy search","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8080/api/shows/search/filters?query=fastX&language=ENGLISH","protocol":"http","host":["127","0","0","1"],"port":"8080","path":["api","shows","search","filters"],"query":[{"key":"query","value":"fastX"},{"key":"language","value":"ENGLISH"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1713"},{"key":"ETag","value":"W/\"6b1-DjyChLkPOojEoVN0dMul28n9oFs\""},{"key":"Date","value":"Sun, 11 Jun 2023 15:01:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"language\": \"ENGLISH\",\n        \"moviename\": \"Fast X\",\n        \"@timestamp\": \"2023-06-03T18:51:08.397Z\",\n        \"@version\": \"1\",\n        \"hallname\": \"AUDI 1\",\n        \"dimension\": \"3D\"\n    },\n    {\n        \"movie\": \"Guardians of the Galaxy Vol. 3\",\n        \"genre\": \"Sci-Fi,Action,Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.789Z\",\n        \"id\": 4,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"Fast X\",\n        \"genre\": \"Action,Thriller\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 7,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"Fast X\",\n        \"genre\": \"Thriller,Action\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 8,\n        \"hall\": \"AUDI 1\"\n    },\n    {\n        \"movie\": \"Guardians of the Galaxy Vol. 3\",\n        \"genre\": \"Comedy,Action,Sci-Fi\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 9,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 10,\n        \"hall\": \"AUDI 3\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.791Z\",\n        \"id\": 11,\n        \"hall\": \"AUDI 1\"\n    },\n    {\n        \"movie\": \"Guardians of the Galaxy Vol. 3\",\n        \"genre\": \"Comedy,Action,Sci-Fi\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.792Z\",\n        \"id\": 12,\n        \"hall\": \"AUDI 2\"\n    },\n    {\n        \"movie\": \"Fast X\",\n        \"genre\": \"Action,Thriller\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.792Z\",\n        \"id\": 13,\n        \"hall\": \"AUDI 3\"\n    },\n    {\n        \"movie\": \"The Super Mario Bros. Movie\",\n        \"genre\": \"Comedy\",\n        \"dimension\": \"3D\",\n        \"language\": \"ENGLISH\",\n        \"@version\": \"1\",\n        \"@timestamp\": \"2023-06-11T14:32:58.790Z\",\n        \"id\": 6,\n        \"hall\": \"AUDI 1\"\n    }\n]"}],"_postman_id":"52bd30fc-1078-40e1-a5b6-dae39c92a9f0"},{"name":"Movie Details","id":"3a54e4fc-d54d-4043-b84a-26915b45ad9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:8080/api/movies/3/","urlObject":{"protocol":"http","port":"8080","path":["api","movies","3",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"f87ed53e-57f9-4039-b1bb-997fe802407e","name":"successful request","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8080/api/movies/3/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"294"},{"key":"ETag","value":"W/\"126-Kp5zJnBHWZ5HwpZsk/WPayttdXQ\""},{"key":"Date","value":"Sat, 10 Jun 2023 21:52:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"name\": \"The Super Mario Bros. Movie\",\n    \"duration\": 92,\n    \"moviePlot\": \"With help from Princess Peach, Mario gets ready to square off against the all-powerful Bowser to stop his plans from conquering the world.\",\n    \"cast\": [\n        {\n            \"name\": \"Jack Black\"\n        },\n        {\n            \"name\": \"Seth Rogen\"\n        }\n    ],\n    \"genres\": [\n        {\n            \"name\": \"Comedy\"\n        }\n    ]\n}"}],"_postman_id":"3a54e4fc-d54d-4043-b84a-26915b45ad9a"},{"name":"Add comment for a movie","id":"e02cd573-1019-4621-87a5-22341e55218c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"content\": \"Must watch..\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/movies/comments/2/","urlObject":{"protocol":"http","port":"8080","path":["api","movies","comments","2",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"49250fa9-c3e5-493e-9636-9c2f0c37dc93","name":"successful","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"content\": \"Must watch..\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/movies/comments/2/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"152"},{"key":"ETag","value":"W/\"98-mMSUpVSLMvkmC0rLGTG/Zwjhu/8\""},{"key":"Date","value":"Sun, 11 Jun 2023 13:06:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"movieSQLId\": 2,\n    \"userSQLId\": 1,\n    \"content\": \"Awesome movie!!\",\n    \"children\": [],\n    \"_id\": \"6485c6ccb0f3dc4a20fea19d\",\n    \"timestamp\": \"2023-06-11T13:06:20.844Z\",\n    \"__v\": 0\n}"}],"_postman_id":"e02cd573-1019-4621-87a5-22341e55218c"},{"name":"Get comments for a movie","id":"9b886268-10de-46ed-96ff-319dc3b729fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/movies/comments/2/","urlObject":{"protocol":"http","port":"8080","path":["api","movies","comments","2",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"66b340e8-b57d-46ff-9c81-74ff31b5f881","name":"successful","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8080/api/movies/comments/2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"304"},{"key":"ETag","value":"W/\"130-769PLSDoVtHNwK/mQGpHP4O9Fno\""},{"key":"Date","value":"Sun, 11 Jun 2023 13:23:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6485c6b2b0f3dc4a20fea19b\",\n        \"movieSQLId\": 2,\n        \"userSQLId\": 1,\n        \"content\": \"Awesome movie!!\",\n        \"children\": [],\n        \"timestamp\": \"2023-06-11T13:05:54.855Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6485cadc2af4ae864fcaa068\",\n        \"movieSQLId\": 2,\n        \"userSQLId\": 1,\n        \"content\": \"Must watch..\",\n        \"children\": [],\n        \"timestamp\": \"2023-06-11T13:23:40.533Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"9b886268-10de-46ed-96ff-319dc3b729fc"}]}