跳转到主要内容
GET
/
oncall
/
roles
角色信息
curl --request GET \
  --url 'https://api.flashcat.cloud/oncall/roles?app_key='
{
  "data": [
    {
      "id": 0,
      "name": "主值班人",
      "account_id": 182138731581973,
      "create_at": 0,
      "create_by": 0,
      "update_at": 0,
      "update_by": 0
    },
    {
      "id": 1,
      "name": "备值班人",
      "account_id": 182138731581973,
      "create_at": 0,
      "create_by": 0,
      "update_at": 0,
      "update_by": 0
    }
  ]
}

授权

app_key
string
query
必填

响应

200 - application/json
data
object[]
必填