Skip to main content

Get component event information

Basic Information

This interface is mainly used to query component event information

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

request parameters

nameLocationtyperequiredChinese nameillustrate
app_idpathintegerYesapp id
team_idpathstringYesnone
region_namepathstringYesnone
service_idpathstringYesnone
pagequeryintegernopage number
page_sizequeryintegernoQuantity per page

return result

status codeStatus code meaningillustratedata model
200OKsuccessListServiceEventsResponse

Model

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"
}
]
}

Attributes

nametyperequiredconstraintChinese nameillustrate
pageintegertruenonePagecurrent page number
page_sizeintegertruenonePage sizeQuantity per page
totalintegertruenoneTotalTotal data
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"
}

Attributes

nametyperequiredconstraintChinese nameillustrate
EventIDstringtruenoneEventidevent id
UserNamestringtruenoneUsernameOperator
EndTimestringtruenoneEndtimeend event
TargetstringtruenoneTargetAction target type
OptTypestringtruenoneOpttypeevent type
TargetIDstringtruenoneTargetidOperation target id
ServiceIDstringtruenoneServiceidservice id
StatusstringtruenoneStatusstate
RequestBodystringtruenoneRequestbodyrequest parameters
create_timestringtruenoneCreate timecreation time
FinalStatusstringtruenoneFinalstatusfinal state
StartTimestringtruenoneStarttimeStarting time
SynTypestringtruenoneSyntypesync status
MessagestringtruenoneMessagelog
TenantIDstringtruenoneTenantidteam id
IDstringtruenoneIdrecord id