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
name | Location | type | required | Chinese name | illustrate |
---|
app_id | path | integer | Yes | | app id |
team_id | path | string | Yes | | none |
region_name | path | string | Yes | | none |
service_id | path | string | Yes | | none |
page | query | integer | no | | page number |
page_size | query | integer | no | | Quantity per page |
return result
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
name | type | required | constraint | Chinese name | illustrate |
---|
page | integer | true | none | Page | current page number |
page_size | integer | true | none | Page size | Quantity per page |
total | integer | true | none | Total | Total data |
events | [AppServiceEvents] | true | none | | none |
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
name | type | required | constraint | Chinese name | illustrate |
---|
EventID | string | true | none | Eventid | event id |
UserName | string | true | none | Username | Operator |
EndTime | string | true | none | Endtime | end event |
Target | string | true | none | Target | Action target type |
OptType | string | true | none | Opttype | event type |
TargetID | string | true | none | Targetid | Operation target id |
ServiceID | string | true | none | Serviceid | service id |
Status | string | true | none | Status | state |
RequestBody | string | true | none | Requestbody | request parameters |
create_time | string | true | none | Create time | creation time |
FinalStatus | string | true | none | Finalstatus | final state |
StartTime | string | true | none | Starttime | Starting time |
SynType | string | true | none | Syntype | sync status |
Message | string | true | none | Message | log |
TenantID | string | true | none | Tenantid | team id |
ID | string | true | none | Id | record id |