{"info":{"_postman_id":"8435b5e0-0771-44b8-9f30-741acc6d3bc2","name":"LocalPP","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"8704749","collectionId":"8435b5e0-0771-44b8-9f30-741acc6d3bc2","publishedId":"SW7aZUNR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-11-21T18:00:58.000Z"},"item":[{"name":"https://park-pp.herokuapp.com/users/register ","id":"110fd991-3b71-40e0-b47b-80994cd97fef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t     \"name\": \"Ciriz\",\n\t     \"username\": \"Ciriz\",\n\t     \"password\": \"1234\",\n\t     \"email\": \"ciriz@ciri.com\"\n}"},"url":"https://park-pp.herokuapp.com/users/register","urlObject":{"protocol":"https","path":["users","register"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"110fd991-3b71-40e0-b47b-80994cd97fef"},{"name":"https://park-pp.herokuapp.com/users/login","id":"6f643e62-1a01-40a2-93bb-16a7c00804d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t   \n\t     \"username\": \"Ciriz\",\n\t     \"password\": \"1234\"\n\t     \n}"},"url":"https://park-pp.herokuapp.com/users/login","urlObject":{"protocol":"https","path":["users","login"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f643e62-1a01-40a2-93bb-16a7c00804d9"},{"name":"https://park-pp.herokuapp.com/users/list","id":"7e864da2-2543-4d21-ad56-c071686446a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0IjozNSwidXNlcm5hbWUiOiJDaXJpeiIsImlhdCI6MTU3NDM1NzU0NCwiZXhwIjoxNTc0NDQzOTQ0fQ.NbvnFkK26KMKyCxf-ymSRd4A6juIAYn97WqSpivrdio","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t  \n\t \n}"},"url":"https://park-pp.herokuapp.com/users/list","urlObject":{"protocol":"https","path":["users","list"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e864da2-2543-4d21-ad56-c071686446a3"},{"name":"https://park-pp.herokuapp.com/users/:id","id":"e12b40aa-51e6-4942-8e12-a26d0f8d140c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0IjozNSwidXNlcm5hbWUiOiJDaXJpeiIsImlhdCI6MTU3NDM1NzU0NCwiZXhwIjoxNTc0NDQzOTQ0fQ.NbvnFkK26KMKyCxf-ymSRd4A6juIAYn97WqSpivrdio","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t    \n\t \n}"},"url":"https://park-pp.herokuapp.com/users/1","urlObject":{"protocol":"https","path":["users","1"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e12b40aa-51e6-4942-8e12-a26d0f8d140c"},{"name":"https://park-pp.herokuapp.com/users/:id/ratings ","id":"51cfd69d-24e0-44e2-ac74-bc2ac1c7ba24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0IjozNSwidXNlcm5hbWUiOiJDaXJpeiIsImlhdCI6MTU3NDM1NzU0NCwiZXhwIjoxNTc0NDQzOTQ0fQ.NbvnFkK26KMKyCxf-ymSRd4A6juIAYn97WqSpivrdio","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t     \n}"},"url":"https://park-pp.herokuapp.com/users/1/ratings","urlObject":{"protocol":"https","path":["users","1","ratings"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"51cfd69d-24e0-44e2-ac74-bc2ac1c7ba24"},{"name":"https://park-pp.herokuapp.com/parks/:id","id":"48ffc656-31a4-4ff9-9ab1-cea3f39cd6c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0IjozNSwidXNlcm5hbWUiOiJDaXJpeiIsImlhdCI6MTU3NDM1NzU0NCwiZXhwIjoxNTc0NDQzOTQ0fQ.NbvnFkK26KMKyCxf-ymSRd4A6juIAYn97WqSpivrdio","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t\"name\": \"Botanic Gardens\",\n    \"city\": \"Belfast\",\n    \"country\": \"Northern Ireland\",\n    \"description\": \"A very popular park beside the Ulster Museum. Everyone should visit at least once!\"\n\t \n}"},"url":"https://park-pp.herokuapp.com/parks/1","urlObject":{"protocol":"https","path":["parks","1"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"48ffc656-31a4-4ff9-9ab1-cea3f39cd6c0"},{"name":"https://park-pp.herokuapp.com/parks/:id","id":"4f8e99e9-6512-4316-b89b-f6dcec757a2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0IjoxNSwidXNlcm5hbWUiOiJDaXJpIiwiaWF0IjoxNTc0MzI1OTY4LCJleHAiOjE1NzQ0MTIzNjh9.mDhZ_BYdFejwHeVasOiaibXsrIpm-M2HJzcEcRdQKKs","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t  \n    \n\t \n}"},"url":"https://park-pp.herokuapp.com/parks/123","urlObject":{"protocol":"https","path":["parks","123"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f8e99e9-6512-4316-b89b-f6dcec757a2b"},{"name":"https://park-pp.herokuapp.com/parks ","id":"d5056a83-8131-43da-9431-be75e5c1421b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t \n}"},"url":"https://park-pp.herokuapp.com/parks","urlObject":{"protocol":"https","path":["parks"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5056a83-8131-43da-9431-be75e5c1421b"},{"name":"https://park-pp.herokuapp.com/parks ","id":"589ddbdc-3fc7-417e-8e0f-66f60d936805","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t  \n        \"name\": \"A new park\",\n        \"description\": \"Lots of space\",\n        \"city\": \"Dublin\",\n        \"country\": \"Ireland\"\n     \n    \n\t \n}"},"url":"https://park-pp.herokuapp.com/parks","urlObject":{"protocol":"https","path":["parks"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"589ddbdc-3fc7-417e-8e0f-66f60d936805"},{"name":"https://park-pp.herokuapp.com/parks/:id/facilities ","id":"81d478f5-27d1-400c-896b-6de619d923e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t  \n     \n    \n\t \n}"},"url":"https://park-pp.herokuapp.com/parks/1/facilities","urlObject":{"protocol":"https","path":["parks","1","facilities"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"81d478f5-27d1-400c-896b-6de619d923e9"},{"name":"https://park-pp.herokuapp.com/parks/facilities ","id":"3b3712e9-5531-49db-95b0-f712147a98d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t  \n     \n    \n\t \n}"},"url":"https://park-pp.herokuapp.com/parks/facilities","description":"<p>Retrieve all 10 facilities</p>\n","urlObject":{"protocol":"https","path":["parks","facilities"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b3712e9-5531-49db-95b0-f712147a98d8"},{"name":"https://park-pp.herokuapp.com/parks/:id ","id":"b8c6e963-b271-435f-bd12-35dc66d763ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t  \n   \n     \n    \n\t \n}"},"url":"https://park-pp.herokuapp.com/parks/1","urlObject":{"protocol":"https","path":["parks","1"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8c6e963-b271-435f-bd12-35dc66d763ff"},{"name":"https://park-pp.herokuapp.com/parks/:id/ratings ","id":"c99f294b-df8c-4827-a37b-8217121b9e2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\n     \n    \n\t \n}"},"url":"https://park-pp.herokuapp.com/parks/1/ratings","description":"<p>Get the ratings for a particular park by id.</p>\n","urlObject":{"protocol":"https","path":["parks","1","ratings"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c99f294b-df8c-4827-a37b-8217121b9e2d"},{"name":"https://park-pp.herokuapp.com/users/list/demo ","id":"1a7512f4-e33b-4867-8b93-8d627f48438e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\n     \n    \n\t \n}"},"url":"https://park-pp.herokuapp.com/users/list/demo","description":"<p>Public list of users for demo purposes</p>\n","urlObject":{"protocol":"https","path":["users","list","demo"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a7512f4-e33b-4867-8b93-8d627f48438e"},{"name":"https://park-pp.herokuapp.com/users/:id/demo ","id":"a0a8de28-8884-443b-a9c4-31e412869c79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\n     \n    \n\t \n}"},"url":"https://park-pp.herokuapp.com/users/1/demo","description":"<p>User by id for demo purposes</p>\n","urlObject":{"protocol":"https","path":["users","1","demo"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0a8de28-8884-443b-a9c4-31e412869c79"},{"name":"https://park-pp.herokuapp.com/users/:id/demo/ratings ","id":"cc4b1185-da39-4473-9a9b-2763881e6f23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\n     \n    \n\t \n}"},"url":"https://park-pp.herokuapp.com/users/1/demo/ratings","description":"<p>Ratings by user id for demo purposes</p>\n","urlObject":{"protocol":"https","path":["users","1","demo","ratings"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc4b1185-da39-4473-9a9b-2763881e6f23"},{"name":"https://park-pp.herokuapp.com/parks/:id ","id":"f145c812-d30f-4756-aad4-df4eb3781d9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0IjoxNSwidXNlcm5hbWUiOiJDaXJpIiwiaWF0IjoxNTc0MzI1OTY4LCJleHAiOjE1NzQ0MTIzNjh9.mDhZ_BYdFejwHeVasOiaibXsrIpm-M2HJzcEcRdQKKs","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t \"property_id\": 1\n\t \n}"},"url":"https://park-pp.herokuapp.com/parks/1","description":"<p>Add facilities to a particular park with property_id</p>\n","urlObject":{"protocol":"https","path":["parks","1"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f145c812-d30f-4756-aad4-df4eb3781d9a"},{"name":"https://park-pp.herokuapp.com/parks/:id/ratings","id":"591d8b6e-bb90-47f4-a166-7bc9ef8e426a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0IjoxNSwidXNlcm5hbWUiOiJDaXJpIiwiaWF0IjoxNTc0MzI1OTY4LCJleHAiOjE1NzQ0MTIzNjh9.mDhZ_BYdFejwHeVasOiaibXsrIpm-M2HJzcEcRdQKKs","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t \"comment\": \"the best park\",\n\t \"rating\": 5\n\t \n}"},"url":"https://park-pp.herokuapp.com/parks/1/ratings","urlObject":{"protocol":"https","path":["parks","1","ratings"],"host":["park-pp","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"591d8b6e-bb90-47f4-a166-7bc9ef8e426a"}]}