{"info":{"_postman_id":"ced3c830-7211-493b-b3a3-9a590c02c17d","name":"ClimbingWork","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"15520411","collectionId":"ced3c830-7211-493b-b3a3-9a590c02c17d","publishedId":"2s93m62hvR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-05-25T14:23:02.000Z"},"item":[{"name":"stadium","item":[{"name":"stadium 생성 (이미지포함)","id":"313f0c33-8ec3-47d8-a5b0-8d5b3b878b0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"values","value":"{\n    \"name\" : \"구로 윔블던 실내테니스장\",\n    \"content\" : \"2인, 4인 모두 됩니다\",\n    \"parking\" : 1,\n    \"rental\" : 1,\n    \"address\" : \"서울특별시 구로구 시흥대로 551 광희빌딩 지하1층\"\n}","type":"text","contentType":"application/json"},{"key":"single","type":"file","src":"/C:/Users/minbo/Desktop/이미지 모음/01 당신의 세계는 아직도 바다와 빗소리와 작약을 취급하는지.jpg"},{"key":"multis","type":"file","value":null,"disabled":true}]},"url":"localhost:8083/stadiums","urlObject":{"port":"8083","path":["stadiums"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"313f0c33-8ec3-47d8-a5b0-8d5b3b878b0e"},{"name":"stadium 전체조회","id":"e3e0b6cb-29c3-4ee4-9acb-9daebb0b2228","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8083/stadiums","urlObject":{"port":"8083","path":["stadiums"],"host":["localhost"],"query":[{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"name","value":"구로 윔블던 실내테니스장"},{"disabled":true,"key":"content","value":"2인, 4인 모두 됩니다"}],"variable":[]}},"response":[],"_postman_id":"e3e0b6cb-29c3-4ee4-9acb-9daebb0b2228"},{"name":"stadium 수정 (이미지포함)","id":"73b30582-bcfe-4224-ba13-32f415bc384e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"values","value":"{\n    \"name\": \"수정test\",\n    \"content\": \"2인 경기장만 있습니다\",\n    \"parking\": 0,\n    \"rental\": 1,\n    \"address\": \"경기도 용인시 수지구 풍덕천동 산13-2\"\n}","type":"text","contentType":"application/json"},{"key":"single","type":"file","value":null}]},"url":"localhost:8083/stadiums/41","urlObject":{"port":"8083","path":["stadiums","41"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"73b30582-bcfe-4224-ba13-32f415bc384e"},{"name":"stadium 상세조회","id":"f0c8288d-bb17-4f4d-8b70-1ffff1ce6e49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8083/stadiums/41","urlObject":{"port":"8083","path":["stadiums","41"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0c8288d-bb17-4f4d-8b70-1ffff1ce6e49"},{"name":"stadium 삭제","id":"acfa093d-aaa4-493b-bff6-443c916da3c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8083/stadiums/2","urlObject":{"port":"8083","path":["stadiums","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"acfa093d-aaa4-493b-bff6-443c916da3c7"}],"id":"40dd79b9-d969-464d-96d3-8caa76c27f81","_postman_id":"40dd79b9-d969-464d-96d3-8caa76c27f81","description":""},{"name":"match","item":[{"name":"match 생성","id":"5dc4a97f-0191-41bb-964a-8566b987aad8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"stadiumId\" : 41,\r\n    \"matchNum\" : 2,\r\n    \"matchGender\" : \"ALL\",\r\n    \"content\" : \"경기시작 3시간전에는 취소가 불가능합니다\",\r\n    \"startAt\" : \"2023-08-20\",\r\n    \"endAt\" : \"2023-08-25\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8083/matches","urlObject":{"port":"8083","path":["matches"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5dc4a97f-0191-41bb-964a-8566b987aad8"},{"name":"match 수정","id":"822eaf98-66a8-489f-835a-06f184f96bb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"stadiumId\" : 20,\r\n    \"matchNum\" : 2,\r\n    \"matchGender\" : \"ALL\",\r\n    \"content\" : \"경기시작 30분전에는 취소가 불가능합니다\",\r\n    \"startAt\" : \"2023-08-21\",\r\n    \"endAt\" : \"2023-08-22\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8083/matches/15","urlObject":{"port":"8083","path":["matches","15"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"822eaf98-66a8-489f-835a-06f184f96bb4"},{"name":"match 삭제","id":"cb5e8761-dcee-4c0d-b4f6-e10baceda007","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8083/matches/2","urlObject":{"port":"8083","path":["matches","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb5e8761-dcee-4c0d-b4f6-e10baceda007"},{"name":"match 전체조회","id":"3fa792c5-2b3c-4077-8619-e16a0de531d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8083/matches?matchDay=2023-08-01","urlObject":{"port":"8083","path":["matches"],"host":["localhost"],"query":[{"key":"matchDay","value":"2023-08-01"},{"disabled":true,"key":"matchStatus","value":"OPEN"},{"disabled":true,"key":"personnel","value":"2"},{"disabled":true,"key":"gender","value":"MALE"},{"disabled":true,"key":"stadiumName","value":"용인 윔블던 실내테니스장"},{"disabled":true,"description":{"content":"<p>설정안하면 기본0</p>\n","type":"text/plain"},"key":"page","value":"0"},{"disabled":true,"description":{"content":"<p>설정안하면 기본10</p>\n","type":"text/plain"},"key":"size","value":"30"}],"variable":[]}},"response":[],"_postman_id":"3fa792c5-2b3c-4077-8619-e16a0de531d6"}],"id":"ec3f8d82-a441-4c7d-9130-9cdba1df67c0","_postman_id":"ec3f8d82-a441-4c7d-9130-9cdba1df67c0","description":""},{"name":"member","item":[{"name":"로그인 및 인증 (토큰생성)","event":[{"listen":"test","script":{"id":"7f8a3826-639a-4933-a3a1-d82aca715a85","exec":["var jsonData = JSON.parse(responseBody)\r","pm.globals.set(\"jwt_token\", jsonData.token);\r","\r","\r","/*\r","    responsebody에 있는 내용을 파싱(parse)해서 \r","    포스트맨(pm)의 전역변수(globals)에 설정을 해서 임의로 만든 \"jwt_token\" 변수를 이용해서 토큰값을 끌어다 쓸수 있다. \r","*/\r",""],"type":"text/javascript","packages":{}}}],"id":"dd99e025-9682-4382-a862-fe1738bc8819","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\" : \"kmb1\",\r\n    \"password\" : \"kmb1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8083/api/auth/login","urlObject":{"port":"8083","path":["api","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd99e025-9682-4382-a862-fe1738bc8819"},{"name":"회원가입","id":"5baed8f7-e3fb-4bc8-bd83-ffd8201ae3e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\" : \"minbo2002@naver.com\",\r\n    \"password\" : \"minbo\",\r\n    \"nickname\" : \"닉네임1\",\r\n    \"gender\" : \"MALE\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8083/member/signup","urlObject":{"port":"8083","path":["member","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5baed8f7-e3fb-4bc8-bd83-ffd8201ae3e1"},{"name":"특정 유저정보 가져오기(ADMIN 권한필요)","id":"c3fff54a-5ca9-4ca1-b197-12617e0e8974","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8083/member/user/admin","urlObject":{"port":"8083","path":["member","user","admin"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3fff54a-5ca9-4ca1-b197-12617e0e8974"},{"name":"로그인한 유저정보 가져오기(USER, ADMIN 권한 둘다 가능)","id":"67d88aed-d9cb-46f6-a5a2-f6f945e5a1ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8083/member/user","urlObject":{"port":"8083","path":["member","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"67d88aed-d9cb-46f6-a5a2-f6f945e5a1ee"}],"id":"cabf3126-923e-40a5-a9d7-410fbb8dffff","_postman_id":"cabf3126-923e-40a5-a9d7-410fbb8dffff","description":""},{"name":"like","item":[{"name":"like 누르면 좋아요, 한번더누르면 삭제","id":"8f804c8d-ec96-4e0e-a100-f368a5f6cd4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"localhost:8083/like/stadium/47","urlObject":{"port":"8083","path":["like","stadium","47"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f804c8d-ec96-4e0e-a100-f368a5f6cd4a"}],"id":"38563a85-9e04-4289-90b8-76cb688f75c2","_postman_id":"38563a85-9e04-4289-90b8-76cb688f75c2","description":""},{"name":"reservation","item":[{"name":"reservation 생성","id":"6251afb4-84a7-4877-85d3-2d56389ad1c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"\r\n/* \r\n먼저 로그인 인증요청을 보내서 토큰을 얻은다음 \r\nRequest Header의 Authorization에다가 \"Bearer {토큰값}\" 형식으로 헤더에 포함시켜야한다. \r\n*/","options":{"raw":{"language":"json"}}},"url":"localhost:8083/reservations/7","urlObject":{"port":"8083","path":["reservations","7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6251afb4-84a7-4877-85d3-2d56389ad1c6"},{"name":"reservation 취소","id":"3ed79bcc-d31d-4ea8-9bba-39f0eac066b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"localhost:8083/reservations/4","urlObject":{"port":"8083","path":["reservations","4"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ed79bcc-d31d-4ea8-9bba-39f0eac066b3"}],"id":"c42cba56-98c1-4c47-85da-f6a165fa432a","_postman_id":"c42cba56-98c1-4c47-85da-f6a165fa432a","description":""},{"name":"review","item":[{"name":"review 생성","id":"2366cd9e-e43c-4d69-93a3-054d1e6109c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"score\" : 4,\r\n    \"content\" : \"최악의 매치였어요\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8083/reviews/5","urlObject":{"port":"8083","path":["reviews","5"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2366cd9e-e43c-4d69-93a3-054d1e6109c0"},{"name":"review 리스트","id":"e360f9bf-5cd6-471d-a9f6-ab8eb8289c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"matchId\" : 1,\r\n    \"memberId\" : 1,\r\n    \"content\" : \"좋은 경기시설이 갖춰져있네요\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8083/reviews","urlObject":{"port":"8083","path":["reviews"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e360f9bf-5cd6-471d-a9f6-ab8eb8289c67"},{"name":"review 상세","id":"d9a02f91-8025-4608-8b70-e270e8a5ffdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8083/reviews/4","urlObject":{"port":"8083","path":["reviews","4"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9a02f91-8025-4608-8b70-e270e8a5ffdd"},{"name":"리뷰 삭제","id":"e97e957c-71f1-436d-aabf-d4947f90bd33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"localhost:8083/reviews/9","urlObject":{"port":"8083","path":["reviews","9"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e97e957c-71f1-436d-aabf-d4947f90bd33"}],"id":"50fd7f57-0038-4a7b-b32b-02330d51d5fe","_postman_id":"50fd7f57-0038-4a7b-b32b-02330d51d5fe","description":""}]}