{"info":{"_postman_id":"fd6fe49d-a9da-40c6-ae9e-c1923921467b","name":"News Feed: 직관 메이트 만들기","description":"<html><head></head><body><p>StartFragment우리나라에서 가장 경기 관람 인원이 많은 스포츠인 야구. 혼자 관람하고 싶지 않은 날 경기를 함께 볼 사람을 구하는 웹사이트와 피드를 제작하고자 합니다.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30872807","collectionId":"fd6fe49d-a9da-40c6-ae9e-c1923921467b","publishedId":"2s9YeA8tsi","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-11-21T03:05:01.000Z"},"item":[{"name":"회원가입","id":"ff99cc21-f3e8-45a2-924f-160633a4858a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"abcd123\",\r\n    \"password\": \"123456\",   \r\n    \"team\": \"KIA\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/users","description":"<ul>\n<li><p>user_id와 user_password를 전달받기</p>\n</li>\n<li><p>user_id: 최소 4자 최대 10자이며, 알파벳 소문자(a~z)와 숫자(0~9)로 구성</p>\n</li>\n<li><p>user_password: 최소 8자 최대 15자, 알파벳 대소문자(a~z, A~Z), 숫자(0~9)로 구성되어야 한다.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8080","path":["api","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3d69f80d-bc20-4032-bf38-f246ba4b5e70","name":"회원가입","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"username\",\r\n    \"password\": \"pw\",\r\n    \"team\": \"team\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/users/signup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"msg\": \"회원가입 성공\",\r\n    \"statusCode\": 201\r\n}"}],"_postman_id":"ff99cc21-f3e8-45a2-924f-160633a4858a"},{"name":"로그인","id":"5365bd84-002d-4bd7-b08e-b30aec24917d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"username\",\r\n    \"password\": \"pw\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/users/login","description":"<ul>\n<li>user_id와 user_password를 이용하여 로그인</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8080","path":["api","users","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5e4d76e3-dcd0-45a2-a528-457489c02477","name":"로그인","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"username\",\r\n    \"password\": \"pw\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/users/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"msg\": \"로그인 성공\",\r\n    \"statusCode\": 200\r\n}"}],"_postman_id":"5365bd84-002d-4bd7-b08e-b30aec24917d"},{"name":"로그아웃","id":"6b7476f8-a1fd-453c-84cd-e55976fe71d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer","type":"text"}],"url":"http://localhost:8080/api/users/logout","description":"<p>서비스에서 로그아웃할 수 있음</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","users","logout"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b7476f8-a1fd-453c-84cd-e55976fe71d4"},{"name":"프로필 수정","id":"4a45addd-75c1-4e77-b8ca-3daf6ece26e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"id\",\r\n    \"username\": \"name\",\r\n    \"password\": \"newpw\",\r\n    \"checkPassword\": \"newpw\",\r\n    \"team\": \"team\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/users/{id}","description":"<p>자신의 프로필에서 활동명, 응원하는 팀을 소개하는 바이오를 수정할 수 있음</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","users","{id}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cd28b7a4-23d8-40e0-9b5a-9f13132bd75a","name":"프로필 수정","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"1\",\r\n    \"username\": \"name\",\r\n    \"password\": \"newpw\",\r\n    \"newPassword\": \"newpw\",\r\n    \"team\": \"SSG\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/users/{id}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"프로필 수정 성공\"\r\n}"}],"_postman_id":"4a45addd-75c1-4e77-b8ca-3daf6ece26e8"},{"name":"프로필 조회","id":"2a23c2bc-1dc1-45a6-b8c2-9215155adb95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/users/{id}","description":"<p>자신의 프로필을 확인할 수 있음</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","users","{id}"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a23c2bc-1dc1-45a6-b8c2-9215155adb95"},{"name":"피드 작성","id":"f2df7990-162c-4ef4-9260-0fbb7a993439","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"id\",\r\n    \"category\": \"team\",\r\n    \"title\": \"title\",\r\n    \"content\": \"content\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/feed","description":"<ul>\n<li>게시글 제목, 게시글 내용, 경기 구단, 경기장, 경기 날짜, 경기 시각, 작성자, 작성일 정보를 저장할 수 있다.</li>\n<li>위 내용을 저장하고 저장된 게시글의 정보를 Client로 반환한다.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8080","path":["api","feed"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2df7990-162c-4ef4-9260-0fbb7a993439"},{"name":"피드 조회","id":"f82f8428-fb1c-4b15-92dd-57eba5e1ec60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/feed/{postId}","description":"<ul>\n<li>작성한 게시 조회</li>\n<li>게시글에는 게시글 제목, 게시글 내용, 경기 구단, 경기장, 경기 날짜, 경기 시각, 작성자, 작성일 정보가 포함되어 있다.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8080","path":["api","feed","{postId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f82f8428-fb1c-4b15-92dd-57eba5e1ec60"},{"name":"피드 전체 조회","id":"6737e5f8-4148-4f33-bed7-420b01ad9580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/feed","description":"<p>올라온 게시물들을 전체 조회할 수 있음</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","feed"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6737e5f8-4148-4f33-bed7-420b01ad9580"},{"name":"피드 구단 별 조회","id":"300d2446-3063-4a0a-a3b2-e3569a7cf073","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/feed/{category}","urlObject":{"protocol":"http","port":"8080","path":["api","feed","{category}"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"300d2446-3063-4a0a-a3b2-e3569a7cf073"},{"name":"피드 수정","id":"513bffa5-0fd2-4354-b578-696437ec1802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"updated_title\",\r\n    \"team\": \"updated_team\",\r\n    \"content\": \"updated_content\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/feed/{postId}","description":"<ul>\n<li><p>작성한 게시글의 내용을 수정할 수 있다.</p>\n</li>\n<li><p>로그인 정보를 통해 작성자 본인의 게시글만 수정 가능하도록 한다.</p>\n</li>\n<li><p>수정된 게시글 정보가 Client로 반환된다.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8080","path":["api","feed","{postId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"513bffa5-0fd2-4354-b578-696437ec1802"},{"name":"피드 삭제","id":"f2f909b3-3e11-4f71-8ca7-0a18777f0e35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer","type":"text"}],"url":"http://localhost:8080/api/feed/{post_id}","description":"<p>작성한 글을 삭제할 수 있음</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","feed","{post_id}"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2f909b3-3e11-4f71-8ca7-0a18777f0e35"}]}