{"info":{"_postman_id":"164c573f-16bf-4ca8-8501-b4a6a9a86765","name":"IMBA","description":"<html><head></head><body><h2 id=\"imba-api\">IMBA API</h2>\n<p>The IMBA API provides access to information, popularity ratings and statistics of 56769 movies, as well as, their actors and directors.</p>\n<p>It contains the following functionality:</p>\n<ul>\n<li>Get details for Movie, Actor or Director.</li>\n<li>Get a list of Movies, Actors or Directors using different filters.</li>\n<li>Get statistics of Movies using different filters.</li>\n<li>Add, Change or remove a Movie.</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13748815","collectionId":"164c573f-16bf-4ca8-8501-b4a6a9a86765","publishedId":"TVmQcad3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-12-04T21:58:53.000Z"},"item":[{"name":"Actor","id":"25ee1715-19d4-499e-8682-34093d8e3798","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000/api/actors/:id","description":"<p>This request gets information of an Actor using their unique actor ID.</p>\n<blockquote>\n<p>If the request is well formatted and the actor can be found, the request returns: Status code: 200.</p>\n</blockquote>\n<blockquote>\n<p>If the request actor <em>id</em> is not formatted correctly the request returns: Status code 404.</p>\n</blockquote>\n<blockquote>\n<p>If the request actor <em>id</em> doesn't correspond to a actor in the dataset the request returns: Status code 404.</p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","actors",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>An unique hexadecimal integer.</p>\n","type":"text/plain"},"type":"string","value":"42","key":"id"}]}},"response":[{"id":"436a3b09-2e18-4276-9acb-2d3b1c5c4505","name":"Getting an Actor","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:4000/api/actors/actor/:id","protocol":"http","host":["localhost"],"port":"4000","path":["api","actors","actor",":id"],"variable":[{"key":"id","value":"42","type":"string","description":"An unique hexadecimal integer."}]}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-6kuVkKfAS9j1+/vuf33aIILdSuo\""},{"key":"Set-Cookie","value":"connect.sid=s%3ACeCeDFBdcmYTMqSWnYjkGS60i2rMpCNt.6Ku34FkzeYuYa7ITe%2BFTfC1seap6LgzqB%2FVDUBs9jxE; Path=/; HttpOnly"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 15 Jan 2021 10:32:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"work in progress\"\n}"}],"_postman_id":"25ee1715-19d4-499e-8682-34093d8e3798"},{"name":"Actors","id":"2b314a8c-6063-4be6-a267-ba3846ccddcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000/api/actors?page=1&perPage=20&name=Tom","description":"<p>This request gets a list of actors filtered by name.</p>\n<blockquote>\n<p>If the request is well formatted the request returns: Status code 200.</p>\n</blockquote>\n<blockquote>\n<p>If the request query parameters are incorrect the request returns: Status code 400.</p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","actors"],"host":["localhost"],"query":[{"description":{"content":"<p>The page of movies to return</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>The number of movies to return per page</p>\n","type":"text/plain"},"key":"perPage","value":"20"},{"description":{"content":"<p>The actors's name to filter with</p>\n","type":"text/plain"},"key":"name","value":"Tom"}],"variable":[]}},"response":[{"id":"26a7aa56-12a2-4a2b-a249-480bbe997c12","name":"Search Actors","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:4000/api/actors?page=1&perPage=20&name=Tom","protocol":"http","host":["localhost"],"port":"4000","path":["api","actors"],"query":[{"key":"page","value":"1","description":"The page of movies to return"},{"key":"perPage","value":"20","description":"The number of movies to return per page"},{"key":"name","value":"Tom","description":"The actors's name to filter with"}]}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-6kuVkKfAS9j1+/vuf33aIILdSuo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 15 Jan 2021 10:36:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"work in progress\"\n}"}],"_postman_id":"2b314a8c-6063-4be6-a267-ba3846ccddcc"},{"name":"Director","id":"173885e3-f342-4918-8e70-78b9a4887cb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000/api/directors/:id","description":"<p>This request gets information about a director given their <em>id</em>.</p>\n<blockquote>\n<p>If the request is well formatted and the director can be found, the request returns: Status code 200.</p>\n</blockquote>\n<blockquote>\n<p>If the request director <em>id</em> is not formatted correctly the request returns: Status code 404.</p>\n</blockquote>\n<blockquote>\n<p>If the request actor <em>id</em> doesn't correspond to a director in the dataset, the request returns: Status code 404.</p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","directors",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>An unique hexadecimal integer.</p>\n","type":"text/plain"},"type":"string","value":"42","key":"id"}]}},"response":[{"id":"a39367c9-6c4e-4fed-bfd8-1f9146debac1","name":"Get a Director","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:4000/api/directors/director/:id","protocol":"http","host":["localhost"],"port":"4000","path":["api","directors","director",":id"],"variable":[{"key":"id","value":"42","type":"string","description":"An unique hexadecimal integer."}]}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-6kuVkKfAS9j1+/vuf33aIILdSuo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 15 Jan 2021 10:37:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"work in progress\"\n}"}],"_postman_id":"173885e3-f342-4918-8e70-78b9a4887cb4"},{"name":"Directors","id":"ca63db79-6d3d-404c-b250-16e5abee4e95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000/api/directors?page=2&perPage=15&name=Jack","description":"<p>This request gets a list of directors filtered by name.</p>\n<blockquote>\n<p>If the request is well formatted the request returns: Status code 200.</p>\n</blockquote>\n<blockquote>\n<p>If the request query parameters are incorrect the request returns: Status code 400.</p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","directors"],"host":["localhost"],"query":[{"description":{"content":"<p>The page of movies to return</p>\n","type":"text/plain"},"key":"page","value":"2"},{"description":{"content":"<p>The number of movies to return per page</p>\n","type":"text/plain"},"key":"perPage","value":"15"},{"description":{"content":"<p>The name to filter the search with</p>\n","type":"text/plain"},"key":"name","value":"Jack"}],"variable":[]}},"response":[{"id":"7aaca75f-bbc4-49e7-a646-7f54df9ba9a7","name":"Search Directors","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:4000/api/directors?page=2&perPage=15&name=Jack","protocol":"http","host":["localhost"],"port":"4000","path":["api","directors"],"query":[{"key":"page","value":"2","description":"The page of movies to return"},{"key":"perPage","value":"15","description":"The number of movies to return per page"},{"key":"name","value":"Jack","description":"The name to filter the search with"}]}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-6kuVkKfAS9j1+/vuf33aIILdSuo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 15 Jan 2021 10:39:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"work in progress\"\n}"}],"_postman_id":"ca63db79-6d3d-404c-b250-16e5abee4e95"},{"name":"Movie","id":"15935df4-22af-4261-8510-4238d8a840a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000/api/movies/:id","description":"<p>This request gets a movie using it's specific movie <em>id</em>.</p>\n<blockquote>\n<p>If the request is well formatted and the movie can be found, the request returns: Status code 200.</p>\n</blockquote>\n<blockquote>\n<p>If the request movie <em>id</em> is not formatted correctly the request returns: Status code 404.</p>\n</blockquote>\n<blockquote>\n<p>If the request movie <em>id</em> doesn't correspond to a movie in the dataset the request returns: Status code 404.</p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","movies",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>An unique hexadecimal integer.</p>\n","type":"text/plain"},"type":"string","value":"5fca75c44e2e9e0d181ea696","key":"id"}]}},"response":[{"id":"330a149c-ab5f-4b81-bfa8-4fc9f88d1deb","name":"Movie","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:4000/api/movies/:id","protocol":"http","host":["localhost"],"port":"4000","path":["api","movies",":id"],"variable":[{"key":"id","value":"5fca75c44e2e9e0d181ea696","description":"The id of the film \"A Beautiful Mind (2001)\""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"919"},{"key":"ETag","value":"W/\"397-JJxT631ukRnuxly3/veb4GAzqgc\""},{"key":"Set-Cookie","value":"connect.sid=s%3AP-jgOHYrBTI5DreXRyq-nuqbYdcyybqE.ATc%2BrxBfXU1N%2B4k8l3hAyKaA%2Fr%2FEXCDHA4dmqtAz2ag; Path=/; HttpOnly"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 07 Jan 2021 17:34:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"message\": \"Get Successful\",\n    \"data\": {\n        \"title\": \"A Beautiful Mind\",\n        \"rating\": \"PG-13\",\n        \"year\": 2001,\n        \"users_rating\": 8.2,\n        \"votes\": \"819,184\",\n        \"metascore\": \"72\",\n        \"img_url\": \"https://m.media-amazon.com/images/M/MV5BMzcwYWFkYzktZjAzNC00OGY1LWI4YTgtNzc5MzVjMDVmNjY0XkEyXkFqcGdeQXVyMTQxNzMzNDI@._V1_UX182_CR0,0,182,268_AL__QL50.jpg\",\n        \"countries\": [\n            \"['USA']\"\n        ],\n        \"languages\": [\n            \"['English']\"\n        ],\n        \"actors\": \"['Russell Crowe', 'Ed Harris', 'Jennifer Connelly', 'Christopher Plummer', 'Paul Bettany', 'Adam Goldberg', 'Josh Lucas', 'Anthony Rapp', 'Jason Gray-Stanford', 'Judd Hirsch', 'Austin Pendleton', 'Vivien Cardone', 'Jillie Simon', 'Victor Steinbach', 'Tanya Clarke']\",\n        \"genre\": [\n            \"['Biography', 'Drama']\"\n        ],\n        \"tagline\": \"I need to believe that something extra ordinary is possible...\",\n        \"description\": \"After\",\n        \"directors\": [\n            \"['Ron Howard']\"\n        ],\n        \"runtime\": \"135 min\",\n        \"imdb_url\": \"https://www.imdb.com/title/tt0268978/\"\n    }\n}"}],"_postman_id":"15935df4-22af-4261-8510-4238d8a840a8"},{"name":"Movies","id":"18f43686-ddb6-4d4b-8c34-411db1660a8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000/api/movies","description":"<p>This request gets a list of Movies filtered by year, name, genre. Also sorted by name, rating or release data.</p>\n<blockquote>\n<p>If the request is well formatted the request returns: Status code 200.</p>\n</blockquote>\n<blockquote>\n<p>If the request query parameters are incorrect the request returns: Status code 400.</p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","movies"],"host":["localhost"],"query":[{"disabled":true,"description":{"content":"<p>The page of movies to return</p>\n","type":"text/plain"},"key":"page","value":"0"},{"disabled":true,"description":{"content":"<p>The number of movies to return per page</p>\n","type":"text/plain"},"key":"perPage","value":"200"},{"disabled":true,"description":{"content":"<p>The name of the movie to filter by</p>\n","type":"text/plain"},"key":"title","value":"Star Wars"},{"disabled":true,"description":{"content":"<p>The name of an actor to filter by</p>\n","type":"text/plain"},"key":"actor","value":"Ron Howard"},{"disabled":true,"description":{"content":"<p>The name of a director to filter by</p>\n","type":"text/plain"},"key":"director","value":"Ron Howard"},{"disabled":true,"description":{"content":"<p>Which year to filter by</p>\n","type":"text/plain"},"key":"year","value":"1983"},{"disabled":true,"description":{"content":"<p>Which genre to filter by</p>\n","type":"text/plain"},"key":"genre","value":"Action"},{"disabled":true,"description":{"content":"<p>How to sort the movies; title, year or users_rating</p>\n","type":"text/plain"},"key":"sort","value":"users_rating"},{"disabled":true,"description":{"content":"<p>How to order the movies</p>\n","type":"text/plain"},"key":"order","value":"desc"}],"variable":[]}},"response":[{"id":"7d98d72c-c002-47dc-86e7-5d8c5159ba22","name":"Search for Star Wars movies","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:4000/api/movies?page=0&perPage=5&title=Star Wars&genre=Action&sort=users_rating&order=desc","protocol":"http","host":["localhost"],"port":"4000","path":["api","movies"],"query":[{"key":"page","value":"0","description":"The page of movies to return"},{"key":"perPage","value":"5","description":"The number of movies to return per page"},{"key":"title","value":"Star Wars","description":"The name of the movie to filter by"},{"key":"actor","value":"Frank%20Oz","description":"The name of an actor to filter by","disabled":true},{"key":"director","value":"Richard%20Marquand","description":"The name of a director to filter by","disabled":true},{"key":"year","value":"1983","description":"Which year to filter by","disabled":true},{"key":"genre","value":"Action","description":"Which genre to filter by"},{"key":"sort","value":"users_rating","description":"How to sort the movies; title, year or users_rating"},{"key":"order","value":"desc","description":"How to order the movies"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"6bb-jHPDMrzgBzPOqso0Cp++ffIHdEE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 15 Jan 2021 10:43:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"message\": \"Search Successful\",\n    \"data\": [\n        {\n            \"movie_url\": \"http://localhost:4000/api/movies/movie/5fca76894e2e9e0d181f79b1\",\n            \"title\": \"Star Wars: Episode V - The Empire Strikes Back\",\n            \"year\": 1980,\n            \"users_rating\": 8.7,\n            \"votes\": \"1,121,603\",\n            \"image_url\": \"https://m.media-amazon.com/images/M/MV5BYmU1NDRjNDgtMzhiMi00NjZmLTg5NGItZDNiZjU5NTU4OTE0XkEyXkFqcGdeQXVyNzkwMjQ5NzM@._V1_UX182_CR0,0,182,268_AL__QL50.jpg\"\n        },\n        {\n            \"movie_url\": \"http://localhost:4000/api/movies/movie/5fca76844e2e9e0d181f78ac\",\n            \"title\": \"Star Wars: Episode IV - A New Hope\",\n            \"year\": 1977,\n            \"users_rating\": 8.6,\n            \"votes\": \"1,193,999\",\n            \"image_url\": \"https://m.media-amazon.com/images/M/MV5BNzVlY2MwMjktM2E4OS00Y2Y3LWE3ZjctYzhkZGM3YzA1ZWM2XkEyXkFqcGdeQXVyNzkwMjQ5NzM@._V1_UX182_CR0,0,182,268_AL__QL50.jpg\"\n        },\n        {\n            \"movie_url\": \"http://localhost:4000/api/movies/movie/5fca76844e2e9e0d181f787f\",\n            \"title\": \"Star Wars: Episode VI - Return of the Jedi\",\n            \"year\": 1983,\n            \"users_rating\": 8.3,\n            \"votes\": \"919,689\",\n            \"image_url\": \"https://m.media-amazon.com/images/M/MV5BOWZlMjFiYzgtMTUzNC00Y2IzLTk1NTMtZmNhMTczNTk0ODk1XkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UX182_CR0,0,182,268_AL__QL50.jpg\"\n        },\n        {\n            \"movie_url\": \"http://localhost:4000/api/movies/movie/5fca76894e2e9e0d181f79e2\",\n            \"title\": \"Star Wars: Episode VII - The Force Awakens\",\n            \"year\": 2015,\n            \"users_rating\": 7.9,\n            \"votes\": \"839,486\",\n            \"image_url\": \"https://m.media-amazon.com/images/M/MV5BOTAzODEzNDAzMl5BMl5BanBnXkFtZTgwMDU1MTgzNzE@._V1_UX182_CR0,0,182,268_AL__QL50.jpg\"\n        },\n        {\n            \"movie_url\": \"http://localhost:4000/api/movies/movie/5fca76894e2e9e0d181f7a35\",\n            \"title\": \"Rogue One: A Star Wars Story\",\n            \"year\": 2016,\n            \"users_rating\": 7.8,\n            \"votes\": \"532,458\",\n            \"image_url\": \"https://m.media-amazon.com/images/M/MV5BMjEwMzMxODIzOV5BMl5BanBnXkFtZTgwNzg3OTAzMDI@._V1_UX182_CR0,0,182,268_AL__QL50.jpg\"\n        }\n    ]\n}"}],"_postman_id":"18f43686-ddb6-4d4b-8c34-411db1660a8b"},{"name":"Movie","id":"590b54de-64b2-4c50-aad9-182cdfa632dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    // Movie fields go in body.\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/movies","description":"<p>This request adds a new movie to the dataset.</p>\n<blockquote>\n<p>If the request is well formatted and the movie has been created, the request returns: Status code 201.</p>\n</blockquote>\n<blockquote>\n<p>If the request body has not be correctly formatted the request returns: Status code 422.</p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","movies"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5a9820d5-9ba9-4ce3-a125-9f01534117ae","name":"Creating new movie: asdf","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"title\": \"asdf\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/movies"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"302"},{"key":"ETag","value":"W/\"12e-Bj0P+rGoviAwavHfxqKfpoT/nag\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 07 Jan 2021 17:48:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"message\": \"Create Successful\",\n    \"data\": {\n        \"id\": \"5ff74976099958f909928673\",\n        \"title\": \"asdf\",\n        \"rating\": \"\",\n        \"year\": \"\",\n        \"users_rating\": \"\",\n        \"votes\": \"\",\n        \"metascore\": \"\",\n        \"img_url\": \"\",\n        \"countries\": [],\n        \"languages\": [],\n        \"actors\": [],\n        \"genre\": [],\n        \"tagline\": \"\",\n        \"description\": \"\",\n        \"directors\": [],\n        \"runtime\": \"\",\n        \"imdb_url\": \"\"\n    }\n}"}],"_postman_id":"590b54de-64b2-4c50-aad9-182cdfa632dc"},{"name":"Movie","id":"e26bf930-ae31-45ba-b5b4-2eb1f953c27d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    // Movie params to update go here.\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/movies/:id","description":"<p>This request updates a movie in the dataset.</p>\n<blockquote>\n<p>If the request is well formatted and the movie has been updated the request returns: Status code 200</p>\n</blockquote>\n<blockquote>\n<p>If the request movie <em>id</em> is not formatted correctly the request returns: Status code 404.</p>\n</blockquote>\n<blockquote>\n<p>If the request movie <em>id</em> doesn't correspond to a movie in the dataset the request returns: Status code 404</p>\n</blockquote>\n<blockquote>\n<p>If the body of the request is incorrectly formatted The request returns: Status code 422 </p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","movies",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>An unique hexadecimal integer.</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"f2a90e66-7bd0-44bf-b3d0-10fc16b18124","name":"Updating asdf Movie","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\"year\": 2021,\"runtime\": \"3 min\"}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:4000/api/movies/movie/:id","protocol":"http","host":["localhost"],"port":"4000","path":["api","movies","movie",":id"],"variable":[{"key":"id","value":"5ff74976099958f909928673","type":"string","description":"The id of the perviously creating movie"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"302"},{"key":"ETag","value":"W/\"12e-0uK6pZp/TJN7KMlC4d/KcsBNs3I\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 07 Jan 2021 17:53:05 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"// Response is the movie pre-update\n{\n    \"status\": 1,\n    \"message\": \"Update Successful\",\n    \"data\": {\n        \"id\": \"5ff74976099958f909928673\",\n        \"title\": \"asdf\",\n        \"rating\": \"\",\n        \"year\": \"\",\n        \"users_rating\": \"\",\n        \"votes\": \"\",\n        \"metascore\": \"\",\n        \"img_url\": \"\",\n        \"countries\": [],\n        \"languages\": [],\n        \"actors\": [],\n        \"genre\": [],\n        \"tagline\": \"\",\n        \"description\": \"\",\n        \"directors\": [],\n        \"runtime\": \"\",\n        \"imdb_url\": \"\"\n    }\n}"}],"_postman_id":"e26bf930-ae31-45ba-b5b4-2eb1f953c27d"},{"name":"Movie","id":"f59b28b9-abce-4a7c-9a8f-ce897164f46a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:4000/api/movies/:id","description":"<p>This request removes a movie of a specific dataset.</p>\n<blockquote>\n<p>If the request is well formatted and the movie has been updated the request returns: Status code 200</p>\n</blockquote>\n<blockquote>\n<p>If the request movie <em>id</em> is not formatted correctly the request returns: Status code 404.</p>\n</blockquote>\n<blockquote>\n<p>If the request movie <em>id</em> doesn't correspond to a movie in the dataset the request returns: Status code 404</p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","movies",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>An unique hexadecimal integer.</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"bb84c144-0323-4cf3-a1f1-26ba48a7ef2c","name":"Removing asdf Movie","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:4000/api/movies/movie/:id","protocol":"http","host":["localhost"],"port":"4000","path":["api","movies","movie",":id"],"variable":[{"key":"id","value":"5ff74976099958f909928673","type":"string","description":"The id of the perviously creating movie"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"309"},{"key":"ETag","value":"W/\"135-ntIgWvx/tjAmMUkQ5wDEF73rMmg\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 07 Jan 2021 18:01:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"// Returns the movie that was removed.\n{\n    \"status\": 1,\n    \"message\": \"Delete Successful\",\n    \"data\": {\n        \"id\": \"5ff74976099958f909928673\",\n        \"title\": \"asdf\",\n        \"rating\": \"\",\n        \"year\": 2021,\n        \"users_rating\": \"\",\n        \"votes\": \"\",\n        \"metascore\": \"\",\n        \"img_url\": \"\",\n        \"countries\": [],\n        \"languages\": [],\n        \"actors\": [],\n        \"genre\": [],\n        \"tagline\": \"\",\n        \"description\": \"\",\n        \"directors\": [],\n        \"runtime\": \"3 min\",\n        \"imdb_url\": \"\"\n    }\n}"}],"_postman_id":"f59b28b9-abce-4a7c-9a8f-ce897164f46a"},{"name":"Statistics","id":"a9fcaed6-4038-4bef-b312-c3714e4fe5a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000/api/movies/statistics?title=Star Wars&actor=Frank%20Oz&director=Richard%20Marquand&genre=Action&year=1983","description":"<p>This request gets the statistics of movies filtered by name, year and/or genre.</p>\n<blockquote>\n<p>If the request is well formatted the request returns: Status code 200.</p>\n</blockquote>\n<blockquote>\n<p>If the request query parameters are incorrect the request returns: Status code 400.</p>\n</blockquote>\n<blockquote>\n<p>If the request fails because of a database error the request returns: Status code 500.</p>\n</blockquote>\n","urlObject":{"protocol":"http","port":"4000","path":["api","movies","statistics"],"host":["localhost"],"query":[{"description":{"content":"<p>The name of the movie to filter by</p>\n","type":"text/plain"},"key":"title","value":"Star Wars"},{"description":{"content":"<p>The name of an actor to filter by</p>\n","type":"text/plain"},"key":"actor","value":"Frank%20Oz"},{"description":{"content":"<p>The name of a director to filter by</p>\n","type":"text/plain"},"key":"director","value":"Richard%20Marquand"},{"description":{"content":"<p>Which genre(s) to get stats of</p>\n","type":"text/plain"},"key":"genre","value":"Action"},{"description":{"content":"<p>The year to get stats of</p>\n","type":"text/plain"},"key":"year","value":"1983"}],"variable":[]}},"response":[{"id":"568b48c8-af25-4fff-8bae-be1028577cdf","name":"Stats Horror films 2020","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:4000/api/movies/statistics?genre=Horror&year=2020","protocol":"http","host":["localhost"],"port":"4000","path":["api","movies","statistics"],"query":[{"key":"genre","value":"Horror","description":"Tells the api to gets stats for the horror genre"},{"key":"year","value":"2020","description":"Tells the api to gets stats for movies in 2020"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"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":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"395"},{"key":"ETag","value":"W/\"18b-YhpiSV4PwRZP922/tfcZeZoATy0\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 07 Jan 2021 17:45:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"message\": \"Computation Successful\",\n    \"data\": {\n        \"mean\": 5.036363636363637,\n        \"median\": 4.85,\n        \"mode\": 3.4,\n        \"std\": 1.883514800626671,\n        \"visualization\": {\n            \"distribution\": [\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                1,\n                0,\n                0,\n                1,\n                2,\n                0,\n                1,\n                0,\n                2,\n                2,\n                1,\n                0,\n                1,\n                0,\n                3,\n                0,\n                2,\n                2,\n                4,\n                0,\n                3,\n                2,\n                2,\n                2,\n                2,\n                0,\n                2,\n                1,\n                3,\n                2,\n                2,\n                0,\n                1,\n                1,\n                1,\n                1,\n                1,\n                3,\n                2,\n                1,\n                1,\n                2,\n                1,\n                0,\n                1,\n                0,\n                0,\n                1,\n                3,\n                1,\n                3,\n                1,\n                1,\n                1,\n                3,\n                2,\n                1,\n                1,\n                2,\n                0,\n                0,\n                1,\n                1,\n                1,\n                1,\n                0,\n                0,\n                1,\n                0,\n                1,\n                1,\n                1,\n                1,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0\n            ],\n            \"min\": 0,\n            \"max\": 10,\n            \"step\": 0.1\n        }\n    }\n}"}],"_postman_id":"a9fcaed6-4038-4bef-b312-c3714e4fe5a5"}]}