跳转到主要内容
POST
/
calendar
/
list
日历列表
curl --request POST \
  --url 'https://api.flashcat.cloud/calendar/list?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "kind": "personal"
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "items": [
      {
        "cal_id": "<string>",
        "cal_name": "<string>",
        "kind": "personal",
        "timezone": "<string>",
        "created_at": 123,
        "updated_at": 123,
        "team_id": 123,
        "description": "<string>",
        "workdays": [
          0
        ],
        "extra_cal_ids": [
          "<string>"
        ],
        "creator_id": 123,
        "updated_by": 123
      }
    ],
    "total": 123
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

请求体

application/json
kind
enum<string>
可用选项:
personal,
region.official.holiday

响应

200 - application/json
error
object
data
object