{"info":{"_postman_id":"20c04779-dbfc-4e2c-9a34-901b8ddd6330","name":"yogimukja","description":"<html><head></head><body><p>위치 기반 맛집 추천 서비스 '요기먹자' 백엔드 API</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31325959","collectionId":"20c04779-dbfc-4e2c-9a34-901b8ddd6330","publishedId":"2sAXxLCEcn","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-10-03T13:50:36.000Z"},"item":[{"name":"auth","item":[{"name":"로그인","event":[{"listen":"test","script":{"id":"e8afce8c-7635-4307-a497-58871803448d","exec":["// JSON response에서 access token을 추출하여 환경 변수에 저장","const jsonData = pm.response.json();","pm.collectionVariables.set(\"accessToken\", jsonData.accessToken);"],"type":"text/javascript","packages":{}}}],"id":"84516c8d-7737-4e0b-a9db-d20d486ff0af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"stringbuckwheat\",\n    \"password\": \"password1234!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/login","description":"<p>로그인</p>\n<p>성공 시 access token과 함께 간단한 사용자 정보를 반환</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"acdb322b-d2b8-4c71-b19c-ce45fdb0b00e","name":"성공","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"stringbuckwheat\",\n    \"password\": \"password1234!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Set-Cookie","value":"REFRESH_TOKEN=5079deae-fc44-44d3-80a9-9a179746f4a7; Path=/; Max-Age=14400; Expires=Thu, 03 Oct 2024 17:47:15 GMT; HttpOnly; SameSite=Strict"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 13:47:15 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzdHJpbmdidWNrd2hlYXQiLCJhdWQiOjUsImlzcyI6InNrZWxldG9uIiwiZXhwIjoxNzI3OTY0MTM1fQ.Au_f--olkNvZnwLeVu6d9IbTsiPmleMrp8La-mEK8_U\",\n    \"name\": \"메밀\",\n    \"lunchRecommendationEnabled\": true\n}"},{"id":"1c4288dc-9293-47a4-ac26-5d3649b9800a","name":"실패","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"stringbuckwhea\",\n    \"password\": \"password1234!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/login"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 13:51:13 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"아이디를 확인해주세요\"\n}"}],"_postman_id":"84516c8d-7737-4e0b-a9db-d20d486ff0af"},{"name":"액세스 토큰 재발급","event":[{"listen":"test","script":{"id":"f9f2ab46-a438-4605-9785-09026f4a75a7","exec":["const res = pm.response.text();","pm.collectionVariables.set(\"accessToken\", res);"],"type":"text/javascript","packages":{}}}],"id":"ede85248-30f8-46e3-804c-eab29b9f1723","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/token","description":"<p>Silent Refresh용 엔드포인트</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","token"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"64791031-8f4a-4b8c-b0a1-ae8485e6f1b8","name":"액세스 토큰 재발급","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"text/plain;charset=UTF-8"},{"key":"Content-Length","value":"155"},{"key":"Date","value":"Thu, 03 Oct 2024 13:51:41 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzdHJpbmdidWNrd2hlYXQiLCJhdWQiOjUsImlzcyI6InNrZWxldG9uIiwiZXhwIjoxNzI3OTY0NDAxfQ.ackxenW7o9_4YZ6-DPuzRQuamXdnkvmSInutIdbn1tM"}],"_postman_id":"ede85248-30f8-46e3-804c-eab29b9f1723"},{"name":"로그아웃","id":"d98b9d4d-ef74-47d8-8e7d-e214077cf5ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"http://localhost:8080/api/logout","description":"<p>로그아웃</p>\n<p>Redis, Cookie에서 Refresh Token 삭제</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","logout"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d98b9d4d-ef74-47d8-8e7d-e214077cf5ef"}],"id":"f7e9b593-762b-4c28-ab77-0c285d09c94f","description":"<p>인증 관련 API</p>\n","_postman_id":"f7e9b593-762b-4c28-ab77-0c285d09c94f"},{"name":"user","item":[{"name":"아이디 중복 검사","event":[{"listen":"test","script":{"id":"d351f3a7-71ec-4512-bae5-ea684853db98","exec":[""],"type":"text/javascript","packages":{}}}],"id":"ad2998f0-7ca5-422a-9e30-3d9a90b06e27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"username234","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user/username","description":"<p>아이디 중복 시 HasSameUsernameException(CONFLICT) 발생</p>\n<p>유효한 아이디라면, 해당 아이디 반환</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","user","username"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"06e4e860-8382-4e65-905b-51431e4a7f84","name":"아이디 중복 검사","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"username234","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user/username"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"text/plain;charset=UTF-8"},{"key":"Content-Length","value":"11"},{"key":"Date","value":"Thu, 03 Oct 2024 13:44:48 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"username234"}],"_postman_id":"ad2998f0-7ca5-422a-9e30-3d9a90b06e27"},{"name":"회원가입","event":[{"listen":"test","script":{"id":"d351f3a7-71ec-4512-bae5-ea684853db98","exec":["// JSON response에서 access token을 추출하여 환경 변수에 저장","const jsonData = pm.response.json();","pm.collectionVariables.set(\"accessToken\", jsonData.accessToken);"],"type":"text/javascript","packages":{}}}],"id":"b8182a14-931e-4f9f-b785-38f2a9844e9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"stringbuckwheat\",\n    \"password\": \"password1234!\",\n    \"name\": \"메밀\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user","description":"<p>아이디: 3자 이상, 20자 이하</p>\n<p>비밀번호: 8자 이상, 숫자, 문자, 특수문자 모두 포함</p>\n<p>이름: 비워둘 수 없음</p>\n<p>성공 시 Access Token 함께 반환</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0ae2586f-7b9a-466b-be58-56d4302b79d9","name":"성공","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"testuser\",\n    \"password\": \"password1234!\",\n    \"name\": \"메밀\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Set-Cookie","value":"REFRESH_TOKEN=aece7a76-3287-4a78-8459-0374e8edd1d2; Path=/; Max-Age=14400; Expires=Thu, 03 Oct 2024 17:52:48 GMT; HttpOnly; SameSite=Strict"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 13:52:48 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0dXNlciIsImF1ZCI6MjYsImlzcyI6InNrZWxldG9uIiwiZXhwIjoxNzI3OTY0NDY4fQ.xLH_CvS6IsGM__e73hZaukcKejqk6mhd0oFJZejmcFI\",\n    \"name\": \"메밀\",\n    \"lunchRecommendationEnabled\": false\n}"},{"id":"8823b0a3-246d-490a-b1b0-043923f2f504","name":"아이디 중복","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"stringbuckwheat\",\n    \"password\": \"password1234!\",\n    \"name\": \"메밀\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 13:52:15 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"stringbuckwheat은/는 이미 사용중인 아이디입니다.\"\n}"},{"id":"98a91001-6dce-494e-a388-228d8f8e02e8","name":"아이디 유효성 X","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"s\",\n    \"password\": \"password1234!\",\n    \"name\": \"메밀\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 13:55:16 GMT"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"아이디는 3자 이상 20자 이하여야 합니다.\"\n}"},{"id":"4095dab2-9ffa-4046-8d5f-43e90cc4e021","name":"비밀번호 유효성 X","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"stringbuckwheat\",\n    \"password\": \"pass\",\n    \"name\": \"메밀\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 13:54:42 GMT"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"비밀번호는 숫자, 문자, 특수문자(!@#$%^&*+=())를 모두 포함해야합니다.\"\n}"},{"id":"d5c0f1ba-fbff-4519-a1fe-e80280cff787","name":"이름 유효성 X","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"stringbuckwheat\",\n    \"password\": \"password1234!\",\n    \"name\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 13:56:10 GMT"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"이름은 비워둘 수 없습니다.\"\n}"}],"_postman_id":"b8182a14-931e-4f9f-b785-38f2a9844e9c"},{"name":"점심 추천 상태 업데이트","id":"859db019-d148-4c90-adf9-f23a0db70e9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"webHookUrl\": \"secret\",\n    \"latitude\": 37.5136,\n    \"longitude\": 126.89354\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user/lunch","description":"<p>Discord Webhook Url과 위도, 경도</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","user","lunch"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"859db019-d148-4c90-adf9-f23a0db70e9f"},{"name":"사용자 정보 수정","id":"44a6f661-235f-4a8b-8d88-7c8815bf00d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"사용자 이름 수정\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user","description":"<p>수정 가능한 값: 이름</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0c8ecfb6-140e-4784-9544-67c9f0a811a5","name":"성공","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"사용자 이름 수정\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:11:09 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"username\": \"username1\",\n    \"name\": \"사용자 이름 수정\",\n    \"latitude\": 37.5136,\n    \"longitude\": 126.89354,\n    \"webHookUrl\": \"secret\"\n}"},{"id":"10f00c77-bc8e-4648-85d6-b055e8630e41","name":"유효성 검사 X","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:03:25 GMT"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"이름은 비워둘 수 없습니다.\"\n}"}],"_postman_id":"44a6f661-235f-4a8b-8d88-7c8815bf00d3"},{"name":"사용자 상세 정보","id":"7d964dcb-227c-4d2b-a7a0-91d31ea92025","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/user","description":"<p>사용자 상세 정보 조회</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"29abc272-41a6-4845-9ea9-d7c6c41a4cfc","name":"사용자 상세 정보","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:11:30 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"username\": \"username1\",\n    \"name\": \"사용자 이름 수정\",\n    \"latitude\": 37.5136,\n    \"longitude\": 126.89354,\n    \"webHookUrl\": \"secret\"\n}"}],"_postman_id":"7d964dcb-227c-4d2b-a7a0-91d31ea92025"},{"name":"탈퇴","id":"97220f16-7fb4-4a7d-913f-1dc31c9735af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/user","urlObject":{"protocol":"http","port":"8080","path":["api","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"97220f16-7fb4-4a7d-913f-1dc31c9735af"}],"id":"4abddbaa-27dd-434d-9c2b-e690ccb6a4b3","description":"<p>사용자 관련 API</p>\n","_postman_id":"4abddbaa-27dd-434d-9c2b-e690ccb6a4b3"},{"name":"restaurant","item":[{"name":"식당 상세 정보","id":"5a7dc61c-3443-4122-bb8c-5d1af5981a11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/restaurant/1","urlObject":{"protocol":"http","port":"8080","path":["api","restaurant","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"042ac4b6-e071-4134-b239-74111a95d605","name":"식당 상세정보","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/restaurant/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:04:32 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"준포(Pho)\",\n    \"address\": \"서울특별시 강동구 고덕로10길 22, 1층 101호 (암사동)\",\n    \"latitude\": 37.553753343894925,\n    \"longitude\": 127.12984286335431,\n    \"type\": \"세계음식\",\n    \"rate\": null,\n    \"reviewCount\": 0,\n    \"distance\": null\n}"}],"_postman_id":"5a7dc61c-3443-4122-bb8c-5d1af5981a11"},{"name":"근처의 최근 인기 맛집","id":"92fae957-3ef9-4626-af80-784478f4e1c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/restaurant/popular?latitude=37.5136&longitude=126.89354","description":"<p>현재 위도, 경도 정보를 통해 거리도 계산</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","restaurant","popular"],"host":["localhost"],"query":[{"key":"latitude","value":"37.5136"},{"key":"longitude","value":"126.89354"}],"variable":[]}},"response":[{"id":"44f21657-b301-4f81-ab0f-d624c6cf248e","name":"근처의 최근 인기 맛집","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/restaurant/popular?latitude=37.5136&longitude=126.89354","protocol":"http","host":["localhost"],"port":"8080","path":["api","restaurant","popular"],"query":[{"key":"latitude","value":"37.5136"},{"key":"longitude","value":"126.89354"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:11:50 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 65386,\n        \"name\": \"양키통닭\",\n        \"address\": \"서울특별시 영등포구 도림로139길 13, 1층, 2층 (문래동2가)\",\n        \"latitude\": 37.51366217654303,\n        \"longitude\": 126.8927609960575,\n        \"type\": \"치킨\",\n        \"rate\": 4,\n        \"reviewCount\": 4,\n        \"distance\": 3756\n    },\n    {\n        \"id\": 92344,\n        \"name\": \"타코 비리아\",\n        \"address\": \"서울특별시 영등포구 도림로139길 11-1, 1층 103,104호 (문래동2가)\",\n        \"latitude\": 37.51377599229811,\n        \"longitude\": 126.8929879698145,\n        \"type\": \"세계음식\",\n        \"rate\": 4,\n        \"reviewCount\": 10,\n        \"distance\": 3772\n    },\n    {\n        \"id\": 63795,\n        \"name\": \"로라멘\",\n        \"address\": \"서울특별시 영등포구 도림로131길 17, 1층 (문래동2가)\",\n        \"latitude\": 37.51398143542949,\n        \"longitude\": 126.89376633730689,\n        \"type\": \"기타\",\n        \"rate\": 3,\n        \"reviewCount\": 7,\n        \"distance\": 3809\n    },\n    {\n        \"id\": 65973,\n        \"name\": \"몽밀(mongmil)\",\n        \"address\": \"서울특별시 영등포구 도림로125길 34, 1층 (문래동2가)\",\n        \"latitude\": 37.51325719491415,\n        \"longitude\": 126.89309028857417,\n        \"type\": \"돈까스/회/일식\",\n        \"rate\": 3,\n        \"reviewCount\": 9,\n        \"distance\": 3718\n    },\n    {\n        \"id\": 89558,\n        \"name\": \"고트델리 문래(GOATT DELI 문래)\",\n        \"address\": \"서울특별시 영등포구 도림로139길 14, 2,3층 (문래동2가)\",\n        \"latitude\": 37.513799756469275,\n        \"longitude\": 126.89246428444298,\n        \"type\": \"기타\",\n        \"rate\": 3,\n        \"reviewCount\": 10,\n        \"distance\": 3766\n    },\n    {\n        \"id\": 150181,\n        \"name\": \"그믐족발\",\n        \"address\": \"서울특별시 영등포구 경인로79길 21, 1층 (문래동2가)\",\n        \"latitude\": 37.51352099281821,\n        \"longitude\": 126.89307540796464,\n        \"type\": \"한식\",\n        \"rate\": 3,\n        \"reviewCount\": 1,\n        \"distance\": 3746\n    }\n]"}],"_postman_id":"92fae957-3ef9-4626-af80-784478f4e1c2"},{"name":"맛집 지역별 검색","id":"52e808dd-6173-48f8-8fa6-06d6b8b3c66d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/restaurant/region/3160000?latitude=37.5136&longitude=126.89354","description":"<p>PathVariable로 지역 코드</p>\n<p>QueryParam으로 보낸 위도, 경도를 통해 현 위치로부터의 거리도 함께 계산</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","restaurant","region","3160000"],"host":["localhost"],"query":[{"key":"latitude","value":"37.5136"},{"key":"longitude","value":"126.89354"}],"variable":[]}},"response":[],"_postman_id":"52e808dd-6173-48f8-8fa6-06d6b8b3c66d"},{"name":"맛집 리스트(반경/검색 등)","id":"819eadc5-0378-4e83-be33-82ee88ee2b60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/restaurant?latitude=37.5136&longitude=126.89354&range=1000&sort=distance&search=떡볶이&type=bunsik","description":"<p>현재 위, 경도에서 range(m 단위) 거리 범위 내</p>\n<p>상호명에 'search'가 들어가는</p>\n<p>'type' 업종의 식당을 sort로 정렬</p>\n<p>sort: distance, rating</p>\n<p>type: 한식, 분식, 양식/경양식, 돈까스/회/일식, 치킨, 피자 등</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","restaurant"],"host":["localhost"],"query":[{"key":"latitude","value":"37.5136"},{"key":"longitude","value":"126.89354"},{"key":"range","value":"1000"},{"key":"sort","value":"distance"},{"key":"search","value":"떡볶이"},{"key":"type","value":"bunsik"}],"variable":[]}},"response":[{"id":"b0bf040f-e938-404b-b466-59a096fd2388","name":"맛집 리스트(반경/검색 등)","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/restaurant?latitude=37.5136&longitude=126.89354&range=500&sort=distance&type=bunsik","protocol":"http","host":["localhost"],"port":"8080","path":["api","restaurant"],"query":[{"key":"latitude","value":"37.5136"},{"key":"longitude","value":"126.89354"},{"key":"range","value":"500"},{"key":"sort","value":"distance"},{"key":"search","value":"스시","disabled":true},{"key":"type","value":"japanese","disabled":true},{"key":"type","value":"bunsik"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:12:43 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 112749,\n        \"name\": \"문래방아\",\n        \"address\": \"서울특별시 영등포구 도림로125길 34 (문래동2가)\",\n        \"latitude\": 37.51325719491415,\n        \"longitude\": 126.89309028857417,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 55\n    },\n    {\n        \"id\": 65804,\n        \"name\": \"디럭스상회\",\n        \"address\": \"서울특별시 영등포구 도림로139길 17-3, 1층 (문래동2가)\",\n        \"latitude\": 37.51343964286897,\n        \"longitude\": 126.89282788055748,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 65\n    },\n    {\n        \"id\": 21733,\n        \"name\": \"카드분식\",\n        \"address\": \"서울특별시 영등포구 도림로141길 18 (문래동4가)\",\n        \"latitude\": 37.5139707642763,\n        \"longitude\": 126.89186089768113,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 153\n    },\n    {\n        \"id\": 63324,\n        \"name\": \"문뜩\",\n        \"address\": \"서울특별시 영등포구 당산로 8-8, 1층 (문래동3가)\",\n        \"latitude\": 37.515223976780526,\n        \"longitude\": 126.8944048424899,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 196\n    },\n    {\n        \"id\": 3921,\n        \"name\": \"에이프클럽 떡볶이(Ape club 떡볶이)\",\n        \"address\": \"서울특별시 영등포구 당산로 6-1, 1층 (문래동3가)\",\n        \"latitude\": 37.515315770338844,\n        \"longitude\": 126.89431928246356,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 202\n    },\n    {\n        \"id\": 110790,\n        \"name\": \"기사분식\",\n        \"address\": \"서울특별시 영등포구 경인로 718 (문래동1가)\",\n        \"latitude\": 37.511591456187524,\n        \"longitude\": 126.89361894045804,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 223\n    },\n    {\n        \"id\": 2839,\n        \"name\": \"카레공장(Curry Factory)\",\n        \"address\": \"서울특별시 영등포구 도림로 456, 101동 1층 상가105호 (문래동3가, 문래우정아파트)\",\n        \"latitude\": 37.515578221084866,\n        \"longitude\": 126.89296308232267,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 225\n    },\n    {\n        \"id\": 64787,\n        \"name\": \"한양슈퍼\",\n        \"address\": \"서울특별시 영등포구 도림로143길 20 (문래동4가, 1층)\",\n        \"latitude\": 37.5142566345322,\n        \"longitude\": 126.89054039323672,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 274\n    },\n    {\n        \"id\": 64566,\n        \"name\": \"분식국수집\",\n        \"address\": \"서울특별시 영등포구 경인로 708 (문래동1가,지상1층)\",\n        \"latitude\": 37.51113846308353,\n        \"longitude\": 126.89278046710646,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 281\n    },\n    {\n        \"id\": 66256,\n        \"name\": \"스마트키친\",\n        \"address\": \"서울특별시 영등포구 경인로77길 49, 2층 201호 (문래동4가, 리버뷰 신안인스빌)\",\n        \"latitude\": 37.514181736403636,\n        \"longitude\": 126.88857458150466,\n        \"type\": \"분식\",\n        \"rate\": null,\n        \"reviewCount\": 0,\n        \"distance\": 442\n    }\n]"}],"_postman_id":"819eadc5-0378-4e83-be33-82ee88ee2b60"}],"id":"c7906e4e-b4b7-44eb-9ec0-3d63a6a88411","_postman_id":"c7906e4e-b4b7-44eb-9ec0-3d63a6a88411","description":""},{"name":"region","item":[{"name":"지역 정보","id":"2705a13b-bd92-47a4-8c2f-a0352001d44f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/region","urlObject":{"protocol":"http","port":"8080","path":["api","region"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0ac79245-51f0-4dd6-a675-752810f53f5d","name":"지역 정보","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/region"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:13:38 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 3000000,\n        \"name\": \"종로구\"\n    },\n    {\n        \"id\": 3010000,\n        \"name\": \"중구\"\n    },\n    {\n        \"id\": 3020000,\n        \"name\": \"용산구\"\n    },\n    {\n        \"id\": 3030000,\n        \"name\": \"성동구\"\n    },\n    {\n        \"id\": 3040000,\n        \"name\": \"광진구\"\n    },\n    {\n        \"id\": 3050000,\n        \"name\": \"동대문구\"\n    },\n    {\n        \"id\": 3060000,\n        \"name\": \"중랑구\"\n    },\n    {\n        \"id\": 3070000,\n        \"name\": \"성북구\"\n    },\n    {\n        \"id\": 3080000,\n        \"name\": \"강북구\"\n    },\n    {\n        \"id\": 3090000,\n        \"name\": \"도봉구\"\n    },\n    {\n        \"id\": 3100000,\n        \"name\": \"노원구\"\n    },\n    {\n        \"id\": 3110000,\n        \"name\": \"은평구\"\n    },\n    {\n        \"id\": 3120000,\n        \"name\": \"서대문구\"\n    },\n    {\n        \"id\": 3130000,\n        \"name\": \"마포구\"\n    },\n    {\n        \"id\": 3140000,\n        \"name\": \"양천구\"\n    },\n    {\n        \"id\": 3150000,\n        \"name\": \"강서구\"\n    },\n    {\n        \"id\": 3160000,\n        \"name\": \"구로구\"\n    },\n    {\n        \"id\": 3170000,\n        \"name\": \"금천구\"\n    },\n    {\n        \"id\": 3180000,\n        \"name\": \"영등포구\"\n    },\n    {\n        \"id\": 3190000,\n        \"name\": \"동작구\"\n    },\n    {\n        \"id\": 3200000,\n        \"name\": \"관악구\"\n    },\n    {\n        \"id\": 3210000,\n        \"name\": \"서초구\"\n    },\n    {\n        \"id\": 3220000,\n        \"name\": \"강남구\"\n    },\n    {\n        \"id\": 3230000,\n        \"name\": \"송파구\"\n    },\n    {\n        \"id\": 3240000,\n        \"name\": \"강동구\"\n    }\n]"}],"_postman_id":"2705a13b-bd92-47a4-8c2f-a0352001d44f"}],"id":"7a1929b3-885c-46e3-b227-cb4b7a1e5feb","_postman_id":"7a1929b3-885c-46e3-b227-cb4b7a1e5feb","description":""},{"name":"review","item":[{"name":"내 리뷰 보기","id":"8381df05-2fc6-41e5-9a53-588d7cc14d8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/user/review?sort=highest","description":"<p>사용자가 작성한 모든 리뷰 조회</p>\n<p>페이징</p>\n<p>sort: latest, highest, lowest</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","user","review"],"host":["localhost"],"query":[{"key":"sort","value":"highest"},{"disabled":true,"key":"sort","value":"lowest"}],"variable":[]}},"response":[{"id":"c7a663ca-1f47-4db0-8256-0c306375adf1","name":"내 리뷰 보기","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/user/review?sort=highest","protocol":"http","host":["localhost"],"port":"8080","path":["api","user","review"],"query":[{"key":"sort","value":"highest"},{"key":"sort","value":"lowest","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:13:48 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"reviewId\": 32,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 메밀\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\",\n        \"restaurantId\": 92344,\n        \"restaurantName\": \"타코 비리아\",\n        \"address\": \"서울특별시 영등포구 도림로139길 11-1, 1층 103,104호 (문래동2가)\"\n    },\n    {\n        \"reviewId\": 1,\n        \"rate\": 4,\n        \"content\": \"양키통닭의 리뷰 by 메밀\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\",\n        \"restaurantId\": 65386,\n        \"restaurantName\": \"양키통닭\",\n        \"address\": \"서울특별시 영등포구 도림로139길 13, 1층, 2층 (문래동2가)\"\n    },\n    {\n        \"reviewId\": 31,\n        \"rate\": 3,\n        \"content\": \"그믐족발의 리뷰 by 메밀\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\",\n        \"restaurantId\": 150181,\n        \"restaurantName\": \"그믐족발\",\n        \"address\": \"서울특별시 영등포구 경인로79길 21, 1층 (문래동2가)\"\n    },\n    {\n        \"reviewId\": 22,\n        \"rate\": 3,\n        \"content\": \"몽밀(mongmil)의 리뷰 by 메밀\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\",\n        \"restaurantId\": 65973,\n        \"restaurantName\": \"몽밀(mongmil)\",\n        \"address\": \"서울특별시 영등포구 도림로125길 34, 1층 (문래동2가)\"\n    },\n    {\n        \"reviewId\": 15,\n        \"rate\": 3,\n        \"content\": \"로라멘의 리뷰 by 메밀\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\",\n        \"restaurantId\": 63795,\n        \"restaurantName\": \"로라멘\",\n        \"address\": \"서울특별시 영등포구 도림로131길 17, 1층 (문래동2가)\"\n    },\n    {\n        \"reviewId\": 5,\n        \"rate\": 3,\n        \"content\": \"고트델리 문래(GOATT DELI 문래)의 리뷰 by 메밀\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\",\n        \"restaurantId\": 89558,\n        \"restaurantName\": \"고트델리 문래(GOATT DELI 문래)\",\n        \"address\": \"서울특별시 영등포구 도림로139길 14, 2,3층 (문래동2가)\"\n    }\n]"}],"_postman_id":"8381df05-2fc6-41e5-9a53-588d7cc14d8e"},{"name":"특정 레스토랑의 리뷰","id":"05ca0c05-7380-4411-8505-6bd28c43287e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/restaurant/92344/review","description":"<p>특정 레스토랑의 리뷰, 페이징</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","restaurant","92344","review"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"419c1007-5cac-4a9f-aeec-9604e13978a3","name":"한 레스토랑의 리뷰","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/restaurant/92344/review"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:16:49 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"reviewId\": 41,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저8\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 40,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저7\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 39,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저6\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 38,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저5\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 37,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저4\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 36,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저3\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 35,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저2\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 34,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저1\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 33,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 구구\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 32,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 메밀\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    }\n]"}],"_postman_id":"05ca0c05-7380-4411-8505-6bd28c43287e"},{"name":"새 리뷰 피드","id":"e88d6b44-49cd-4573-bf21-cf750fbca162","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/review","description":"<p>최근 추가된 리뷰 (페이징)</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","review"],"host":["localhost"],"query":[{"disabled":true,"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"ed5db93d-0c83-4da8-805d-cb31972212d7","name":"새 리뷰 피드","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/review","protocol":"http","host":["localhost"],"port":"8080","path":["api","review"],"query":[{"key":"page","value":"1","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:17:05 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"reviewId\": 41,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저8\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 40,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저7\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 39,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저6\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 38,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저5\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 37,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저4\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 36,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저3\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 35,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저2\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 34,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 유저1\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 33,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 구구\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    },\n    {\n        \"reviewId\": 32,\n        \"rate\": 4,\n        \"content\": \"타코 비리아의 리뷰 by 메밀\",\n        \"updatedAt\": \"2024-10-03 18:56\",\n        \"createdAt\": \"2024-10-03 18:56\"\n    }\n]"}],"_postman_id":"e88d6b44-49cd-4573-bf21-cf750fbca162"},{"name":"리뷰 추가","event":[{"listen":"test","script":{"id":"44318d64-fce2-4b2c-b127-6324cee86efe","exec":["// JSON response에서 access token을 추출하여 환경 변수에 저장","const jsonData = pm.response.json();","pm.collectionVariables.set(\"reviewId\", jsonData.reviewId);"],"type":"text/javascript","packages":{}}}],"id":"898b0cef-1a07-40a1-9039-7f4bf5250c0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"rate\": 5,\n    \"content\": \"라꾸긴은 사랑입니다\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/restaurant/108675/review","description":"<p>rate은 1~5 범위의 정수</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","restaurant","108675","review"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"99e19b54-d72c-4164-9d42-9ff06e1a82a2","name":"리뷰 추가","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"rate\": 4,\n    \"content\": \"은근 맛있는 동네 술집\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/restaurant/6117/review"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:18:15 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"reviewId\": 43,\n    \"rate\": 4,\n    \"content\": \"은근 맛있는 동네 술집\",\n    \"updatedAt\": \"2024-10-03 23:18\",\n    \"createdAt\": \"2024-10-03 23:18\"\n}"}],"_postman_id":"898b0cef-1a07-40a1-9039-7f4bf5250c0f"},{"name":"내 리뷰 수정","id":"0d2817e5-879c-4fc0-8305-576795d8f2fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"rate\": 5,\n    \"content\": \"라꾸긴은 사랑이지만 예약이 너무 어려워요\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/review/","urlObject":{"protocol":"http","port":"8080","path":["api","review",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5aa3e137-d483-4311-94b8-0c5d4edcecbb","name":"내 리뷰 수정","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"rate\": 5,\n    \"content\": \"라꾸긴은 사랑이지만 예약이 너무 어려워요\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/review/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 03 Oct 2024 14:20:32 GMT"},{"key":"Keep-Alive","value":"timeout=600"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"reviewId\": 44,\n    \"rate\": 5,\n    \"content\": \"라꾸긴은 사랑이지만 예약이 너무 어려워요\",\n    \"updatedAt\": \"2024-10-03 23:20\",\n    \"createdAt\": \"2024-10-03 23:20\"\n}"}],"_postman_id":"0d2817e5-879c-4fc0-8305-576795d8f2fb"},{"name":"내 리뷰 삭제","id":"21e5caf0-df7a-464e-9135-8e96f0403aab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"rate\": 4,\n    \"content\": \"첫번째 리뷰 수정\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/review/","urlObject":{"protocol":"http","port":"8080","path":["api","review",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"21e5caf0-df7a-464e-9135-8e96f0403aab"}],"id":"99811d10-0203-4131-a44e-5d766a51b634","_postman_id":"99811d10-0203-4131-a44e-5d766a51b634","description":""}],"event":[{"listen":"prerequest","script":{"id":"7cab9e29-5158-44f5-8809-e261e452e569","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"8b44d99e-ddc2-4562-b296-c1e688ebec64","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"accessToken","value":""},{"key":"latitude","value":"37.5136","type":"string"},{"key":"longitude","value":"126.89354","type":"string"},{"value":"","type":"string"},{"key":"reviewId","value":""}]}