List cluster events
GET/v1/edge-mgmt/cluster/events
List cluster events
Request
Query Parameters
Responses
- 200
- 500
- default
(empty)
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
required
involvedObject
object
ObjectReference contains enough information to let you inspect or modify the referred object.
API version of the referent.
If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
relatedObject
object
The object for which the event is related
Possible values: [spectrocluster
, machine
, cloudconfig
, clusterprofile
, pack
]
source
object
Event source info
{
"items": [
{
"involvedObject": {
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
},
"message": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-03T13:23:56.483Z",
"deletionTimestamp": "2024-07-03T13:23:56.483Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-03T13:23:56.483Z",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"reason": "string",
"relatedObject": {
"kind": "spectrocluster",
"name": "string",
"uid": "string"
},
"severity": "string",
"source": {
"component": "string",
"host": "string"
}
}
]
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
{
"code": "string",
"details": {},
"message": "string",
"ref": "string"
}
generic error response
- application/json
- Schema
Schema
string