HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
♥️
2기 최종 프로젝트 팀별 공간
/
[팀 09] 오프와 에프
[팀 09] 오프와 에프
/
📝
API 명세서
/
📢
요청/응답 값
📢

요청/응답 값

FE 연결
FE 연결
HTTP verbs
POST
Path
/api/v1/courses
기능
코스 등록
담당자
Frank
도메인
코스
완료
완료

POST /api/v1/courses


notion image

요청 값(param)


"Authorization": String! ex) "Authorization":"234980234908sdkjhsjfhsda"
 

요청 값(RequestPart)


{ "course": { "title": String!, "region": String!, "period": String!, "themes": [ String? ... //리스트? ], "places": [ { "kakaoMapId": String!, "name": String!, "description": String!, "addressName": String!, "roadAddressName": String!, "latitude": String!,// 위도 "longitude": String!,// 경도 "category": String!, //카테고리 "phone": String? "isRecommended": Boolean!, "isThumbnail": Boolean! // 대표이미지인가요? } ... ] } "images": [ Multipartfile? ... ] } ex)

응답 값(201)


{ "id": Long! }
 

응답 값(400)


응답 값(401)


//토큰 인증 에러
 

응답 값(404)


//유저가 없을 경우
Response
이름
타입
필수
예시
Default
설명
title
String
필수
region
Enum
period
Enum
places
배열

응답 값(500)

 

//S3 업로드 오류인 경우