{"info":{"_postman_id":"a0675ab6-9750-4ec5-9f76-d1cc637b7359","name":"petshow-api","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10987059","collectionId":"a0675ab6-9750-4ec5-9f76-d1cc637b7359","publishedId":"UVe9QocM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-01-25T03:30:32.000Z"},"item":[{"name":"auth","item":[{"name":"Authentication","id":"2f156730-54e9-436f-a183-be84b7804f61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"email-3@email.com\",\r\n    \"password\": \"123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth","description":"<p>Authentication of user</p>\n","urlObject":{"protocol":"http","port":"3000","path":["auth"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f156730-54e9-436f-a183-be84b7804f61"}],"id":"40669afb-b208-4e01-a9e8-825c32218320","description":"<p>User login.</p>\n","_postman_id":"40669afb-b208-4e01-a9e8-825c32218320"},{"name":"breeds","item":[{"name":"List","id":"43877dfc-b9f6-4e2d-b996-23710471bcf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/breeds","description":"<p>List all registered breeds.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["breeds"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"43877dfc-b9f6-4e2d-b996-23710471bcf1"},{"name":"Create","id":"c6cbec35-fe07-4b98-848d-f89b7f5960c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Golden\",\r\n    \"description\": \"Raça Canina - Porte Grande\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/breeds","description":"<p>Creates a new breed.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["breeds"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6cbec35-fe07-4b98-848d-f89b7f5960c7"},{"name":"Update","id":"317806dd-ace3-4b39-9417-4545a9a72381","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Indefinida\",\r\n    \"description\": \"Raça Desconhecida / Mistura de Raças\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/breeds/11702623","description":"<p>Updates a registered breed.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["breeds","11702623"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"317806dd-ace3-4b39-9417-4545a9a72381"},{"name":"Delete","id":"1ba5d4d0-0e1e-4b16-8eb7-a5e629c80fe9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/breeds/8191323","description":"<p>Remove a registered breed.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["breeds","8191323"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ba5d4d0-0e1e-4b16-8eb7-a5e629c80fe9"}],"id":"e91c941c-79b3-40c3-abac-ac52671c83a4","description":"<p>Breeds of pets.</p>\n","_postman_id":"e91c941c-79b3-40c3-abac-ac52671c83a4"},{"name":"users","item":[{"name":"List","id":"61563f5a-4ea4-4002-88bd-4a28d45f9e28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/users/","description":"<p>Lists all registered users.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["users",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"61563f5a-4ea4-4002-88bd-4a28d45f9e28"},{"name":"ListOne","id":"1cdb4101-f276-4218-b520-46c219d99921","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/users/email@email.com","description":"<p>Lists a user by registered email.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["users","email@email.com"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1cdb4101-f276-4218-b520-46c219d99921"},{"name":"Create","id":"e629c0b4-8e41-4a17-8652-66a9e301f833","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Marcos Evangelista\",\r\n    \"email\": \"email-4@email.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/users","description":"<p>Creates a new user.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e629c0b4-8e41-4a17-8652-66a9e301f833"},{"name":"Update","id":"eccdeda0-d4dc-4928-a161-55f3d97d427e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/users/15474019","description":"<p>Updates a registered user.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["users","15474019"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"eccdeda0-d4dc-4928-a161-55f3d97d427e"},{"name":"Delete","id":"c5d272d0-e572-48ed-b88e-e3a04d31d7e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/users/8422584","description":"<p>Removes a registered user.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["users","8422584"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5d272d0-e572-48ed-b88e-e3a04d31d7e0"}],"id":"f440e874-7f0b-45ba-a736-2042a57599ac","description":"<p>Users of system and owners of pets.</p>\n","_postman_id":"f440e874-7f0b-45ba-a736-2042a57599ac"},{"name":"pets","item":[{"name":"Create","id":"2d12f30f-fbce-4b1f-83d7-94d3d96c4205","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Toninho\",\r\n    \"genre\": \"Mal\",\r\n    \"description\": \"Cachorro/Porte Grande/Bege\",\r\n    \"breed_id\": \"13415265\",\r\n    \"user_id\": \"14783106\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/pets","description":"<p>Creates a new pet.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["pets"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d12f30f-fbce-4b1f-83d7-94d3d96c4205"},{"name":"List","id":"34ad64bf-817e-46e4-8ea8-4aa64a4ee36a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/pets","description":"<p>Lists all registered pets.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["pets"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"34ad64bf-817e-46e4-8ea8-4aa64a4ee36a"},{"name":"ListByName","id":"742d2c62-0af7-4cc8-90d9-af704b2ddc57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/pets/Maya%20Cecília","description":"<p>Lists pets by name.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["pets","Maya%20Cecília"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"742d2c62-0af7-4cc8-90d9-af704b2ddc57"},{"name":"Update","id":"6091c36e-ed20-4705-82bb-1bc458c03f95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 12668753,\r\n    \"name\": \"Esmeralda\",\r\n    \"genre\": \"Fem\",\r\n    \"description\": \"Cachorro-Médio-Branco\",\r\n    \"user_id\": 212399,\r\n    \"breed_id\": 13415265\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/pets/12668753","description":"<p>Updates a registered pet.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["pets","12668753"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6091c36e-ed20-4705-82bb-1bc458c03f95"},{"name":"Delete","id":"94cb6cd4-7b9c-4dad-b452-b614e6011028","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/pets/12668753","description":"<p>Removes a registered pet.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["pets","12668753"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"94cb6cd4-7b9c-4dad-b452-b614e6011028"}],"id":"7f821751-6588-4504-8d2c-a68d81df1ea3","description":"<p>Pets</p>\n","_postman_id":"7f821751-6588-4504-8d2c-a68d81df1ea3"}]}