request header
GET : https://test-api.jungdam.tk/api/v1/albums/{albumId}/diaries/{diaryId} // Header { "Content-type" : "application/json", "Authorization" : "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdtiC_Ug0ngasdasdsadasdasdasd" }
request body
없음
response header
status code : 200
status code : 200 // Header { "Content-type" : "application/json" }
response body
{ "message": "DIARY_READ_SUCCESS", "serverDateTime": "2021-12-14T16:22:22.4616192", "data": { "albumId": 1, "diaryId": 1, "title": "행복1111", "content": "행복해111라", "bookmark": false, "diaryPhotos": [ "askdjhaskdhjasjhdahsd", "sakjdfhkasdhfjksadhfkshdkf", "dksajfhfsdjhfksdhfshd" ], "recordedAt": "2021-12-12" } }
Error
발생할 수 있는 예외
- 사용자가 없을 때
status code 400 { "message": "NOT_EXIST_MEMBER", "serverDateTime": "2021-12-14T01:57:28.75725" }
- 앨범에 속한 인원이 아닐 때
status code 400 { "message": "NOT_EXIST_PARTICIPANT", "serverDateTime": "2021-12-14T01:57:28.75725" }
- 앨범이 존재하지 않을 때
status code 400 { "message": "NOT_EXIST_ALBUM", "serverDateTime": "2021-12-14T01:57:28.75725" }
- 일기가 존재하지 않을 때
status code 400 { "message": "NOT_EXIST_DIARY", "serverDateTime": "2021-12-14T01:57:28.75725" }