获取组件事件信息

基本信息

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

请求路径

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

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

属性

名称类型必选约束中文名说明
pageintegertruenonePage当前页数
page_sizeintegertruenonePage size每页数量
totalintegertruenoneTotal数据总数
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. }

属性

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