curl --location --request GET 'https://api.flashcat.cloud/oncall/roles?app_key=<api-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
}
]
}