{"info":{"_postman_id":"eb38300e-4fdd-4840-abf7-13de1d4b6b77","name":"New Collection","description":"<html><head></head><body><p>This is the API documentation to my sticky-notes-app</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"37801455","collectionId":"eb38300e-4fdd-4840-abf7-13de1d4b6b77","publishedId":"2sAXxJhEy2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-10-01T08:30:10.000Z"},"item":[{"name":"http://localhost:8080/api/notebook","id":"892f5bab-a62d-469e-87f5-7f451c13419e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/notebook","description":"<p>Endpoint to get all notes</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","notebook"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"892f5bab-a62d-469e-87f5-7f451c13419e"},{"name":"http://localhost:8080/api/notebook?id=1","id":"2bbf73f4-c63e-4eb3-b429-44f831f762db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/notebook?id=1","description":"<p>Endpoint to delete note by its id (currently not working, I can't find why)</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","notebook"],"host":["localhost"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"2bbf73f4-c63e-4eb3-b429-44f831f762db"},{"name":"http://localhost:8080/api/notebook","id":"92305019-3c96-4e8b-8628-bd9f3112353c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\n    \"content\": \"This is a sample note content for demonstration purposes.\",\n    \"color\": \"success\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/notebook","description":"<p>For adding a new note</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","notebook"],"host":["localhost"],"query":[{"disabled":true,"key":"id","value":"60"}],"variable":[]}},"response":[],"_postman_id":"92305019-3c96-4e8b-8628-bd9f3112353c"},{"name":"http://localhost:8080/api/notebook?id=60","id":"297fb2b5-f37a-4347-97a7-6d1cfc7bd89f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"content\": \"This is an updated note.\",\n    \"color\": \"warning\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/notebook?id=60","description":"<p>For updating a note</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","notebook"],"host":["localhost"],"query":[{"key":"id","value":"60"}],"variable":[]}},"response":[],"_postman_id":"297fb2b5-f37a-4347-97a7-6d1cfc7bd89f"}]}