Skip to content

맥주 상세 정보 기록(RECORD) 조회 (이 맥주는 어땠나요)

RyooChan edited this page Jul 1, 2022 · 3 revisions

POST /api/v1/records/find

(RECORD와 명칭이 헷갈려서 맥주 상세 정보로 API 명칭 변경함)

해당 API는 맥주 상세정보의 ‘이 맥주는 어땠냐면’ 에서만 사용되는 API입니다.

Input

image

  • beerId: 현재 맥주 ID
  • recordId: 페이징에 활용되는 ID(없으면 가장 최근부터 수행)

image

Output

{
  "success": true,
  "resultCount": 20,
  "contents": [
    {
      "id": 20,
      "content": "string",
      "feel": 0,
      "imageUrl": "string",
      "memberRecordDto": {
        "id": 1,
        "name": "userName"
      },
      "createdAt": "2022-06-05T20:29:21.420103",
      "updatedAt": "2022-06-05T20:29:21.420103",
      "startCountryKor": "한국",
      "startCountryEng": "한국",
      "endCountryKor": "KOR",
      "endCountryEng": "korea",
      "flavorDtos": [],
      "beerResponseDto": null,
      "recordCount": null
    },
    {
      "id": 19,
      "content": "string",
      "feel": 0,
      "imageUrl": "string",
      "memberRecordDto": {
        "id": 1,
        "name": "userName"
      },
      "createdAt": "2022-06-05T20:29:21.302418",
      "updatedAt": "2022-06-05T20:29:21.302418",
      "startCountryKor": "한국",
      "startCountryEng": "한국",
      "endCountryKor": "KOR",
      "endCountryEng": "korea",
      "flavorDtos": [],
      "beerResponseDto": null,
      "recordCount": null
    },
    {
      "id": 18,
      "content": "string",
      "feel": 0,
      "imageUrl": "string",
      "memberRecordDto": {
        "id": 1,
        "name": "userName"
      },
      "createdAt": "2022-06-05T20:29:21.155812",
      "updatedAt": "2022-06-05T20:29:21.155812",
      "startCountryKor": "한국",
      "startCountryEng": "한국",
      "endCountryKor": "KOR",
      "endCountryEng": "korea",
      "flavorDtos": [],
      "beerResponseDto": null,
      "recordCount": null
    },
    {
      "id": 17,
      "content": "string",
      "feel": 0,
      "imageUrl": "string",
      "memberRecordDto": {
        "id": 1,
        "name": "userName"
      },
      "createdAt": "2022-06-05T20:29:21.047102",
      "updatedAt": "2022-06-05T20:29:21.047102",
      "startCountryKor": "한국",
      "startCountryEng": "한국",
      "endCountryKor": "KOR",
      "endCountryEng": "korea",
      "flavorDtos": [],
      "beerResponseDto": null,
      "recordCount": null
    },
    {
      "id": 16,
      "content": "string",
      "feel": 0,
      "imageUrl": "string",
      "memberRecordDto": {
        "id": 1,
        "name": "userName"
      },
      "createdAt": "2022-06-05T20:29:20.927424",
      "updatedAt": "2022-06-05T20:29:20.927424",
      "startCountryKor": "한국",
      "startCountryEng": "한국",
      "endCountryKor": "KOR",
      "endCountryEng": "korea",
      "flavorDtos": [],
      "beerResponseDto": null,
      "recordCount": null
    },
    {
      "id": 15,
      "content": "string",
      "feel": 0,
      "imageUrl": "string",
      "memberRecordDto": {
        "id": 1,
        "name": "userName"
      },
      "createdAt": "2022-06-05T20:29:20.783124",
      "updatedAt": "2022-06-05T20:29:20.783124",
      "startCountryKor": "한국",
      "startCountryEng": "한국",
      "endCountryKor": "KOR",
      "endCountryEng": "korea",
      "flavorDtos": [],
      "beerResponseDto": null,
      "recordCount": null
    },
    {
      "id": 14,
      "content": "string",
      "feel": 0,
      "imageUrl": "string",
      "memberRecordDto": {
        "id": 1,
        "name": "userName"
      },
      "createdAt": "2022-06-05T20:29:20.611005",
      "updatedAt": "2022-06-05T20:29:20.611005",
      "startCountryKor": "한국",
      "startCountryEng": "한국",
      "endCountryKor": "KOR",
      "endCountryEng": "korea",
      "flavorDtos": [],
      "beerResponseDto": null,
      "recordCount": null
    },
    {
      "id": 13,
      "content": "string",
      "feel": 0,
      "imageUrl": "string",
      "memberRecordDto": {
        "id": 1,
        "name": "userName"
      },
      "createdAt": "2022-06-05T20:29:20.497793",
      "updatedAt": "2022-06-05T20:29:20.497793",
      "startCountryKor": "한국",
      "startCountryEng": "한국",
      "endCountryKor": "KOR",
      "endCountryEng": "korea",
      "flavorDtos": [],
      "beerResponseDto": null,
      "recordCount": null
    },
    {
      "id": 12,
      "content": "string",
      "feel": 0,
      "imageUrl": "string",
      "memberRecordDto": {
        "id": 1,
        "name": "userName"
      },
      "createdAt": "2022-06-05T20:29:20.352183",
      "updatedAt": "2022-06-05T20:29:20.352183",
      "startCountryKor": "한국",
      "startCountryEng": "한국",
      "endCountryKor": "KOR",
      "endCountryEng": "korea",
      "flavorDtos": [],
      "beerResponseDto": null,
      "recordCount": null
    }
  ],
  "hasNext": true,
  "nextCursor": 11,
  "error": null
}
Clone this wiki locally