> For the complete documentation index, see [llms.txt](https://doczhcn.gitbook.io/etcd/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doczhcn.gitbook.io/etcd/index-1.md).

# 核心 API 参考文档

## 前言

内容来自 ectd3 的 [API reference](https://github.com/coreos/etcd/blob/master/Documentation/dev-guide/api_reference_v3.md)。

原文内容是从 .proto 文件生成的，service和方法定义/message定义一起构成一个庞大的单页HTML文件，不利于阅读。因此在翻译时，遵循gitbook的习惯，按照服务/方法分开形成章节结构。

主要内容在 message 的字段定义上，翻译时没有复制原文中从 .proto 文件生成的表格，而是直接在 .proto 文件的 message 定义上翻译，感觉更直观一些。

## 内容

已经整理并翻译的内容：

* [KV service](/etcd/index-1/kv_service.md)
* [Watch service](https://github.com/doczhcn/etcd/tree/7b0933e2f73373e907e67fabb9f04c50c0e48181/api/watch/watch_service.md)
* [Lease service](https://github.com/doczhcn/etcd/tree/7b0933e2f73373e907e67fabb9f04c50c0e48181/api/lease/lease_service.md)

尚未完成的内容:

* service Cluster
* service Maintenance
* service Auth
