{"info":{"_postman_id":"6dde1476-6475-42cf-94be-31b190834d1f","name":"Disney API","description":"<html><head></head><body><p>Welcome to the Disney API docs. This documentation helps you explore and customize the different characters and movies that integrate the world of Disney..</p>\n<p>This API :</p>\n<ul>\n<li>Is REST-based.</li>\n<li>Uses JSON Web Token for authorization</li>\n<li>Always returns responses in JSON</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"19137999","collectionId":"6dde1476-6475-42cf-94be-31b190834d1f","publishedId":"UVXjHarQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-01-13T21:16:28.000Z"},"item":[{"name":"Auth","item":[{"name":"Register","id":"7a61cc64-8a18-4712-8c9f-3bca786355eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"davidbrown10\",\r\n    \"password\": 1234,\r\n    \"email\":\"david12@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{Url}}/api/auth/register","description":"<p>The following fields have to specify in the body of the request:</p>\n<ul>\n<li>Username</li>\n<li>Password</li>\n<li>Email</li>\n</ul>\n<p>If the register was successful, you get a message of confirmation and an email with the welcome greeting.</p>\n","urlObject":{"path":["api","auth","register"],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a61cc64-8a18-4712-8c9f-3bca786355eb"},{"name":"Login","id":"0192ceb6-661a-431e-a798-74e98a698e77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"davidbrown10","type":"default"},{"key":"password","value":"1234","type":"default"}]},"url":"{{Url}}/api/auth/login","description":"<p>Once you have registered, it's time to log in. You must send your username and password in URL-encoded format. Then the API will give you a Token that allows interacting with it.</p>\n<p><strong>You can pass your Token as a bearer token in an authorization header.</strong></p>\n","urlObject":{"path":["api","auth","login"],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0192ceb6-661a-431e-a798-74e98a698e77"}],"id":"1f419879-2132-4930-9af2-f39464c6a157","description":"<p>Before you can start using our API, you need to register. For it, you must provide your information. Later you will get an access token, which must include in every request.</p>\n","_postman_id":"1f419879-2132-4930-9af2-f39464c6a157"},{"name":"Character","item":[{"name":"Get All Characters","id":"c796d9ec-25ca-4810-b06b-a39966c7510a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"url":"{{Url}}/api/characters","description":"<p>This API call provides a list of available characters.</p>\n","urlObject":{"path":["api","characters"],"host":["{{Url}}"],"query":[{"disabled":true,"description":{"content":"<p>Character Name</p>\n","type":"text/plain"},"key":"name","value":"Walle-E"},{"disabled":true,"description":{"content":"<p>Character Age</p>\n","type":"text/plain"},"key":"age","value":"20"},{"disabled":true,"description":{"content":"<p>Character Weight</p>\n","type":"text/plain"},"key":"weight","value":"30"},{"disabled":true,"description":{"content":"<p>Id Movie</p>\n","type":"text/plain"},"key":"idMovie","value":"1"}],"variable":[]}},"response":[],"_postman_id":"c796d9ec-25ca-4810-b06b-a39966c7510a"},{"name":"Add Character","id":"68bb6743-eb5e-4233-a74d-5c4b6cd1f4f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"name\":\"Woody\",\r\n\"image\":\"Woody123.jpg\",\r\n\"age\": 40,\r\n\"weight\": 5,\r\n\"story\": \"Woody is a fictional pullstring cowboy rag doll\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{Url}}/api/character/","description":"<p>This endpoint will add a character to the Database.</p>\n","urlObject":{"path":["api","character",""],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"68bb6743-eb5e-4233-a74d-5c4b6cd1f4f4"},{"name":"Delete Character","id":"a36438c5-5391-4516-be5a-087e15e58ebc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"url":"{{Url}}/api/character/10","description":"<p>In this endpoint, you should specify the ID of the character to delete it.</p>\n","urlObject":{"path":["api","character","10"],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a36438c5-5391-4516-be5a-087e15e58ebc"},{"name":"Update Character","id":"f59914d8-f433-46f3-a393-82b96193b0a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"id\": 6,    \r\n\"name\":\"Woody\",\r\n\"image\":\"Woody123.jpg\",\r\n\"age\": 48,\r\n\"weight\": 5,\r\n\"story\": \"Woody is a fictional cowboy\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{Url}}/api/character/6","description":"<p>In this endpoint, you should specify the ID of the character to update it.</p>\n","urlObject":{"path":["api","character","6"],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f59914d8-f433-46f3-a393-82b96193b0a5"},{"name":"Get Character Details","id":"b5141c2c-c5de-4d8b-833a-b9849f9b20ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"url":"{{Url}}/api/character/details/2","description":"<p>Retrieve all attributes of the character:</p>\n<ul>\n<li>Id</li>\n<li>Name</li>\n<li>Image</li>\n<li>Age</li>\n<li>Weight</li>\n<li>Story</li>\n</ul>\n","urlObject":{"path":["api","character","details","2"],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5141c2c-c5de-4d8b-833a-b9849f9b20ac"}],"id":"a69399c5-f622-417e-aacb-6a46b2cc55f9","description":"<p>All the Endpoints related to the characters are put together in this section.</p>\n","_postman_id":"a69399c5-f622-417e-aacb-6a46b2cc55f9"},{"name":"Movie","item":[{"name":"Add Movie","id":"15f4f924-167b-41bd-92ba-d326ba2690e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"image\":\"toystory.jpg\",\r\n\"title\":\"Toy Story\",\r\n\"creationDate\":\"2009-01-05\",\r\n\"rating\":3\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{Url}}/api/movie","description":"<p>This endpoint will add a movie to the Database.</p>\n","urlObject":{"path":["api","movie"],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"15f4f924-167b-41bd-92ba-d326ba2690e0"},{"name":"Delete Movie","id":"b0a55559-6c35-4e12-a907-55e10e0e6bca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"url":"{{Url}}/api/movie/7","description":"<p>In this endpoint, you should specify the ID of the movie to delete it.</p>\n","urlObject":{"path":["api","movie","7"],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0a55559-6c35-4e12-a907-55e10e0e6bca"},{"name":"Update Movie","id":"0c2b6124-d252-413e-ab16-e8e22b0b1682","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\":5,\r\n    \"image\":\"walle1.png\",\r\n    \"title\":\"Walle-E\",\r\n    \"creationDate\":\"2009-07-09\",\r\n    \"rating\":4\r\n}","options":{"raw":{"language":"json"}}},"url":"{{Url}}/api/movie/5","description":"<p>In this endpoint, you should specify the ID of the movie to update it.</p>\n","urlObject":{"path":["api","movie","5"],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c2b6124-d252-413e-ab16-e8e22b0b1682"},{"name":"Get Movie Details","id":"a90f5d7b-e8fb-4275-9b5c-2c3a71988f92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"url":"{{Url}}/api/movie/details/2","description":"<p>Retrieve all attributes of the movie:</p>\n<ul>\n<li>Id</li>\n<li>Title</li>\n<li>Image</li>\n<li>Creation date</li>\n<li>Rating</li>\n</ul>\n","urlObject":{"path":["api","movie","details","2"],"host":["{{Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a90f5d7b-e8fb-4275-9b5c-2c3a71988f92"},{"name":"Get All Movies","id":"61826795-eb77-4330-85dd-e279d59eacef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Token}}","type":"text"}],"url":"{{Url}}/api/movies","description":"<p>This API call provides a list of available movies.</p>\n","urlObject":{"path":["api","movies"],"host":["{{Url}}"],"query":[{"disabled":true,"description":{"content":"<p>Movie Title</p>\n","type":"text/plain"},"key":"name","value":"Fantasia"},{"disabled":true,"description":{"content":"<p>ID genre</p>\n","type":"text/plain"},"key":"idGenre","value":"2"},{"disabled":true,"description":{"content":"<p>Sort by creation date</p>\n","type":"text/plain"},"key":"order","value":"asc"}],"variable":[]}},"response":[],"_postman_id":"61826795-eb77-4330-85dd-e279d59eacef"}],"id":"52c74dc3-8b7f-4ebb-a835-b03df6883cd6","description":"<p>All the Endpoints related to the movies are put together in this section.</p>\n","_postman_id":"52c74dc3-8b7f-4ebb-a835-b03df6883cd6"}]}