Get component event information

Basic Information

This interface is mainly used to query component event information

请求路径

  1. 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

  1. {
  2. "page": 0,
  3. "page_size": 0,
  4. "total": 0,
  5. "events": [
  6. {
  7. "EventID": "string",
  8. "UserName": "string",
  9. " EndTime": "string",
  10. "Target": "string",
  11. "OptType": "string",
  12. "TargetID": "string",
  13. "ServiceID": "string",
  14. "Status": "string ",
  15. "RequestBody": "string",
  16. "create_time": "string",
  17. "FinalStatus": "string",
  18. "StartTime": "string",
  19. "SynType": "string",
  20. "Message ": "string",
  21. "TenantID": "string",
  22. "ID": "string"
  23. }
  24. ]
  25. }

Attributes

nametyperequiredconstraintChinese nameillustrate
pageintegertruenonePagecurrent page number
page_sizeintegertruenonePage sizeQuantity per page
totalintegertruenoneTotalTotal data
events[AppServiceEvents]truenonenone

AppServiceEvents

  1. {
  2. "EventID": "string",
  3. "UserName": "string",
  4. "EndTime": "string",
  5. "Target": "string",
  6. "OptType": "string",
  7. "TargetID" : "string",
  8. "ServiceID": "string",
  9. "Status": "string",
  10. "RequestBody": "string",
  11. "create_time": "string",
  12. "FinalStatus": "string",
  13. "StartTime": "string",
  14. "SynType": "string",
  15. "Message": "string",
  16. "TenantID": "string",
  17. "ID": "string"
  18. }

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