Skip to main content
Version: V6.0

获取组件事件信息

基本信息

该接口主要用于查询组件事件信息

请求路径
GET /openapi/v1/teams/{team_id}/regions/{region_name}/apps/{app_id}/services/{service_id}/events

请求参数

名称位置类型必选中文名说明
app_idpathinteger应用id
team_idpathstringnone
region_namepathstringnone
service_idpathstringnone
pagequeryinteger页码
page_sizequeryinteger每页数量

返回结果

状态码状态码含义说明数据模型
200OK成功ListServiceEventsResponse

模型

ListServiceEventsResponse

{
"page": 0,
"page_size": 0,
"total": 0,
"events": [
{
"EventID": "string",
"UserName": "string",
"EndTime": "string",
"Target": "string",
"OptType": "string",
"TargetID": "string",
"ServiceID": "string",
"Status": "string",
"RequestBody": "string",
"create_time": "string",
"FinalStatus": "string",
"StartTime": "string",
"SynType": "string",
"Message": "string",
"TenantID": "string",
"ID": "string"
}
]
}

属性

名称类型必选约束中文名说明
pageintegertruenonePage当前页数
page_sizeintegertruenonePage size每页数量
totalintegertruenoneTotal数据总数
events[AppServiceEvents]truenonenone

AppServiceEvents

{
"EventID": "string",
"UserName": "string",
"EndTime": "string",
"Target": "string",
"OptType": "string",
"TargetID": "string",
"ServiceID": "string",
"Status": "string",
"RequestBody": "string",
"create_time": "string",
"FinalStatus": "string",
"StartTime": "string",
"SynType": "string",
"Message": "string",
"TenantID": "string",
"ID": "string"
}

属性

名称类型必选约束中文名说明
EventIDstringtruenoneEventid事件id
UserNamestringtruenoneUsername操作人
EndTimestringtruenoneEndtime结束事件
TargetstringtruenoneTarget操作目标类型
OptTypestringtruenoneOpttype事件类型
TargetIDstringtruenoneTargetid操作目标id
ServiceIDstringtruenoneServiceid服务id
StatusstringtruenoneStatus状态
RequestBodystringtruenoneRequestbody请求参数
create_timestringtruenoneCreate time创建时间
FinalStatusstringtruenoneFinalstatus最终状态
StartTimestringtruenoneStarttime开始时间
SynTypestringtruenoneSyntype同步状态
MessagestringtruenoneMessage日志
TenantIDstringtruenoneTenantid团队id
IDstringtruenoneId记录id