✔달별 매일 글작성 현황 - SangleProject/Sangle GitHub Wiki

메소드 경로 설명
GET /cal/day/{date} 달별 매일 글작성 현황

home_calender (2)

Request Header

{
    "Content-Type": "application/json",
    "token" : "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJTQU5HTEUiLCJ1c2VySWR4IjoyLCJleHAiOjE2MDQxMjgyMzJ9.ZIyE8yKyMZyxdE1QBMPYGlllPvWjVyWNosX-r4H7iDo"
}

Response

  • {date}가 '2020-12'인 경우
  • 즉, ~:8080/cal/day/2020-12 일 때

< Success >

[
    {
        "date": "2020-12-06",
        "day": "",
        "count": 1
    },
    {
        "date": "2020-12-14",
        "day": "",
        "count": 1
    },
    {
        "date": "2020-12-21",
        "day": "",
        "count": 1
    }
]
  • date : 글 작성 날짜
  • day : 글 작성 요일
  • count : 오늘의 글감 쓴 수

< Fail >

  • 토큰값이 없을 때 (400)
{
    "data": null
}
  • 권한 에러 (401)
{
    "data": null
}
  • 데이터베이스 에러 (600)
{
    "data": null
}
  • 서버 내부 에러 (500)
{
    "data": null
}
  • 메소드 에러 (405)
  • 경로 에러 (404 or 400)

⚠️ **GitHub.com Fallback** ⚠️