GET /api/v1/diseases/search?lan=kor&query=8%EB%B2%88+%EC%97%BC%EC%83%89%EC%B2%B4&page=0 HTTP/1.1
Content-Type: application/json;charset=UTF-8
-Host: docs.api.com:8080
+Host: localhost:8080
From cdd8fbd8dfd7521fe61f987e16dbcf209a58c0d0 Mon Sep 17 00:00:00 2001 From: 5jisoo <56earls@gmail.com> Date: Sun, 31 Dec 2023 04:59:50 +0900 Subject: [PATCH] =?UTF-8?q?Chore:=20API=20docs=20html=20=EC=97=85=EB=8D=B0?= =?UTF-8?q?=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BOOT-INF/classes/static/docs/disease.html | 2 +- .../classes/static/docs/letter-rooms.html | 185 +++++++++++++++++- .../BOOT-INF/classes/static/docs/member.html | 2 +- .../main/resources/static/docs/disease.html | 6 +- .../src/main/resources/static/docs/index.html | 2 +- .../resources/static/docs/letter-rooms.html | 42 +++- .../main/resources/static/docs/member.html | 2 +- 7 files changed, 229 insertions(+), 12 deletions(-) diff --git a/unibond/BOOT-INF/classes/static/docs/disease.html b/unibond/BOOT-INF/classes/static/docs/disease.html index be7a6c6..05342c2 100644 --- a/unibond/BOOT-INF/classes/static/docs/disease.html +++ b/unibond/BOOT-INF/classes/static/docs/disease.html @@ -470,7 +470,7 @@
GET /api/v1/diseases/search?lan=kor&query=8%EB%B2%88+%EC%97%BC%EC%83%89%EC%B2%B4&page=0 HTTP/1.1
Content-Type: application/json;charset=UTF-8
-Host: docs.api.com:8080
+Host: localhost:8080
Parameter | +Description | +
---|---|
|
+조회할 페이지 [default: 0] |
+
HTTP/1.1 200 OK
+Content-Type: application/json
+Content-Length: 725
+
+{
+ "isSuccess" : true,
+ "code" : 1000,
+ "message" : "요청에 성공하였습니다.",
+ "result" : {
+ "receiverProfileImg" : "http://testimg2",
+ "receiverName" : "jiny",
+ "receiverDiseaseName" : "7번 염색체 장완 36 부분의 미세결손 증후군",
+ "receiverDiagnosisTiming" : "2013-11-10",
+ "pageInfo" : {
+ "lastPage" : true,
+ "totalPages" : 1,
+ "totalElements" : 2,
+ "size" : 30
+ },
+ "letterList" : [ {
+ "senderName" : "jiny",
+ "sentDate" : "2023-11-11T00:46:29.911363",
+ "letterTitle" : "title 2"
+ }, {
+ "senderName" : "lucy",
+ "sentDate" : "2023-11-11T00:46:24.69997",
+ "letterTitle" : "title 1"
+ } ]
+ }
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+성공 여부 |
+
|
+
|
+결과 코드 |
+
|
+
|
+결과 메세지 |
+
|
+
|
+결과 데이터 |
+
|
+
|
+수신자 프로필 이미지 |
+
|
+
|
+수신자 이름 |
+
|
+
|
+수신자 질병 이름 |
+
|
+
|
+수신자 진단 시기 |
+
|
+
|
+페이징 정보 |
+
|
+
|
+페이징 정보: 마지막 페이지인지의 여부 |
+
|
+
|
+페이징 정보: 총 페이지 수 |
+
|
+
|
+페이징 정보: 총 검색 결과 개수 |
+
|
+
|
+페이징 정보: 현재 페이지의 크기 [default: 30] - size는 parameter를 통해 전송하지 않는 것을 추천드립니다. |
+
|
+
|
+편지 리스트 |
+
|
+
|
+편지 리스트: 송신자 이름 |
+
|
+
|
+편지 리스트: 편지 송신 시각 |
+
|
+
|
+편지 리스트: 편지 제목 |
+