跳转到主要内容
POST
/
calendar
/
info
日历详情
curl --request POST \
  --url 'https://api.flashcat.cloud/calendar/info?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cal_id": "<string>"
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "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
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

请求体

application/json
cal_id
string
必填

仅能获取personal类型的日历详情

响应

200 - application/json
error
object

错误信息,仅失败时存在

data
object