跳转到主要内容
POST
/
calendar
/
event
/
list
日历事件列表
curl --request POST \
  --url 'https://api.flashcat.cloud/calendar/event/list?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cal_id": "<string>",
  "year": 123,
  "month": 123,
  "day": 123
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "items": [
      {
        "cal_id": "<string>",
        "summary": "<string>",
        "creator_id": 123,
        "is_off": true,
        "start_at": "<string>",
        "end_at": "<string>",
        "created_at": 123,
        "updated_at": 123,
        "event_id": "<string>",
        "description": "<string>"
      }
    ],
    "total": 123
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

请求体

application/json
cal_id
string
必填
year
integer

默认为当前年份

month
integer

默认为不设置

day
integer

默认为不设置,设置此项时必须同时设置月份

响应

200 - application/json
error
object
data
object