# API 閘道器

> For AI agents: the complete glossary index is at [llms.txt](https://glossary.cncf.io/zh-tw/llms.txt).
> Markdown versions of every glossary page are available by appending `index.md` to the page URL.

<a id="what-it-is"></a>

## 是什麼

[API](https://glossary.cncf.io/zh-tw/application-programming-interface/) 閘道器是一個工具，
它聚集了多應用程式的 API，使它們可以透過單一的入口存取。
這使得組織能夠集中處理特定的功能（如身分驗證、授權或限制應用程式之間的請求數量）。
API 閘道器作為的公共介面，來為 API 使用者（通常是外部的）提供服務。

<a id="problem-it-addresses"></a>

## 解決的問題

如果您希望為外部使用者提供 API，您通常會希望有一個單一的入口點來管理所有的存取。
此外，API 閘道器可以讓您統一套用功能到所有的流量上，而不需要修改任何應用程式的程式碼。

<a id="how-it-helps"></a>

## 如何幫助我們

API 閘道器為應用程式中的各種 API 提供了一個單一存取點，
這使得組織能夠在集中處理跨域商業邏輯或安全邏輯，也讓應用程式使用者能夠透過訪問單一地址滿足所有需求。
API 閘道器可以透過為系統中所有Web服務的請求提供單一的存取點來簡化像安全性和[可觀測性](https://glossary.cncf.io/zh-tw/observability/)這樣的運營問題。
由於所有請求都流經 API 閘道器，它可以集中添加功能，如指標收集、速率限制和授權。

---

- Canonical URL: https://glossary.cncf.io/zh-tw/api-gateway/
- Status: Completed
- 最後編輯 October 13, 2023: ` Maintain labeling consistency 'architecture' and 'security' ` ([756b26a](https://github.com/cncf/glossary/commit/756b26aa617fd1ebf872746a0a58f2ba1cff95a5))
- Source: https://github.com/cncf/glossary/blob/main/content/zh-tw/api-gateway.md
- License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
