ℹ️ Cursor 기반 Pagination이 적용되어 있습니다.
Request
- content-type : application/json
- header
- Authorization : Bearer
token
- parameters
- path string
- albumId
- type : Number
- 설명 : Album Id path
- query string
- cursorId (Optional)
- type : Number
- default: 제일 최근
- 설명 : 조회 되었던 마지막 diary Id
- pageSize (Optional)
- type : Number
- default: 10개
- 설명 : 몇 개를 가져올 지
Response
{
"data": {
"moments": [
{
"diaryId": 1,
"recordedAt": "2021-12-19",
"thumbnail": "string",
"title": "string"
},
{
"diaryId": 2,
"recordedAt": "2021-12-19",
"thumbnail": "string",
"title": "string"
},
{
"diaryId": 3,
"recordedAt": "2021-12-19",
"thumbnail": "string",
"title": "string"
},
],
"hasNext" : true // ture: 다음 페이지 있음, false : 다음 페이지 없음 (요청 안해도 됨)
},
"message": "string",
"serverDateTime": "2021-12-19T13:55:40.590Z"
}