Skip to content

달력 조회

KIM MINSEONG edited this page Jan 24, 2022 · 2 revisions

달력 조회

메소드 경로 설명
GET /calendar 달력 조회

요청 헤더

{
    "Content-Type": "application/json"
}

Query Params

KEY VALUE
user_id 조회할 사용자의 아이디
year 조회할 년도
month 조회할 월

응답 성공

{
    "emotions": [
        {
            "calendar_id": 1,
            "user": "cyzhakt7",
            "date": "2022-01-24T14:55:00Z",
            "emotion": "angry"
        },
    ]
},

"status" : 200

응답 실패

    "message": "Invalid Value",
    "status": 500
Clone this wiki locally