HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🧚
[1기]최종 프로젝트 데브코스
/
👼
[팀2] 극락이들
/
🍶
천초주
/
앨범 생성

앨범 생성

Method
POST
URI
/api/v1/albums
Request
- 회원 아이디 - 앨범 제목 - 앨범 가훈 - 앨범 대표 사진
Response
- 앨범 아이디 - 앨범 제목 - 앨범 가훈 - 앨범 대표 사진
Judy
완료
Choi
완료
연관 UI
notion image
notion image
notion image
notion image
Swagger UI
Swagger UI
https://test-api.jungdam.tk/swagger-ui/index.html#/album-controller/createUsingPOST
Album
The Postman Documenter generates and maintains beautiful, live documentation for your collections. Never worry about maintaining API documentation again.
Album
https://documenter.getpostman.com/view/11856454/UVR7LUGp
Album
HeadersPath ParamRequest BodyResponse Body
 

Headers

{ "Content-Type": "application/json" "Authorization": "Bearer {TOKEN}" }
Bearer과 Token 사이 공백 주의해주세요! ⇒ {TOKEN} 부분은 실제 토큰 값이 들어가는 부분입니다.

Path Param

METHOD
URI
POST
/api/v1/albums

Request Body

*는 필수 항목을 의미합니다.
PATH
TYPE
DESCRIPTION
*title
String
앨범 제목
*familyMotto
String
앨범 가훈
*thumbnail
String
앨범 썸네일 URL
{ "title": "앨범 제목", "familyMotto": "앨범 가훈", "thumbnail": "앨범 썸네일" }
thumbnail에는 이미지 업로드 API를 통해 반환 받은 URL을 넣어주세요.

Response Body

*는 필수 항목을 의미합니다.
PATH
TYPE
DESCRIPTION
*id
Long
앨범 아이디
*title
String
앨범 제목
*familyMotto
String
앨범 가훈
*thumbnail
String
앨범 썸네일 URL
HTTP 201 CREATED { "message": "ALBUM_CREATE_SUCCESS", "serverDateTime": "2021-12-15T08:17:23.4886664", "data": { "id": 3, "title": "앨범 제목", "familyMotto": "앨범 가훈", "thumbnail": "썸네일 이미지" } }
HTTP 400 BAD REQUEST // null or 빈 문자열 or 20자 초과일 경우 { "message": "INVALID_ALBUM_TITLE", "serverDateTime": "2021-12-15T08:37:32.95572" }
HTTP 400 BAD REQUEST // null or 빈 문자열 or 30자 초과일 경우 { "message": "INVALID_ALBUM_FAMILY_MOTTO", "serverDateTime": "2021-12-15T08:38:28.3212528" }
HTTP 400 BAD REQUEST // null or 빈 문자열 { "message": "INVALID_ALBUM_THUMBNAIL", "serverDateTime": "2021-12-15T08:38:45.4468288" }
HTTP 404 NOT_FOUND // token으로 회원을 찾을 수 없는 경우 { "message": "NOT_EXIST_MEMBER", "serverDateTime": "2021-12-15T08:37:32.95572" }