跳转到主要内容
POST
/
schedule
/
list
查看值班列表
curl --request POST \
  --url 'https://api.flashcat.cloud/schedule/list?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "team_ids": [
    123
  ],
  "query": "<string>",
  "p": 123,
  "limit": 123,
  "is_my_team": true,
  "start": 123,
  "end": 123
}
'
{
  "data": {
    "items": [
      {
        "schedule_id": 123,
        "schedule_name": "<string>",
        "desc": "<string>",
        "group_id": 123,
        "endabled": true,
        "create_at": 123,
        "create_by": 123,
        "update_at": 123,
        "update_by": 123
      }
    ],
    "total": 123
  },
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

授权

app_key
string
query
必填

请求体

application/json
team_ids
integer[]
必填
query
string
p
integer
limit
integer
is_my_team
boolean

与team_ids同时传入取交集

start
integer
end
integer

响应

200 - application/json
data
object
必填
error
object
必填