{"info":{"_postman_id":"45c4ad67-5c39-4a5c-a227-3b725fab82c5","name":"highlights_myself","description":"<html><head></head><body><h2 id=\"highlights_myself-api-명세서-입니다\"><code>highlights_myself</code> API 명세서 입니다.</h2>\n<h3 id=\"highlight\">highlight</h3>\n<p>하이라이트 생성 API<br>하이라이트 컬렉션 저장 API</p>\n<h3 id=\"collection\">collection</h3>\n<p>컬렉션 생성 API<br>컬렉션 목록 가져오기 API</p>\n<h3 id=\"user\">user</h3>\n<p>유저 생성 API</p>\n<h3 id=\"etc\">etc</h3>\n<p>HealthChecks API</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17245687","collectionId":"45c4ad67-5c39-4a5c-a227-3b725fab82c5","publishedId":"2s93eR5GBS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"7f8c8d","highlight":"1abc9c"},"publishDate":"2023-04-27T11:02:24.000Z"},"item":[{"name":"highlight","item":[{"name":"하이라이트 생성","id":"4bf6eaba-779b-438c-98a2-3a650e568128","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"Help People Get Smart Faster\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/highlight/{user-id}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter Name</th>\n<th>Description</th>\n<th>Type</th>\n<th>Additional</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>content</td>\n<td>하이라이트 내용</td>\n<td>STRING</td>\n<td>MAX_LENGTH(255)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"port":"8080","path":["highlight","{user-id}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"11d6b702-1bf9-46d0-96e5-ea2622582857","name":"하이라이트 생성 예시","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"Help People Get Smart Faster\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/highlight/1"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"24"},{"key":"Content-Type","value":"application/json"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"highlightId\": 1\n}"}],"_postman_id":"4bf6eaba-779b-438c-98a2-3a650e568128"},{"name":"하이라이트 컬렉션 저장","id":"38eab405-c94d-47e4-b4a3-69306a04b73e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": 1,\r\n    \"collectionIds\": [ 1, 2 ]\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/highlight/{highlight-id}/collections","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter Name</th>\n<th>Description</th>\n<th>Type</th>\n<th>Additional</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>유저 아이디</td>\n<td>INT</td>\n<td></td>\n</tr>\n<tr>\n<td>collectionIds</td>\n<td>저장할 컬렉션 아이디</td>\n<td>LIST&lt; INT &gt;</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"port":"8080","path":["highlight","{highlight-id}","collections"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"dc5fceec-b126-448e-9801-707ffb2087f9","name":"하이라이트 컬렉션 저장 예시","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": 1,\r\n    \"collectionIds\": [ 1, 2 ]\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/highlight/1/collections"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"3"},{"key":"Content-Type","value":"application/json"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"38eab405-c94d-47e4-b4a3-69306a04b73e"}],"id":"aa8e0e41-8d21-4e08-adc2-f7dbbd38fdb4","description":"<p>핵심 정보를 강조하고 싶을 떄 사용하는 하이라이트입니다.</p>\n","_postman_id":"aa8e0e41-8d21-4e08-adc2-f7dbbd38fdb4"},{"name":"collection","item":[{"name":"컬렉션 생성","id":"dc0dd639-fe2f-4e3f-a34e-ca43960519d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"collectionName\": \"컬렉션\",\r\n    \"parentCollectionId\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/collection/{user-id}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter Name</th>\n<th>Description</th>\n<th>Type</th>\n<th>Additional</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>parentCollectionId</td>\n<td>컬렉션 이름</td>\n<td>STRING</td>\n<td>MAX_LENGTH(25)</td>\n</tr>\n<tr>\n<td>collectionName</td>\n<td>부모 컬렉션 아이디</td>\n<td>INT</td>\n<td>NULLABLE</td>\n</tr>\n</tbody>\n</table>\n</div><p>같은 상위 컬렉션을 가진 컬렉션은 이름이 중복되지 않습니다.</p>\n","urlObject":{"port":"8080","path":["collection","{user-id}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8aae45e4-325f-449e-b440-c142914ad148","name":"컬렉션 생성 예시","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"collectionName\": \"컬렉션\",\r\n    \"parentCollectionId\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/collection/1"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"25"},{"key":"Content-Type","value":"application/json"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"collectionId\": 3\n}"}],"_postman_id":"dc0dd639-fe2f-4e3f-a34e-ca43960519d8"},{"name":"컬렉션 목록 가져오기","id":"5729e298-b34a-41ed-9f95-ddc6c2beca6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8080/collections/{user-id}?cursorCollectionId=1&size=2","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter Name</th>\n<th>Description</th>\n<th>Type</th>\n<th>Additional</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cursorCollectionId</td>\n<td>탐색을 시작할 컬렉션 아이디</td>\n<td>INT</td>\n<td>NULLABLE</td>\n</tr>\n<tr>\n<td>size</td>\n<td>가져올 컬렉션 목록 크기</td>\n<td>INT</td>\n<td>NULLABLE  <br />DEFAULT(20)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"port":"8080","path":["collections","{user-id}"],"host":["localhost"],"query":[{"description":{"content":"<p>탐색을 시작할 컬렉션 아이디</p>\n","type":"text/plain"},"key":"cursorCollectionId","value":"1"},{"description":{"content":"<p>가져올 컬렉션 목록 크기</p>\n","type":"text/plain"},"key":"size","value":"2"}],"variable":[]}},"response":[{"id":"da1eb070-3c21-4a1d-aca1-223e0c1675cf","name":"컬렉션 목록 가져오기 예시","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8080/collections/1?cursorCollectionId=1&size=2","host":["localhost"],"port":"8080","path":["collections","1"],"query":[{"key":"cursorCollectionId","value":"1"},{"key":"size","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"780"},{"key":"Content-Type","value":"application/json"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"collections\": [\n        {\n            \"collectionId\": 4,\n            \"highlightCount\": 3,\n            \"name\": \"컬렉션 4\",\n            \"children\": []\n        },\n        {\n            \"collectionId\": 5,\n            \"highlightCount\": 2,\n            \"name\": \"컬렉션 5\",\n            \"children\": [\n                {\n                    \"collectionId\": 7,\n                    \"highlightCount\": 2,\n                    \"name\": \"컬렉션 7\",\n                    \"children\": []\n                },\n                {\n                    \"collectionId\": 8,\n                    \"highlightCount\": 1,\n                    \"name\": \"컬렉션 8\",\n                    \"children\": []\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"5729e298-b34a-41ed-9f95-ddc6c2beca6a"}],"id":"c3fbe6a1-d443-415e-bcb3-79b172de0e20","description":"<p>하이라이트를 보관하는 컬렉션입니다.</p>\n<p>폴더, 라이브러리 구조로 되어있습니다.</p>\n","_postman_id":"c3fbe6a1-d443-415e-bcb3-79b172de0e20"},{"name":"user","item":[{"name":"유저 생성","id":"91d30c70-8fcd-4872-b81d-98d5851d08b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8080/user","description":"<p>유저를 생성합니다.<br />유저 ID를 사용해 API 호출을 할 수 있습니다.</p>\n","urlObject":{"port":"8080","path":["user"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a3cbb452-8549-454a-add2-0b56c8697ef7","name":"유저 생성 예시","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8080/user"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"19"},{"key":"Content-Type","value":"application/json"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"userId\": 2\n}"}],"_postman_id":"91d30c70-8fcd-4872-b81d-98d5851d08b0"}],"id":"6b821c87-c8cc-4be2-97fe-f555fa21c195","description":"<p>하이라이트를 사용하는 유저입니다.</p>\n","_postman_id":"6b821c87-c8cc-4be2-97fe-f555fa21c195"},{"name":"etc","item":[{"name":"HealthChecks","id":"5c1e98c9-7505-43cd-b5a2-fa7e47dc362e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8080","description":"<p>서버 실행 여부를 확인하는 API 입니다.</p>\n","urlObject":{"port":"8080","host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"563ea372-f29e-48f5-8381-70d172811fd4","name":"실행 중","originalRequest":{"method":"GET","header":[],"url":"localhost:8080"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"28"},{"key":"Content-Type","value":"text/plain; charset=UTF-8"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"Help People Get Smart Faster"}],"_postman_id":"5c1e98c9-7505-43cd-b5a2-fa7e47dc362e"}],"id":"f4049af6-7aef-4720-a90e-c4c692c34480","description":"<p>기타 API 목록입니다.</p>\n","_postman_id":"f4049af6-7aef-4720-a90e-c4c692c34480"}],"event":[{"listen":"prerequest","script":{"id":"1dbf14aa-d914-4ade-9f49-8d726b8c5b4b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dc2b7bbd-ad80-4b87-beee-233347df8eb8","type":"text/javascript","exec":[""]}}]}