{"info":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","description":"<html><head></head><body><p>This project is a Challenge for Alkemy.org.</p>\n<p>The objective is to develop a Rest API with many characteristics based on managing Disney characters and their films and series.</p>\n<p>The first thing you need to do is /sign-up.\nAfter the signup, you will receive a confirmation email with your credentials, just for informative purposes. Check your spam folder. \nThese mails are managed by SendGrid's mail service.</p>\n<p>After this, you need to /login.\nLogin response contains a Token, this is necessary to attach to the header of all your requests in the Authorization field.</p>\n<p>Every register, Genre, Movie, or Character, has an image field.\nYou can upload an image at /photos and use the URL in the response to fill the corresponding request of the records.\nThe uploaded photos are linked to a Cloudinary account, a CDN service. No images are served from the DataBase.</p>\n<p>The first thing to do is create a Genre at /genres\nWith the genre_id, you can POST a new Movie at /movies.\nThe POST request should give you a movie_id.</p>\n<p>Now, you can create a character at /characters.\nAt this time, you only POST the character and its general information.\nThe response has a character_id.</p>\n<p>You probably want to add your character to a related movie.\nYou need to register this association in /cast_in_movies POSTing the character_id and the movie_id.</p>\n<p>The best way to check all your work is to make a GET petition at /movies/:id , where :id is the movie_id of your recently created movie.\nThe response to this request is the full movie details, with the information of the genre who belongs and the characters in it.</p>\n<p>All the requests, except sign-up, login, and photos, need to have a \"parent object\" in its JSON. Check the examples and have this in mind.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15625913","collectionId":"835f58b1-227b-4e03-8446-5d427a67ecf2","publishedId":"UV5dctru","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-10-27T01:58:20.000Z"},"item":[{"name":"Authentication","item":[{"name":"Sign-up","id":"8e1e963a-514c-4db3-97ff-2240bb49e14d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"example@example.com","description":"<p>Email address to create a new account.</p>\n","type":"text"},{"key":"password","value":"123456789","description":"<p>Password required for the new account.</p>\n","type":"text"},{"key":"name","value":"Jeremias Ramirez","description":"<p>Name of the user.</p>\n","type":"text"}]},"url":"http://127.0.0.1:3000/sign-up","description":"<p>Sign-up is easy, just post your Name, Email address and desired password.\nYou will receive a mail with this info. No fancy mail, just informative.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["sign-up"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"47609ef9-24a8-40c8-9a77-1a560b87d229","name":"Sign-up","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"example@example.com","description":"Email address to create a new account.","type":"text"},{"key":"password","value":"123456789","description":"Password required for the new account.","type":"text"},{"key":"name","value":"Jeremias Ramirez","description":"Name of the user.","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/sign-up"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"1bf7393436644800f4a3d86332c3688e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"fb5043ec-b744-4783-9e62-fca6653e3b2a"},{"key":"X-Runtime","value":"3.825543"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Jeremias Ramirez\",\n    \"email\": \"example@example.com\"\n}"}],"_postman_id":"8e1e963a-514c-4db3-97ff-2240bb49e14d"},{"name":"Login","id":"f85f59e1-c91b-4550-8ec7-d475da451dc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","type":"text","value":"example@example.com","description":"<p>Email from an existing account.</p>\n"},{"key":"password","value":"123456789","type":"text","description":"<p>Associated password for the account.</p>\n"}]},"url":"http://127.0.0.1:3000/login","description":"<p>Use your email and password to login into the service. \nThe authentication is pretty simple, POST your credentials and you will receive your token to attach to future requests. No sign-out option is available yet, but your token will expire in 24 hours.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"3ac599b5-0706-4d70-ae6c-99b48a7f5a16","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","type":"text","value":"example@example.com","description":"Email from an existing account."},{"key":"password","value":"123456789","type":"text","description":"Associated password for the account."}]},"url":"http://127.0.0.1:3000/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"f79a19c3d59bdc924e216262b2797281\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"800a648b-0157-4d0b-9d5c-cf5af78d9a4e"},{"key":"X-Runtime","value":"1.125659"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"auth_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMywiZXhwIjoxNjM1MzgzOTc2fQ.n_jxn9ixyAJBwi_8bAfuBQNHi4-nMsBp1t6XafIGqWA\"\n}"}],"_postman_id":"f85f59e1-c91b-4550-8ec7-d475da451dc2"}],"id":"2a35f013-c2d2-4272-b9b2-52a5122dee37","description":"<p>Every request should have an authorization header with the bearer token from the login POST request.</p>\n","_postman_id":"2a35f013-c2d2-4272-b9b2-52a5122dee37","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}}},{"name":"Genres","item":[{"name":"Create new Genre","id":"16afc85f-bb1e-4f39-9a30-161d079d0043","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"genre\":{\r\n        \"name\": \"Comedy\",\r\n        \"image\": \"comedy_image_genre.jpg\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/genres","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["genres"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"8570b90e-edde-4ee1-b1ee-b231e60fe9ef","name":"Create new Genre","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"genre\":{\r\n        \"name\": \"Comedy\",\r\n        \"image\": \"comedy_image_genre.jpg\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/genres"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Location","value":"http://127.0.0.1:3000/genres/23"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"f83fafc089f64356b68c84e80bac1b75\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"759763b8-aacc-41dd-94e7-1813d81586df"},{"key":"X-Runtime","value":"0.179459"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 23,\n    \"name\": \"Comedy\",\n    \"image\": \"comedy_image_genre.jpg\"\n}"}],"_postman_id":"16afc85f-bb1e-4f39-9a30-161d079d0043"},{"name":"Read Genres list","id":"c469b930-b463-4387-a119-341ae082570d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/genres?order=name+ASC","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["genres"],"host":["127","0","0","1"],"query":[{"key":"order","value":"name+ASC"}],"variable":[]}},"response":[{"id":"ed05a93b-15c3-44a8-b9cb-09a0756db7aa","name":"Read Genres list","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:3000/genres?order=name+ASC","protocol":"http","host":["127","0","0","1"],"port":"3000","path":["genres"],"query":[{"key":"order","value":"name+ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"2e813ac06fa831c46d4f3a68a1e4b5ca\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"eec5cf34-d9af-40c3-9962-3a7bfee4bf73"},{"key":"X-Runtime","value":"0.145994"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 22,\n        \"name\": \"Drama\",\n        \"image\": \"image.jpg\"\n    },\n    {\n        \"id\": 21,\n        \"name\": \"Fantastico\",\n        \"image\": \"naranjas.jpg\"\n    },\n    {\n        \"id\": 13,\n        \"name\": \"Sci-Fi\",\n        \"image\": \"image.jpg\"\n    }\n]"}],"_postman_id":"c469b930-b463-4387-a119-341ae082570d"},{"name":"Read Genre details","id":"fc87e809-dbda-4e0a-86a9-8a3be8bc84c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/genres/21","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["genres","21"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"bb866ccf-f8fe-4568-ae91-138f77639f4c","name":"Read Genre details","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/genres/21"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"9efd9bf683b02a29433fcca936caf741\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"008b3f62-70d8-499e-bfec-331046ce6316"},{"key":"X-Runtime","value":"0.979524"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 21,\n    \"name\": \"Fantastico\",\n    \"image\": \"naranjas.jpg\",\n    \"movies\": [\n        {\n            \"id\": 6,\n            \"title\": \"Zooboomafoo\",\n            \"image\": \"image.jpg\",\n            \"realese\": \"2021-10-02\"\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Ga-Hoole\",\n            \"image\": \"guardians.jpg\",\n            \"realese\": \"2021-05-05\"\n        }\n    ]\n}"}],"_postman_id":"fc87e809-dbda-4e0a-86a9-8a3be8bc84c7"},{"name":"Update Genre","id":"0ce51166-f1ec-439c-9691-2c033254589c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"genre\":{\r\n        \"name\": \"Family Comedy\",\r\n        \"image\": \"comedy_image_genre.jpg\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/genres/23","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["genres","23"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"3c1c97d8-5893-4c52-8fb2-0c17caa0893a","name":"Update genre details","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"genre\":{\r\n        \"name\": \"Family Comedy\",\r\n        \"image\": \"comedy_image_genre.jpg\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/genres/23"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5cc9d5d5ee65900fee2d4ff8c63b0fe2\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"1e1b9d89-3887-4885-b4aa-03f92bf2e2a1"},{"key":"X-Runtime","value":"0.183797"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 23,\n    \"name\": \"Family Comedy\",\n    \"image\": \"comedy_image_genre.jpg\"\n}"}],"_postman_id":"0ce51166-f1ec-439c-9691-2c033254589c"},{"name":"Delete Genre","id":"0bd4f8c0-cc3c-4119-a15a-14029329c5dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/genres/24","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["genres","24"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"c2043770-9979-454f-9056-88eea232ac27","name":"Delete Genre","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/genres/24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"fe8dbf29eb9efc3326f471bb7720bc21\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"5c7e53c9-5402-4e0d-9f26-9022e48531ca"},{"key":"X-Runtime","value":"0.177518"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 24,\n    \"name\": \"Comedy\",\n    \"image\": \"comedy_image_genre.jpg\"\n}"}],"_postman_id":"0bd4f8c0-cc3c-4119-a15a-14029329c5dc"}],"id":"9152feca-6fe5-471e-8352-2fee747a78b5","_postman_id":"9152feca-6fe5-471e-8352-2fee747a78b5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}}},{"name":"Movies","item":[{"name":"Create new Movie","id":"ef682136-4853-4f23-ae72-d9085954288a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://127.0.0.1:3000/movies","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["movies"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"f2e11480-e7ec-4b30-ab8f-b33a66e00ea3","name":"Create new Movie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"movie\": {\r\n        \"title\": \"Star Wars, A new Hope\",\r\n        \"image\": \"star_wars.jpg\",\r\n        \"realese\": \"1997-05-25\",\r\n        \"qualification\": 5,\r\n        \"genre_id\": 13\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/movies"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Location","value":"http://127.0.0.1:3000/movies/7"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"d2b4c8ef1e230f2b786fed08dbb5d8c1\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"6924626f-e41b-4bd4-85d6-6dbcbfd5d410"},{"key":"X-Runtime","value":"2.455405"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 7,\n    \"title\": \"Star Wars, A new Hope\",\n    \"image\": \"star_wars.jpg\",\n    \"realese\": \"1997-05-25\"\n}"}],"_postman_id":"ef682136-4853-4f23-ae72-d9085954288a"},{"name":"Read Movies List","id":"e4f35ac1-87ab-4bed-a85e-d7d6f75658d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/movies?realese=2021-10-02&order=title+DESC","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["movies"],"host":["127","0","0","1"],"query":[{"key":"realese","value":"2021-10-02"},{"key":"order","value":"title+DESC"}],"variable":[]}},"response":[{"id":"5b019749-6c0c-4c35-8a6a-62ef55993137","name":"Read Movies List","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:3000/movies?realese=2021-10-02&order=title+DESC","protocol":"http","host":["127","0","0","1"],"port":"3000","path":["movies"],"query":[{"key":"realese","value":"2021-10-02"},{"key":"order","value":"title+DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"e3d527ef25594900a8088e06af3e1edc\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a72a6ae7-f494-4ba0-9c07-4e0733a016b0"},{"key":"X-Runtime","value":"0.148184"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 6,\n        \"title\": \"Zooboomafoo\",\n        \"image\": \"image.jpg\",\n        \"realese\": \"2021-10-02\"\n    },\n    {\n        \"id\": 3,\n        \"title\": \"Star Wars\",\n        \"image\": \"image.jpg\",\n        \"realese\": \"2021-10-02\"\n    }\n]"}],"_postman_id":"e4f35ac1-87ab-4bed-a85e-d7d6f75658d8"},{"name":"Read movie detail","id":"77cbf656-0df5-4b9e-8ebc-033658d9f647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/movies/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["movies","3"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"03e80480-010f-4f7e-93fc-8fc651a1b01e","name":"Read movie detail","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/movies/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"fbaf44322e749823c22a84c528507feb\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"bdad4ae2-6812-4cf2-84af-6a4ae3a3e0de"},{"key":"X-Runtime","value":"0.342040"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"title\": \"Star Wars\",\n    \"image\": \"image.jpg\",\n    \"qualification\": 5,\n    \"realese\": \"2021-10-02\",\n    \"genre\": {\n        \"id\": 13,\n        \"name\": \"Sci-Fi\",\n        \"image\": \"image.jpg\"\n    },\n    \"characters\": [\n        {\n            \"id\": 21,\n            \"name\": \"Luke\",\n            \"image\": \"image.jpg\"\n        },\n        {\n            \"id\": 28,\n            \"name\": \"Luke\",\n            \"image\": \"image.jpg\"\n        },\n        {\n            \"id\": 29,\n            \"name\": \"Buho\",\n            \"image\": \"image.jpg\"\n        }\n    ]\n}"}],"_postman_id":"77cbf656-0df5-4b9e-8ebc-033658d9f647"},{"name":"Update Movie","id":"c6980d51-8bf5-4a4f-b236-e8edeed4d8f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"movie\": {\r\n        \"title\": \"Star Wars, a new Hope\",\r\n        \"image\": \"star_wars_picture.jpg\",\r\n        \"realese\": \"1997-05-25\",\r\n        \"qualification\": 4,\r\n        \"genre_id\": 13\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/movies/7","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["movies","7"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"901df7f4-6a16-4d38-8d66-4441aa29884b","name":"Update Movie","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"movie\": {\r\n        \"title\": \"Star Wars, a new Hope\",\r\n        \"image\": \"star_wars_picture.jpg\",\r\n        \"realese\": \"1997-05-25\",\r\n        \"qualification\": 4,\r\n        \"genre_id\": 13\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/movies/7"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"a161df072eb13c8b501ddbbd7c439b6b\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"2663adb4-2b30-4a6e-ae6a-b5b39466e7ff"},{"key":"X-Runtime","value":"0.197205"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 7,\n    \"title\": \"Star Wars, a new Hope\",\n    \"image\": \"star_wars_picture.jpg\",\n    \"realese\": \"1997-05-25\"\n}"}],"_postman_id":"c6980d51-8bf5-4a4f-b236-e8edeed4d8f6"},{"name":"Delete movie","id":"5dcfdca1-9fe9-4b2d-8170-c87ffa08c9e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/movies/8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["movies","8"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"809e2d05-3665-4c11-8404-9cd0b776e488","name":"Delete movie","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/movies/8"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"41b8a76b32c336af7b58168a48419b7b\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"94c07392-f47e-4cd3-8e60-250710350a6a"},{"key":"X-Runtime","value":"0.143865"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 8,\n    \"title\": \"Star Wars, A new Hope\",\n    \"image\": \"star_wars.jpg\",\n    \"realese\": \"1997-05-25\"\n}"}],"_postman_id":"5dcfdca1-9fe9-4b2d-8170-c87ffa08c9e2"}],"id":"197a753e-bfa5-4d0c-b211-6228683d7dfe","_postman_id":"197a753e-bfa5-4d0c-b211-6228683d7dfe","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}}},{"name":"Characters","item":[{"name":"Create new Character","id":"5a39ed53-4851-4f65-a17a-5381fe7d95a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"character\": {\r\n        \"image\": \"Master_Yoda.jpg\",\r\n        \"name\": \"Yoda\",\r\n        \"age\": 900,\r\n        \"weight\": 17,\r\n        \"history\": \"Grand Master Yoda is among the oldest, most stoic, and most powerful Jedi Masters in the Star Wars universe.\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/characters","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["characters"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"2a39595d-d378-455d-b549-27730688124f","name":"Create new Character","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"character\": {\r\n        \"image\": \"Master_Yoda.jpg\",\r\n        \"name\": \"Yoda\",\r\n        \"age\": 900,\r\n        \"weight\": 17,\r\n        \"history\": \"Grand Master Yoda is among the oldest, most stoic, and most powerful Jedi Masters in the Star Wars universe.\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/characters"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Location","value":"http://127.0.0.1:3000/characters/30"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"4ebcac967ef2a913a380582d65018ba7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"09cd530e-7784-4e3b-99d7-ded06110bb51"},{"key":"X-Runtime","value":"0.449460"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 30,\n    \"name\": \"Yoda\",\n    \"image\": \"Master_Yoda.jpg\"\n}"}],"_postman_id":"5a39ed53-4851-4f65-a17a-5381fe7d95a5"},{"name":"Read Characters list","id":"74da1cff-c509-4542-9ebc-61c5a7c6e1b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/characters?order=name+ASC","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["characters"],"host":["127","0","0","1"],"query":[{"key":"order","value":"name+ASC"}],"variable":[]}},"response":[{"id":"e0cf5235-8add-4e87-b69e-e61051c24100","name":"Read Characters list","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:3000/characters?order=name+ASC","protocol":"http","host":["127","0","0","1"],"port":"3000","path":["characters"],"query":[{"key":"order","value":"name+ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"e08464bd731f9cfb4753d576e659b19e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"141b4b1b-910d-4618-8a44-868355bfa4e6"},{"key":"X-Runtime","value":"0.132425"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 29,\n        \"name\": \"Buho\",\n        \"image\": \"image.jpg\"\n    },\n    {\n        \"id\": 21,\n        \"name\": \"Luke\",\n        \"image\": \"image.jpg\"\n    },\n    {\n        \"id\": 28,\n        \"name\": \"R2D2\",\n        \"image\": \"arthur.jpg\"\n    },\n    {\n        \"id\": 30,\n        \"name\": \"Yoda\",\n        \"image\": \"Master_Yoda.jpg\"\n    }\n]"}],"_postman_id":"74da1cff-c509-4542-9ebc-61c5a7c6e1b0"},{"name":"Read Character detail","id":"131d27f8-92b7-45b5-90f4-0252a4d76f5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/characters/28","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["characters","28"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"4bff9c7b-2fd6-4295-98c7-e11cca623ce9","name":"Read Character detail","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/characters/28"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"928cd88abef3c28c31aa99aafe8b3443\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"3f07f451-be55-45c0-bebc-9f538caca50e"},{"key":"X-Runtime","value":"0.376390"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 28,\n    \"name\": \"R2D2\",\n    \"image\": \"arthur.jpg\",\n    \"age\": 65,\n    \"weight\": 45,\n    \"history\": \"Bee doop tick!\",\n    \"movies\": [\n        {\n            \"id\": 3,\n            \"title\": \"Star Wars\",\n            \"image\": \"image.jpg\",\n            \"realese\": \"2021-10-02\"\n        }\n    ]\n}"}],"_postman_id":"131d27f8-92b7-45b5-90f4-0252a4d76f5e"},{"name":"Update Character detail","id":"433b1ee0-ed22-48e9-bf73-745c27db48f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"character\": {\r\n        \"image\": \"arthur.jpg\",\r\n        \"name\": \"R2D2\",\r\n        \"age\": 65,\r\n        \"weight\": 45,\r\n        \"history\": \"Bee doop tick!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/characters/28","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["characters","28"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"2638d810-2f84-4b09-9865-99ab4735fdcb","name":"Update Character detail","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"character\": {\r\n        \"image\": \"arthur_on_fire.jpg\",\r\n        \"name\": \"R2D2\",\r\n        \"age\": 35,\r\n        \"weight\": 15,\r\n        \"history\": \"Bee doop tick, again!!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/characters/28"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"0ef9d10694a1bd56caaeefe836cc1a99\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"e7c6d20e-1e74-483f-87b9-9773e4fb3c18"},{"key":"X-Runtime","value":"0.185986"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 28,\n    \"name\": \"R2D2\",\n    \"image\": \"arthur_on_fire.jpg\"\n}"}],"_postman_id":"433b1ee0-ed22-48e9-bf73-745c27db48f4"},{"name":"Delete a Character","id":"0591e6f3-76f5-4ffc-8f90-ae64bfd1a41a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/characters/32","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["characters","32"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"adc663ce-1f07-4cb4-9d16-425192b65c2d","name":"Delete a Character","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/characters/32"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"f44121a78b9cfd85e3ae48f29670a176\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"fd38fa1f-392f-4463-aa17-60416c861696"},{"key":"X-Runtime","value":"0.160780"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 32,\n    \"name\": \"Yoda\",\n    \"image\": \"Master_Yoda.jpg\"\n}"}],"_postman_id":"0591e6f3-76f5-4ffc-8f90-ae64bfd1a41a"}],"id":"243b902e-6bb8-413e-9318-e2284b189304","_postman_id":"243b902e-6bb8-413e-9318-e2284b189304","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}}},{"name":"Cast in movies","item":[{"name":"Read Cast of movies","id":"e5f320a5-09b6-47c9-98db-d4a8d61a8b65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/cast_in_movies","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["cast_in_movies"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"2ba04f33-dd71-4dca-82c5-718ba59205af","name":"Add a movie to character","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/cast_in_movies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"7d3f92b46b0ea9fce2a542eca6dfbf31\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"11ebcbdd-99ca-49b7-bad6-5b55a03ac586"},{"key":"X-Runtime","value":"0.849237"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"character_id\": 21,\n        \"movie_id\": 3,\n        \"created_at\": \"2021-10-02T13:59:15.845Z\",\n        \"updated_at\": \"2021-10-02T13:59:15.845Z\"\n    },\n    {\n        \"id\": 2,\n        \"character_id\": 28,\n        \"movie_id\": 3,\n        \"created_at\": \"2021-10-02T13:59:15.845Z\",\n        \"updated_at\": \"2021-10-02T13:59:15.845Z\"\n    },\n    {\n        \"id\": 3,\n        \"character_id\": 29,\n        \"movie_id\": 4,\n        \"created_at\": \"2021-10-02T19:14:49.565Z\",\n        \"updated_at\": \"2021-10-02T19:14:49.565Z\"\n    },\n    {\n        \"id\": 4,\n        \"character_id\": 29,\n        \"movie_id\": 3,\n        \"created_at\": \"2021-10-02T19:16:07.069Z\",\n        \"updated_at\": \"2021-10-02T19:16:07.069Z\"\n    }\n]"}],"_postman_id":"e5f320a5-09b6-47c9-98db-d4a8d61a8b65"},{"name":"Add a character to a movie","id":"c2a83793-beb0-434a-a12f-7854d82fe32d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cast_in_movie\": {\r\n        \"character_id\": 30,\r\n        \"movie_id\": 3\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/cast_in_movies","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["cast_in_movies"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"c8f643e9-fb4e-476b-a4cf-8d617b06c3d4","name":"Add a character to a movie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cast_in_movie\": {\r\n        \"character_id\": 30,\r\n        \"movie_id\": 3\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/cast_in_movies"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Location","value":"http://127.0.0.1:3000/cast_in_movies/5"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"c93f506e185835ef517d5aa76098dc00\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a0e6c923-3feb-41ec-a433-9ff5dee91be6"},{"key":"X-Runtime","value":"0.563825"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"character_id\": 30,\n    \"movie_id\": 3,\n    \"created_at\": \"2021-10-28T00:21:35.155Z\",\n    \"updated_at\": \"2021-10-28T00:21:35.155Z\"\n}"}],"_postman_id":"c2a83793-beb0-434a-a12f-7854d82fe32d"}],"id":"2b93e532-6a0f-4cbc-ab4e-c10dcfe917f1","_postman_id":"2b93e532-6a0f-4cbc-ab4e-c10dcfe917f1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}}},{"name":"Photos","item":[{"name":"Create new photo","id":"701def85-76ba-446d-9da9-4dff119d8a67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/iguan/Pictures/4dae3e3186b43263270801fa6c6dd27a.png"},{"key":"caption","value":"Butter bot!","type":"text"}]},"url":"http://127.0.0.1:3000/photos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["photos"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"f04dfafd-6fbc-47f7-8fa5-70ae70943771","name":"Create new photo","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/iguan/Pictures/4dae3e3186b43263270801fa6c6dd27a.png"},{"key":"caption","value":"Butter bot!","type":"text"}]},"url":"http://127.0.0.1:3000/photos"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"13a833fc4fb62685707e783d272e662f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"0503fbf3-85aa-4473-8545-c83533b98a49"},{"key":"X-Runtime","value":"6.085826"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"photo\": {\n        \"id\": 29,\n        \"url\": \"http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--ded2bb7aa47c0cdf62338d8c488eb6a9f6b75bfd/4dae3e3186b43263270801fa6c6dd27a.png\",\n        \"caption\": \"Butter bot!\"\n    }\n}"}],"_postman_id":"701def85-76ba-446d-9da9-4dff119d8a67"}],"id":"d83cfc30-020f-4f22-8073-7d24d6e0563f","_postman_id":"d83cfc30-020f-4f22-8073-7d24d6e0563f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"835f58b1-227b-4e03-8446-5d427a67ecf2","id":"835f58b1-227b-4e03-8446-5d427a67ecf2","name":"Alkemy-Disney-Api","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"40fdfb01-2674-45da-92e5-a4c448adf027","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"44ec53b0-9cdb-4633-915a-6b40572ee158","type":"text/javascript","exec":[""]}}]}