diff --git a/opensearchapi/api_nodes-stats.go b/opensearchapi/api_nodes-stats.go index b37c87d0..b9956086 100644 --- a/opensearchapi/api_nodes-stats.go +++ b/opensearchapi/api_nodes-stats.go @@ -112,6 +112,7 @@ type NodesStats struct { Repositories []json.RawMessage `json:"repositories"` AdmissionControl NodesStatsAdmissionControl `json:"admission_control"` Caches NodesStatsCaches `json:"caches"` + RemoteStore NodeStatsRemoteStore `json:"remote_store"` } // NodesStatsIndices is a sub type of NodesStats representing Indices information of the node @@ -729,3 +730,8 @@ type NodesStatsCaches struct { StoreName string `json:"store_name"` } `json:"request_cache"` } + +// NodeStatsRemoteStore is a sub type of NodesStats +type NodeStatsRemoteStore struct { + LastSuccessfulFetchOfPinnedTimestamps int `json:"last_successful_fetch_of_pinned_timestamps"` +}