Discussion:
how to get key history in etcdv3
Bhavesh Joshi
2017-09-26 05:28:48 UTC
Permalink
Hi,

I have an api which hit etcd using http, I need to get the key history like

*etcdctl get --prefix --rev=4 foo*

can I do it through the http/curl or I have to use etcdctl only?
Xiang Li
2017-09-26 19:10:05 UTC
Permalink
You could either use
grpc-gateway(https://github.com/coreos/etcd/blob/master/Documentation/dev-guide/api_grpc_gateway.md)
or use etcd clientv3(https://github.com/coreos/etcd/tree/master/clientv3).
Post by Bhavesh Joshi
Hi,
I have an api which hit etcd using http, I need to get the key history like
*etcdctl get --prefix --rev=4 foo*
can I do it through the http/curl or I have to use etcdctl only?
Loading...