{"info":{"_postman_id":"e3c21e71-5902-48be-802d-4d88a5c8007e","name":"MARLIN","description":"<html><head></head><body><p>RESTful API developed for the hackathon called \"Hack the ocean\".</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10807232","collectionId":"e3c21e71-5902-48be-802d-4d88a5c8007e","publishedId":"UyxjFkx7","public":true,"customColor":{"top-bar":"303030","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-15T21:39:00.000Z"},"item":[{"name":"Post","item":[{"name":"Get post","id":"2d85d999-ea80-4794-8967-21c1534e893a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"rG1sPJtX3]0BUzV)-p@h]9Xp","type":"text"}],"url":"https://marlin-web-api.azurewebsites.net/api/post/?id=","description":"<p>Get all generated posts.</p>\n","urlObject":{"path":["api","post",""],"host":["https://marlin-web-api.azurewebsites.net"],"query":[{"description":{"content":"<p>number (optional)</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"2d85d999-ea80-4794-8967-21c1534e893a"},{"name":"Create post","id":"b8a5e91e-f8a0-48a4-8093-3d7472c3934e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"rG1sPJtX3]0BUzV)-p@h]9Xp","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"","description":"<p>string</p>\n","type":"text"},{"key":"title","value":"","description":"<p>string</p>\n","type":"text"},{"key":"description","value":"","description":"<p>string</p>\n","type":"text"},{"key":"beachName","value":"","description":"<p>string</p>\n","type":"text"},{"key":"fileName","value":"","description":"<p>string</p>\n","type":"text"}]},"url":"https://marlin-web-api.azurewebsites.net/api/post","description":"<p>Create a post with visual evidence.</p>\n","urlObject":{"path":["api","post"],"host":["https://marlin-web-api.azurewebsites.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8a5e91e-f8a0-48a4-8093-3d7472c3934e"}],"id":"9cc53151-0a11-422d-b2bc-2149841258c4","description":"<p>Post related requests.</p>\n","_postman_id":"9cc53151-0a11-422d-b2bc-2149841258c4"},{"name":"Image","item":[{"name":"Get image","id":"ce849d83-51c7-438f-b2b6-4ce1e97a3338","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"rG1sPJtX3]0BUzV)-p@h]9Xp","type":"text"}],"url":"https://marlin-web-api.azurewebsites.net/api/img/?fileName=","description":"<p>Get the Azure cloud image by filename.</p>\n","urlObject":{"path":["api","img",""],"host":["https://marlin-web-api.azurewebsites.net"],"query":[{"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"fileName","value":""}],"variable":[]}},"response":[],"_postman_id":"ce849d83-51c7-438f-b2b6-4ce1e97a3338"},{"name":"Upload image","id":"7579e56e-8536-4535-b920-34f64fd68975","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"rG1sPJtX3]0BUzV)-p@h]9Xp","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"imgFile","description":"<p>Buffer</p>\n","type":"file","value":null}]},"url":"https://marlin-web-api.azurewebsites.net/api/img","description":"<p>Upload image to Azure cloud.</p>\n","urlObject":{"path":["api","img"],"host":["https://marlin-web-api.azurewebsites.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"7579e56e-8536-4535-b920-34f64fd68975"}],"id":"981ca5a0-bd86-470c-a4ec-b77244d6b012","description":"<p>Image related requests.</p>\n","_postman_id":"981ca5a0-bd86-470c-a4ec-b77244d6b012"},{"name":"Beach","item":[{"name":"Get beach statistics","id":"84b091da-cf22-4b7e-95fc-f8376d6099bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"rG1sPJtX3]0BUzV)-p@h]9Xp","type":"text"}],"url":"https://marlin-web-api.azurewebsites.net/api/beach/statistics","description":"<p>Get the statistics of Mexico's beaches.</p>\n","urlObject":{"path":["api","beach","statistics"],"host":["https://marlin-web-api.azurewebsites.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"84b091da-cf22-4b7e-95fc-f8376d6099bb"},{"name":"Get beach","id":"d2e9c43e-f766-4acb-94a1-93dd82777509","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"rG1sPJtX3]0BUzV)-p@h]9Xp","type":"text"}],"url":"https://marlin-web-api.azurewebsites.net/api/beach?id=","description":"<p>Get the names of Mexican beaches.</p>\n","urlObject":{"path":["api","beach"],"host":["https://marlin-web-api.azurewebsites.net"],"query":[{"description":{"content":"<p>number (optional)</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"d2e9c43e-f766-4acb-94a1-93dd82777509"}],"id":"25904713-b2fb-4b3d-8982-425d6c6e9b2f","description":"<p>Beach related requests.</p>\n","_postman_id":"25904713-b2fb-4b3d-8982-425d6c6e9b2f"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"61d35a55-2b61-41e4-989d-147fafeb7903"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"2f17da07-11a0-459d-ade4-737c34855234"}}],"variable":[{"key":"local","value":"http://localhost:3000","type":"string"},{"key":"x-api-key","value":"rG1sPJtX3]0BUzV)-p@h]9Xp","type":"string"},{"key":"host","value":"https://marlin-web-api.azurewebsites.net","type":"string"}]}