{"info":{"_postman_id":"85aa8118-4854-4491-a326-e618207f31cb","name":"library-api","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1862571","collectionId":"85aa8118-4854-4491-a326-e618207f31cb","publishedId":"RWTkQyRZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-08-10T03:58:16.000Z"},"item":[{"name":"categories","item":[{"name":"library/api/categories","id":"f62fd0cb-7bf4-4fdb-9c81-66fdc936c1b1","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/library/api/categories","urlObject":{"protocol":"http","port":"8080","path":["library","api","categories"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f62fd0cb-7bf4-4fdb-9c81-66fdc936c1b1"},{"name":"library/api/categories","id":"88b1513b-0fbf-467b-b053-31e33bf43a72","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"\"\n}"},"url":"http://localhost:8080/library/api/categories/2","urlObject":{"protocol":"http","port":"8080","path":["library","api","categories","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"88b1513b-0fbf-467b-b053-31e33bf43a72"},{"name":"library/api/categories","id":"cbacc40a-e6c1-4848-a795-5f6995769ad1","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"name\": \"Clean Code\"\r\n}"},"url":"http://localhost:8080/library/api/categories","urlObject":{"protocol":"http","port":"8080","path":["library","api","categories"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbacc40a-e6c1-4848-a795-5f6995769ad1"}],"id":"f1fe4975-5c24-4ab8-b2cd-235248dcf147","_postman_id":"f1fe4975-5c24-4ab8-b2cd-235248dcf147","description":""},{"name":"authors","item":[{"name":"library/api/authors","id":"2d40e47e-d32e-42e6-8f22-5bead52c79d4","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/library/api/authors?sort=-id","urlObject":{"protocol":"http","port":"8080","path":["library","api","authors"],"host":["localhost"],"query":[{"disabled":true,"key":"name","value":"Martin"},{"disabled":true,"key":"page","value":"0"},{"disabled":true,"key":"per_page","value":"1"},{"key":"sort","value":"-id"}],"variable":[]}},"response":[],"_postman_id":"2d40e47e-d32e-42e6-8f22-5bead52c79d4"},{"name":"library/api/authors","id":"299d3dea-4164-4fee-b5ec-7ebd1980a794","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Uncle Bob\"\n}"},"url":"http://localhost:8080/library/api/authors/2","urlObject":{"protocol":"http","port":"8080","path":["library","api","authors","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"299d3dea-4164-4fee-b5ec-7ebd1980a794"},{"name":"library/api/authors","id":"b83e7620-1e0e-42af-abf3-f0f1ab81a33f","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"name\": \"Uncle Bob\"\r\n}"},"url":"http://localhost:8080/library/api/authors","urlObject":{"protocol":"http","port":"8080","path":["library","api","authors"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b83e7620-1e0e-42af-abf3-f0f1ab81a33f"}],"id":"8725279c-c25e-4aa0-a83c-e028fad4036c","_postman_id":"8725279c-c25e-4aa0-a83c-e028fad4036c","description":""},{"name":"users","item":[{"name":"library/api/users","id":"6bfa0f46-5dfa-4ce3-9afa-d868fc3785fb","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \n\t\"password\": \"1234567\"\n}"},"url":"http://localhost:8080/library/api/users","urlObject":{"protocol":"http","port":"8080","path":["library","api","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6bfa0f46-5dfa-4ce3-9afa-d868fc3785fb"},{"name":"library/api/users/:id/password","id":"c97b6441-e9ed-4b57-8122-c8ed298f3388","request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/library/api/users/:id/password","urlObject":{"protocol":"http","port":"8080","path":["library","api","users",":id","password"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"c97b6441-e9ed-4b57-8122-c8ed298f3388"},{"name":"library/api/users/:id","id":"f54427f2-b1ab-421c-96f4-eabf19e9aca6","request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/library/api/users","urlObject":{"protocol":"http","port":"8080","path":["library","api","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f54427f2-b1ab-421c-96f4-eabf19e9aca6"},{"name":"library/api/users/authenticate","id":"ac9a27d4-411d-42b9-8cc3-083734c85bb3","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"john@domain.com\",\n\t\"password\": \"123456\"\n}"},"url":"http://localhost:8080/library/api/users/authenticate","urlObject":{"protocol":"http","port":"8080","path":["library","api","users","authenticate"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac9a27d4-411d-42b9-8cc3-083734c85bb3"},{"name":"library/api/users","id":"58b556ed-e999-468e-9016-4394c098be03","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"John doe\",\r\n    \"email\": \"john@domain.com\",\r\n    \"password\": \"123456\",\r\n    \"type\": \"CUSTOMER\"\r\n}"},"url":"http://localhost:8080/library/api/users","urlObject":{"protocol":"http","port":"8080","path":["library","api","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"58b556ed-e999-468e-9016-4394c098be03"}],"id":"19c36c14-afaa-4ade-b42f-addf20da2c82","_postman_id":"19c36c14-afaa-4ade-b42f-addf20da2c82","description":""},{"name":"books","item":[{"name":"library/api/books","id":"17786e0f-292c-4881-9576-db80e8a42539","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/library/api/books","urlObject":{"protocol":"http","port":"8080","path":["library","api","books"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"17786e0f-292c-4881-9576-db80e8a42539"},{"name":"library/api/books/:id","id":"19d01be7-1fd2-417d-847b-bacc0b8c00b2","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/library/api/books/1","urlObject":{"protocol":"http","port":"8080","path":["library","api","books","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"19d01be7-1fd2-417d-847b-bacc0b8c00b2"},{"name":"library/api/books","id":"09d85ce1-6b36-4106-ba71-588bf4219ea5","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"title\": \"Clean Code: A Handbook of Agile Software Craftsmanship\",\r\n\t\"description\": \"Even bad code can function. But if code isn't clean, ...\",\r\n\t\"categoryId\": 1,\r\n\t\"authorsIds\": [2],\r\n\t\"price\": 35.06\r\n}"},"url":"http://localhost:8080/library/api/books","urlObject":{"protocol":"http","port":"8080","path":["library","api","books"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"09d85ce1-6b36-4106-ba71-588bf4219ea5"}],"id":"06790010-8839-4177-8505-e1be5c202b29","_postman_id":"06790010-8839-4177-8505-e1be5c202b29","description":""},{"name":"orders","item":[{"name":"library/api/orders","id":"644cf2e8-7857-46b1-9c23-fdf3ddce2d1c","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/library/api/orders","urlObject":{"protocol":"http","port":"8080","path":["library","api","orders"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"644cf2e8-7857-46b1-9c23-fdf3ddce2d1c"},{"name":"library/api/orders","id":"bb14b749-c253-4410-a46a-0a9f220a5095","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"bookId\": 1,\r\n            \"quantity\": 2\r\n        }\r\n    ]\r\n}"},"url":"http://localhost:8080/library/api/orders","urlObject":{"protocol":"http","port":"8080","path":["library","api","orders"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb14b749-c253-4410-a46a-0a9f220a5095"},{"name":"library/api/orders/:id","id":"e48b8e55-b318-41c2-b261-25d45b0c44c1","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": \"CANCELLED\"\r\n}"},"url":"http://localhost:8080/library/api/orders/3/status","urlObject":{"protocol":"http","port":"8080","path":["library","api","orders","3","status"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e48b8e55-b318-41c2-b261-25d45b0c44c1"}],"id":"ff80bdcd-6ea6-4abc-aaee-a1c0c0408695","_postman_id":"ff80bdcd-6ea6-4abc-aaee-a1c0c0408695","description":""},{"name":"logsaudit","item":[{"name":"library/api/logsaudit","id":"2d7de094-25ca-43c7-932c-bc72b5786aef","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/library/api/logsaudit","urlObject":{"protocol":"http","port":"8080","path":["library","api","logsaudit"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d7de094-25ca-43c7-932c-bc72b5786aef"}],"id":"dc3f23b0-b656-448e-9b7a-308b60d8d6e7","_postman_id":"dc3f23b0-b656-448e-9b7a-308b60d8d6e7","description":""}]}