Skip to main content

replaceEventsV1NamespacedEvent

replace the specified Event

PUT/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}
Source
specs/apis__events.k8s.io__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697

Request

Path Parameters
name string
required

name of the Event

namespace string
required

object name and auth scope, such as for teams and projects

Query Parameters
pretty string
optional

If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).

dryRun string
optional

When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

fieldManager string
optional

fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.

fieldValidation string
optional

fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body Params
required
action string
optional

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

apiVersion string
optional

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

deprecatedCount integer<int32>
optional

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedFirstTimestamp
optional

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedLastTimestamp
optional

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedSource
optional

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

eventTime
required

eventTime is the time when this Event was first observed. It is required.

kind string
optional

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
optional

metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

note string
optional

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

reason string
optional

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

regarding
optional

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

related
optional

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

reportingController string
optional

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

reportingInstance string
optional

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

series
optional

series is data about the Event series this event represents or nil if it's a singleton Event.

type string
optional

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

Responses

OK

action string
optional

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

apiVersion string
optional

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

deprecatedCount integer<int32>
optional

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedFirstTimestamp
optional

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedLastTimestamp
optional

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedSource
optional

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

eventTime
required

eventTime is the time when this Event was first observed. It is required.

kind string
optional

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
optional

metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

note string
optional

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

reason string
optional

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

regarding
optional

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

related
optional

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

reportingController string
optional

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

reportingInstance string
optional

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

series
optional

series is data about the Event series this event represents or nil if it's a singleton Event.

type string
optional

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

OK

action string
optional

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

apiVersion string
optional

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

deprecatedCount integer<int32>
optional

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedFirstTimestamp
optional

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedLastTimestamp
optional

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedSource
optional

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

eventTime
required

eventTime is the time when this Event was first observed. It is required.

kind string
optional

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
optional

metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

note string
optional

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

reason string
optional

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

regarding
optional

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

related
optional

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

reportingController string
optional

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

reportingInstance string
optional

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

series
optional

series is data about the Event series this event represents or nil if it's a singleton Event.

type string
optional

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

application/vnd.kubernetes.protobuf io.k8s.api.events.v1.Event object

OK

action string
optional

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

apiVersion string
optional

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

deprecatedCount integer<int32>
optional

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedFirstTimestamp
optional

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedLastTimestamp
optional

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedSource
optional

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

eventTime
required

eventTime is the time when this Event was first observed. It is required.

kind string
optional

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
optional

metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

note string
optional

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

reason string
optional

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

regarding
optional

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

related
optional

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

reportingController string
optional

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

reportingInstance string
optional

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

series
optional

series is data about the Event series this event represents or nil if it's a singleton Event.

type string
optional

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

OK

action string
optional

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

apiVersion string
optional

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

deprecatedCount integer<int32>
optional

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedFirstTimestamp
optional

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedLastTimestamp
optional

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedSource
optional

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

eventTime
required

eventTime is the time when this Event was first observed. It is required.

kind string
optional

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
optional

metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

note string
optional

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

reason string
optional

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

regarding
optional

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

related
optional

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

reportingController string
optional

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

reportingInstance string
optional

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

series
optional

series is data about the Event series this event represents or nil if it's a singleton Event.

type string
optional

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

Created

action string
optional

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

apiVersion string
optional

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

deprecatedCount integer<int32>
optional

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedFirstTimestamp
optional

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedLastTimestamp
optional

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedSource
optional

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

eventTime
required

eventTime is the time when this Event was first observed. It is required.

kind string
optional

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
optional

metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

note string
optional

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

reason string
optional

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

regarding
optional

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

related
optional

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

reportingController string
optional

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

reportingInstance string
optional

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

series
optional

series is data about the Event series this event represents or nil if it's a singleton Event.

type string
optional

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

Created

action string
optional

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

apiVersion string
optional

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

deprecatedCount integer<int32>
optional

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedFirstTimestamp
optional

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedLastTimestamp
optional

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedSource
optional

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

eventTime
required

eventTime is the time when this Event was first observed. It is required.

kind string
optional

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
optional

metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

note string
optional

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

reason string
optional

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

regarding
optional

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

related
optional

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

reportingController string
optional

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

reportingInstance string
optional

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

series
optional

series is data about the Event series this event represents or nil if it's a singleton Event.

type string
optional

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

application/vnd.kubernetes.protobuf io.k8s.api.events.v1.Event object

Created

action string
optional

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

apiVersion string
optional

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

deprecatedCount integer<int32>
optional

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedFirstTimestamp
optional

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedLastTimestamp
optional

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedSource
optional

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

eventTime
required

eventTime is the time when this Event was first observed. It is required.

kind string
optional

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
optional

metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

note string
optional

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

reason string
optional

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

regarding
optional

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

related
optional

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

reportingController string
optional

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

reportingInstance string
optional

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

series
optional

series is data about the Event series this event represents or nil if it's a singleton Event.

type string
optional

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

Created

action string
optional

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

apiVersion string
optional

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

deprecatedCount integer<int32>
optional

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedFirstTimestamp
optional

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedLastTimestamp
optional

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

deprecatedSource
optional

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

eventTime
required

eventTime is the time when this Event was first observed. It is required.

kind string
optional

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
optional

metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

note string
optional

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

reason string
optional

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

regarding
optional

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

related
optional

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

reportingController string
optional

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

reportingInstance string
optional

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

series
optional

series is data about the Event series this event represents or nil if it's a singleton Event.

type string
optional

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

Unauthorized