Retrieves runtime events.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
stream:GetEvents |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v2/namespaces/{namespace}/events HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| namespace |
string |
Yes |
The namespace name. |
default-namespace |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
Workspace ID. |
a14bd5d90a**** |
| pageSize |
integer |
No |
Paging parameter that specifies the number of items per page. Default is 10. Maximum is 100. |
10 |
| pageIndex |
integer |
No |
Paging parameter that specifies the page index. Default is 1. |
1 |
| deploymentId |
string |
No |
Deployed job ID. |
58718c99-3b29-4c5e-93bb-c9fc4ec6**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response data. |
||
| requestId |
string |
Request ID. |
CBC799F0-AS7S-1D30-8A4F-882ED4DD**** |
| success |
boolean |
Indicates whether the business request succeeded. |
true |
| httpCode |
integer |
Business status code. Always 200. Use the success field to indicate whether the business request succeeded. |
200 |
| errorCode |
string |
When success is false, this field contains a business error code. When success is true, this field is empty. |
"" |
| errorMessage |
string |
When success is false, this field contains a business error message. When success is true, this field is empty. |
"" |
| pageIndex |
integer |
Paging parameter that specifies the page index. |
1 |
| pageSize |
integer |
Paging parameter that specifies the number of items per page. |
10 |
| totalSize |
integer |
Total number of items that match the query conditions. |
4 |
| data |
array |
When success is true, returns a list of jobs that meet the conditions. When success is false, this field is empty. |
|
|
Event |
This data structure represents runtime events for a deployed job. |
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.