HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel

담당자
김채원
Path
/routines
기능
루틴 생성
비고
- missions 추가 - name ⇒ title로 변경 - category ⇒ categories로 변경
완료
완료
HTTP verbs
POST
도메인
루틴

Request


name: stirng routineCategory : [] // ex) [ "EXRCISE", "FOOD" ] startGoalTime : string // ex) "yyyy-MM-dd kk:mm:ss" durationGoalTime : Long weeks : [] // ex) [ "MON" , "TUE" ] emoji : string color : string //ex) { "name" : "김채원", "routineCategory" : [ "EXERCISE", "FOOD" ], "startGoalTime" : "2021-11-24T13:21:52.313Z", "durationGoalTime" : 12, "weeks" : [ "MON", "TUE"], "emoji" : ">_<", "color" : "black" }

Response


{ // userid id: string, // 루틴 고유 id name: string, // 루틴의 이름 or 제목 emoji: string, color: string, startTime: string, // Date객체 ('2021-11-24T13:21:52.313Z') durationTime: number, // 13425 week: [], // ['Mon', 'Tue', ... ] categorie: [], // ['activity', 'travel'] // missions: [], // 루틴을 구성하는 미션들 배열 // routineFulfillments: [], // // reviews: [], }
// 변경 후 { routineId: number; title: string; emoji: string; color: string; startGoalTime: string; durationGoalTime: number; weeks: string[]; routineCategories: string[]; missions: MissionType[]; // routineCompletions: RoutineCompletionType[]; }