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

요청/응답 값

FE 연결
FE 연결
HTTP verbs
PUT
Path
/api/v1/courses/{course_id}
기능
코스 수정
담당자
Frank
도메인
완료
완료

PUT /api/v1/courses


요청 값(param)


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

요청 값(Multipart)


{ "course": { "title": String!, "region": String!, "period": String!, "themes": [ String? ... //리스트? ], "spots": [ String? ... //리스트? ], "places": [ { "coursePlaceId": Long?, "kakaoMapId": String!, "name": String!, "description": String!, "addressName": String!, "roadAddressName": String!, "latitude": String!, "longitude": String!, "category": String!, "phoneNumber": String? "isRecommended": Boolean!, "isThumbnail": Boolean!, "imageUrl": String?, } ... ] } "images": [ Multipartfile? ... ] } ex)

응답 값(200)


courseId ex) 3
 

응답 값(400)


응답 값(401)


//토큰 인증 에러 또는 권한 없음

응답 값(404)


//유저 또는 코스가 없을 경우

응답 값(500)


//S3 업로드 오류인 경우