{"info":{"_postman_id":"53c9b481-2bce-4d63-b8e9-26a32b866aa2","name":"커밋미","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"21777732","collectionId":"53c9b481-2bce-4d63-b8e9-26a32b866aa2","publishedId":"UzJHRHuE","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-07-05T13:41:27.000Z"},"item":[{"name":"계정","item":[{"name":"상세","id":"a0dc6d49-1d9e-4e9b-87ad-85626b3ff19e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{IP}}account/SooJeongSon","description":"<p>등록된 계정 상세 정보를 전달한다.</p>\n<p>URI의 마지막 값은 <strong>계정 아이디</strong>이다.</p>\n","urlObject":{"path":["SooJeongSon"],"host":["{{IP}}account"],"query":[],"variable":[]}},"response":[{"id":"d12402ce-0575-4af7-918a-d62cd1f7268d","name":"상세","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/account/SooJeongSon"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"331"},{"key":"ETag","value":"W/\"14b-LxypWZBTZtWJYC9KvfQ5Cz4Te3I\""},{"key":"Date","value":"Tue, 05 Jul 2022 13:30:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"62c42997fdd814ccb8a38190\",\n    \"user_id\": \"SooJeongSon\",\n    \"name\": \"손수정\",\n    \"image_url\": \"https://avatars.githubusercontent.com/u/79577304?v=4\",\n    \"github_address\": \"https://github.com/SooJeongSon\",\n    \"attendances\": 2,\n    \"pulls\": 0,\n    \"commits\": 0,\n    \"comments\": 0,\n    \"createdAt\": \"2022-07-05T12:07:51.097Z\",\n    \"updatedAt\": \"2022-07-05T12:08:48.945Z\",\n    \"__v\": 0\n}"}],"_postman_id":"a0dc6d49-1d9e-4e9b-87ad-85626b3ff19e"},{"name":"랭킹 조회","id":"35a8a386-8a2a-45e5-b880-3ae73013d7df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{IP}}account/ranking?kind=comment","description":"<p><code>kind</code> 에 따라 랭킹 순위를 보여준다.</p>\n<p>랭킹 기준은 누적 건수 높은순 &gt; 낮은순이다.</p>\n<p>kind은 attendance(출석), commit(커밋), pull(풀퀘), comment(댓글)이다.</p>\n","urlObject":{"path":["ranking"],"host":["{{IP}}account"],"query":[{"description":{"content":"<p>구분 </p>\n","type":"text/plain"},"key":"kind","value":"comment"}],"variable":[]}},"response":[{"id":"2cee5b3a-096b-4af0-8ab6-f2f4583da9b7","name":"랭킹 조회","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/account/ranking?kind=attendance","protocol":"http","host":["localhost"],"port":"8000","path":["account","ranking"],"query":[{"key":"kind","value":"attendance"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"988"},{"key":"ETag","value":"W/\"3dc-4fGa4z5XXQrxFvtn3RVmLc7OaDs\""},{"key":"Date","value":"Tue, 05 Jul 2022 13:32:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"62c42997fdd814ccb8a38190\",\n        \"user_id\": \"SooJeongSon\",\n        \"name\": \"손수정\",\n        \"image_url\": \"https://avatars.githubusercontent.com/u/79577304?v=4\",\n        \"github_address\": \"https://github.com/SooJeongSon\",\n        \"attendances\": 2,\n        \"pulls\": 0,\n        \"commits\": 0,\n        \"comments\": 0,\n        \"createdAt\": \"2022-07-05T12:07:51.097Z\",\n        \"updatedAt\": \"2022-07-05T12:08:48.945Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"62c2f19c6b2155edcaeacdf0\",\n        \"user_id\": \"jieun246\",\n        \"name\": \"임지은\",\n        \"image_url\": \"https://avatars.githubusercontent.com/u/79043826?s=96&v=4\",\n        \"github_address\": \"https://github.com/jieun246\",\n        \"attendances\": 1,\n        \"pulls\": 0,\n        \"commits\": 0,\n        \"comments\": 0,\n        \"createdAt\": \"2022-07-04T13:56:44.523Z\",\n        \"updatedAt\": \"2022-07-05T12:08:34.386Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"62c43d46724a8d3f59611fa9\",\n        \"user_id\": \"gatemap\",\n        \"name\": \"정주은\",\n        \"image_url\": \"https://avatars.githubusercontent.com/u/38553075?v=4\",\n        \"github_address\": \"https://github.com/gatemap\",\n        \"attendances\": 0,\n        \"pulls\": 0,\n        \"commits\": 0,\n        \"comments\": 0,\n        \"createdAt\": \"2022-07-05T13:31:50.219Z\",\n        \"updatedAt\": \"2022-07-05T13:31:50.219Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"35a8a386-8a2a-45e5-b880-3ae73013d7df"}],"id":"091fec50-990e-41b3-a7b1-51744c814ca3","description":"<p>계정 관련 API</p>\n","_postman_id":"091fec50-990e-41b3-a7b1-51744c814ca3"},{"name":"출석 체크","item":[{"name":"출석 조회","id":"1c002b62-f5c0-4e75-8180-b486219beffe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{IP}}attendance/search?startDate=2022-07-03&endDate=2022-07-09","description":"<p>시작일과 끝일에 해당하는 날짜를 조회하여 계정의 출석일과 건수를 전달한다.</p>\n<p>시작일: 일요일, 끝일: 토요일이다.</p>\n","urlObject":{"path":["search"],"host":["{{IP}}attendance"],"query":[{"description":{"content":"<p>시작일 </p>\n","type":"text/plain"},"key":"startDate","value":"2022-07-03"},{"description":{"content":"<p>끝일 </p>\n","type":"text/plain"},"key":"endDate","value":"2022-07-09"}],"variable":[]}},"response":[{"id":"81c1e5ec-1759-45e8-be3b-56aed00a25a4","name":"출석 조회","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{IP}}attendance/search?startDate=2022-07-03&endDate=2022-07-09","host":["{{IP}}attendance"],"path":["search"],"query":[{"key":"startDate","value":"2022-07-03","description":"시작일 "},{"key":"endDate","value":"2022-07-09","description":"끝일 "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"789"},{"key":"ETag","value":"W/\"315-sjnV4sd94iIZdMd/okj8B1mm3yU\""},{"key":"Date","value":"Fri, 05 Aug 2022 13:37:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"user_id\": \"ije90s\",\n        \"image_url\": \"https://avatars.githubusercontent.com/u/86638467?v=4\",\n        \"attendance_date\": \"2022-07-03,2022-07-05,2022-07-07,2022-07-08\",\n        \"count\": 4\n    },\n    {\n        \"user_id\": \"kjiyu0\",\n        \"image_url\": \"https://avatars.githubusercontent.com/u/104876834?v=4\",\n        \"attendance_date\": \"2022-07-03,2022-07-06,2022-07-08\",\n        \"count\": 3\n    },\n    {\n        \"user_id\": \"gatemap\",\n        \"image_url\": \"https://avatars.githubusercontent.com/u/38553075?v=4\",\n        \"attendance_date\": \"2022-07-04,2022-07-05,2022-07-06,2022-07-07\",\n        \"count\": 4\n    },\n    {\n        \"user_id\": \"SooJeongSon\",\n        \"image_url\": \"https://avatars.githubusercontent.com/u/79577304?v=4\",\n        \"attendance_date\": \"2022-07-04,2022-07-05,2022-07-07\",\n        \"count\": 3\n    },\n    {\n        \"user_id\": \"jiyeon0320\",\n        \"image_url\": \"https://avatars.githubusercontent.com/u/34732127?v=4\",\n        \"attendance_date\": \"2022-07-04,2022-07-05,2022-07-06\",\n        \"count\": 3\n    }\n]"}],"_postman_id":"1c002b62-f5c0-4e75-8180-b486219beffe"},{"name":"1주차 조회","id":"5f5fe023-b205-4ffa-a1f6-3d6f512af24e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{IP}}week-search?startDate=&kind=now","description":"<p><code>kind</code>에 따라 이전/현재/다음 주 날짜를 전달한다.</p>\n<p>이전/다음 주는 현재 날짜 기준으로 -1/+1주이다.</p>\n<p>kind가 현재인 경우에는 startDate에 값이 없어도 되며, 그 외는 startDate는 일요일인 날짜입니다.</p>\n","urlObject":{"host":["{{IP}}week-search"],"query":[{"key":"startDate","value":""},{"key":"kind","value":"now"}],"variable":[]}},"response":[{"id":"7ed0d4c9-a560-43ab-b7c0-51c8445a7e45","name":"1주차 조회(now)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{IP}}week-search?startDate=&kind=now","host":["{{IP}}week-search"],"query":[{"key":"startDate","value":""},{"key":"kind","value":"now"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"91"},{"key":"ETag","value":"W/\"5b-dnf/RyFwd7RZTCMrZDacOhfJga8\""},{"key":"Date","value":"Sun, 07 Aug 2022 06:55:24 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"weekDate\": \"2022-08-07,2022-08-08,2022-08-09,2022-08-10,2022-08-11,2022-08-12,2022-08-13\"\n}"},{"id":"5e93444e-9653-4af0-a801-e545de8d9356","name":"1주차 조회(prev)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{IP}}week-search?startDate=2022-08-07&kind=prev","host":["{{IP}}week-search"],"query":[{"key":"startDate","value":"2022-08-07"},{"key":"kind","value":"prev"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"91"},{"key":"ETag","value":"W/\"5b-dhHkO5Wkq9Mr1fH5G2eveLG1G/Q\""},{"key":"Date","value":"Sun, 07 Aug 2022 06:52:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"weekDate\": \"2022-07-31,2022-08-01,2022-08-02,2022-08-03,2022-08-04,2022-08-05,2022-08-06\"\n}"},{"id":"4c770946-0667-4f41-a18a-03ab004bf4b9","name":"1주차 조회(next)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{IP}}week-search?startDate=2022-08-07&kind=next","host":["{{IP}}week-search"],"query":[{"key":"startDate","value":"2022-08-07"},{"key":"kind","value":"next"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"91"},{"key":"ETag","value":"W/\"5b-V6eegPKjbKp2/r/hHUQ3B5VHiVA\""},{"key":"Date","value":"Sun, 07 Aug 2022 06:54:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"weekDate\": \"2022-08-14,2022-08-15,2022-08-16,2022-08-17,2022-08-18,2022-08-19,2022-08-20\"\n}"}],"_postman_id":"5f5fe023-b205-4ffa-a1f6-3d6f512af24e"},{"name":"월별 조회","id":"eb14785b-bd70-4aa3-8ad5-bf7df27ec82a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{IP}}month-week-search?year=2022&month=8","description":"<p>특정 월의 주차별 날짜를 전달한다.</p>\n","urlObject":{"host":["{{IP}}month-week-search"],"query":[{"key":"year","value":"2022"},{"key":"month","value":"8"}],"variable":[]}},"response":[{"id":"83db6b3c-09c7-48c2-8371-ee6670056b8b","name":"월별 조회","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{IP}}month-week-search?year=2022&month=8","host":["{{IP}}month-week-search"],"query":[{"key":"year","value":"2022"},{"key":"month","value":"8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"521"},{"key":"ETag","value":"W/\"209-GlDsSK46aylvS3iE0F+QPlEHs/g\""},{"key":"Date","value":"Sun, 07 Aug 2022 07:01:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"weekNum\": 1,\n        \"weekDate\": \"2022-07-31,2022-08-01,2022-08-02,2022-08-03,2022-08-04,2022-08-05,2022-08-06\"\n    },\n    {\n        \"weekNum\": 2,\n        \"weekDate\": \"2022-08-07,2022-08-08,2022-08-09,2022-08-10,2022-08-11,2022-08-12,2022-08-13\"\n    },\n    {\n        \"weekNum\": 3,\n        \"weekDate\": \"2022-08-14,2022-08-15,2022-08-16,2022-08-17,2022-08-18,2022-08-19,2022-08-20\"\n    },\n    {\n        \"weekNum\": 4,\n        \"weekDate\": \"2022-08-21,2022-08-22,2022-08-23,2022-08-24,2022-08-25,2022-08-26,2022-08-27\"\n    },\n    {\n        \"weekNum\": 5,\n        \"weekDate\": \"2022-08-28,2022-08-29,2022-08-30,2022-08-31,2022-09-01,2022-09-02,2022-09-03\"\n    }\n]"}],"_postman_id":"eb14785b-bd70-4aa3-8ad5-bf7df27ec82a"}],"id":"163ebe83-b49c-4ed9-a033-5d6fda2d4a57","description":"<p>출석체크 관련 API</p>\n","_postman_id":"163ebe83-b49c-4ed9-a033-5d6fda2d4a57"}]}