{"info":{"_postman_id":"d5959310-9f81-4e7a-ab47-4ef8ace7885c","name":"Schedule API","description":"<html><head></head><body><p>각 API Description, Example 참고</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"44617331","collectionId":"d5959310-9f81-4e7a-ab47-4ef8ace7885c","publishedId":"2sB2jAaTUz","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-05-12T01:55:16.000Z"},"item":[{"name":"Create Todo","id":"00c7dcc0-31e4-4d50-9407-5756cc610116","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"todo\": \"7번입니다(writerId=1)\",\r\n    \"writerName\": \"비번5\",\r\n    \"password\": \"5\",\r\n    \"writerId\": \"1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/todos","description":"<p>요청</p>\n<ol>\n<li><p>일정 : String (필수, 1~200자)</p>\n</li>\n<li><p>작성자명 : String</p>\n</li>\n<li><p>비밀번호 : String (필수)</p>\n</li>\n<li><p>작성자 ID : Long</p>\n</li>\n</ol>\n<p>응답</p>\n<ol>\n<li><p>일정 ID : Long</p>\n</li>\n<li><p>일정 : String (1~200자)</p>\n</li>\n<li><p>작성자명 : String</p>\n</li>\n<li><p>작성자 ID : Long</p>\n</li>\n<li><p>작성일 : DateTime</p>\n</li>\n<li><p>변경일 : DateTime</p>\n</li>\n</ol>\n","urlObject":{"protocol":"http","port":"8080","path":["todos"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8a493f5c-be05-48dd-8efe-c1259701b0cb","name":"Create Todo","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"todo\": \"일정(필수, String 최대 200자)\",\r\n    \"writerName\": \"작성자명(String)\",\r\n    \"password\": \"5(필수, String)\",\r\n    \"writerId\": \"1(Long)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/todos"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"todoId\": \"자동 추가\"\r\n    \"todo\": \"할 일\",\r\n    \"writerName\": \"작성자명\",\r\n    \"writerId\": \"작성자 ID\",\r\n    \"createdAt\": \"작성일(요청시간)\",\r\n    \"updatedAt\": \"변경일(요청시간)\"\r\n}"}],"_postman_id":"00c7dcc0-31e4-4d50-9407-5756cc610116"},{"name":"Get TodoList","id":"f51b4e28-1c9c-4fa9-8801-8585f8e5bd92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/todos?page=1&size=3","description":"<p>요청</p>\n<p>Query Params: page, size, userId, date</p>\n<p>page(defaultValue = 1), size(defaultValue = 2),</p>\n<p>userId(required = false), date(required = false)</p>\n<p>응답</p>\n<p>일정 목록(각 일정의 구성은 위의 Create Todo 의 응답과 동일)</p>\n","urlObject":{"protocol":"http","port":"8080","path":["todos"],"host":["localhost"],"query":[{"key":"page","value":"1"},{"key":"size","value":"3"}],"variable":[]}},"response":[{"id":"cc32f535-ccc2-47b9-9141-c73c332b4cd7","name":"Get TodoList","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text","disabled":true}],"url":{"raw":"http://localhost:8080/todos?page=page&size=size&userId=id&date=updatedAt","protocol":"http","host":["localhost"],"port":"8080","path":["todos"],"query":[{"key":"page","value":"page"},{"key":"size","value":"size"},{"key":"userId","value":"id"},{"key":"date","value":"updatedAt"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        todo object 1\r\n    },\r\n    {\r\n        todo object 2\r\n    },\r\n    {\r\n        todo object 3\r\n    },\r\n    ...\r\n]"}],"_postman_id":"f51b4e28-1c9c-4fa9-8801-8585f8e5bd92"},{"name":"Get Todo","id":"a2a0201b-d644-4c07-8e1f-c6dc18ce4da9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/todos/3","description":"<p>요청</p>\n<p>PathVariable : todoId (일정 ID)</p>\n<p><a href=\"http://localhost:8080/todos/%7BtodoId%7D\">http://localhost:8080/todos/{todoId}</a></p>\n<p>응답</p>\n<ol>\n<li><p>일정 ID : Long</p>\n</li>\n<li><p>일정 : String (1~200자)</p>\n</li>\n<li><p>작성자 : String</p>\n</li>\n<li><p>작성자 ID : Long</p>\n</li>\n<li><p>작성일 : DateTime</p>\n</li>\n<li><p>변경일 : DateTime</p>\n</li>\n</ol>\n","urlObject":{"protocol":"http","port":"8080","path":["todos","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d1ba3c94-d626-4144-87d5-ca81782ccb83","name":"Get Todo","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text","disabled":true}],"url":"http://localhost:8080/todos/{todoId}"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"todoId\": \"url에 입력된 todoId\"\r\n    \"todo\": \"할 일\",\r\n    \"writerName\": \"작성자명\",\r\n    \"writerId\": \"작성자 ID\",\r\n    \"createdAt\": \"작성일\",\r\n    \"updatedAt\": \"변경일\"\r\n}"}],"_postman_id":"a2a0201b-d644-4c07-8e1f-c6dc18ce4da9"},{"name":"Update Todo","id":"51c6dfa9-aa25-4f9c-b6b1-171dbf8c4ca0","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"todo\": \"다시변경해봤습니다(writerId=1)\",\r\n    \"writerName\": \"비번2\",\r\n    \"password\": \"2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/todos/3","description":"<p>요청</p>\n<p>PathVariable : todoId (일정 ID)</p>\n<p><a href=\"http://localhost:8080/todos/%7BtodoId%7D\">http://localhost:8080/todos/{todoId}</a></p>\n<ol>\n<li><p>변경 일정</p>\n</li>\n<li><p>변경 작성자 이름</p>\n</li>\n<li><p>비밀번호 (필수)</p>\n</li>\n</ol>\n<p>응답</p>\n<ol>\n<li><p>일정 ID : Long</p>\n</li>\n<li><p>일정 : String (1~200자)</p>\n</li>\n<li><p>작성자 : String</p>\n</li>\n<li><p>작성자 ID : Long</p>\n</li>\n<li><p>작성일 : DateTime</p>\n</li>\n<li><p>변경일 : DateTime</p>\n</li>\n</ol>\n","urlObject":{"protocol":"http","port":"8080","path":["todos","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"717183a0-e058-4f03-bbf5-8fe7cec02dba","name":"Update Todo","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"todo\": \"할일(required = false)\",\r\n    \"writerName\": \"작성자명(required = false)\",\r\n    \"password\": \"비밀번호(필수)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/todos/{todoId}"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"todoId\": \"url에 입력된 todoId\"\r\n    \"todo\": \"(request에 todo가 있으면 수정된)할 일\",\r\n    \"writerName\": \"(request에 writerName이 있으면 수정된)작성자명\",\r\n    \"writerId\": \"기존 작성자 ID\"\r\n    \"createdAt\": \"작성일(변경없음)\",\r\n    \"updatedAt\": \"변경일(요청시간)\"\r\n}"},{"id":"83e2d437-be86-4c17-b02d-30d6d6ce11d0","name":"Update Todo","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"todo\": \"할 일\",\r\n    \"writerName\": \"작성자명\",\r\n    \"password\": \"비밀번호(틀렸을 경우)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/todos/{todoId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"error\": \"Password does not match\"\r\n}"}],"_postman_id":"51c6dfa9-aa25-4f9c-b6b1-171dbf8c4ca0"},{"name":"Delete Todo","id":"03901ee2-02db-44ce-8969-fc5f400d8b02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"5\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/todos/7","description":"<p>요청</p>\n<p>PathVariable : todoId (일정 ID)</p>\n<p><a href=\"http://localhost:8080/todos/%7BtodoId%7D\">http://localhost:8080/todos/{todoId}</a></p>\n<ol>\n<li>비밀번호 : String (필수)</li>\n</ol>\n","urlObject":{"protocol":"http","port":"8080","path":["todos","7"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5f9818ac-fc3d-4ef2-b114-8386a0f53c98","name":"Delete Todo","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"비밀번호\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/todos/{todoId}"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":""},{"id":"12ce3e48-9ea9-4318-b8d4-d7aab46c9947","name":"Delete Todo","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"비밀번호(불일치)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/todos/{todoId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"error\": \"Password does not match\"\r\n}"}],"_postman_id":"03901ee2-02db-44ce-8969-fc5f400d8b02"},{"name":"Register User","id":"5b39d7df-c15d-417f-aa28-8fc427cc10bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"비번5\",\r\n    \"email\": \"2@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/user","description":"<p>요청</p>\n<ol>\n<li><p>이름 : String(필수)</p>\n</li>\n<li><p>이메일 : String(Email 형식)</p>\n</li>\n</ol>\n<p>응답</p>\n<ol>\n<li><p>유저 ID : Long</p>\n</li>\n<li><p>이름 : String</p>\n</li>\n<li><p>이메일 : String</p>\n</li>\n<li><p>생성일 : DateTime</p>\n</li>\n<li><p>수정일 : DateTime</p>\n</li>\n</ol>\n","urlObject":{"protocol":"http","port":"8080","path":["user"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"67a6f7a0-6712-4d34-ac41-e8553a55ae51","name":"Register User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"유저이름(필수)\",\r\n    \"email\": \"이메일(이메일형식)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/user"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"userId\": \"자동생성 ID\",\r\n    \"name\": \"유저이름\",\r\n    \"email\": \"이메일\",\r\n    \"createdAt\": \"생성일(요청시간)\",\r\n    \"updatedAt\": \"수정일\"(요청시간)\"\r\n}"}],"_postman_id":"5b39d7df-c15d-417f-aa28-8fc427cc10bf"},{"name":"Get UserList","id":"783e7d78-92a6-43ef-b00e-59509547893b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/user","description":"<p>응답</p>\n<p>유저 목록 (각 유저의 구조는 Register User의 응답과 동일)</p>\n","urlObject":{"protocol":"http","port":"8080","path":["user"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4329a90e-6716-44b7-b87e-ab05c0a7ed05","name":"Get UserList","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/user"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        유저1\r\n    },\r\n    {\r\n        유저2\r\n    }\r\n    ...\r\n]"}],"_postman_id":"783e7d78-92a6-43ef-b00e-59509547893b"}]}