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

요청/응답 값

FE 연결
FE 연결
HTTP verbs
GET
Path
/api/v1/courses/{course_id}
기능
코스 상세 조회
담당자
Frank
도메인
완료
완료

GET /api/v1/courses/{course_id}



요청 값(헤더)


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

요청 값


응답 값(200)


{ "id": Long!, "title": String!, "thumbnail": String!, "region": String!, "period": String!, "theme": [ String? ... ], "spot": [ String? ... ] "places": [ { "id": String!, "placeId": String!, "kakaoMapId": String!, "name": String!, "description": String!, "address": String!, "latitude": String!,// 위도 "longitude": String!,// 경도 "category": String!, "phoneNumber": String?, "imageUrl": String!, "isRecommended": Boolean!, "isThumbnail": Boolean! }, ... ] "likes": Number!, "isLiked": Boolean!, //Null, false, True "isBookmarked": Boolean!, "userId": Long!, "nickname": String!, "profileImage": String!, "createdAt": LocalDateTime!, "updatedAt": LocalDateTime! }

응답 값(401)


//토큰 인증 에러

응답 값(404)


//코스가 없는 경우