借助 Apigee API Hub,您可以整合和整理与组织相关的所有 API 的信息。API Hub 可让您捕获有关 API 的重要信息,以便开发者能够轻松发现和评估它们,并尽可能利用其他团队的工作。API 平台团队可以使用 API Hub 了解和管理其一系列 API。
图 1:借助 API Hub,您可以导入和注册 API、搜索 API、跟踪依赖项、对 API 规范执行 lint 检查等等。
集中式 API 管理的价值
许多组织都面临着开发和使用的 API 数量不断增加的挑战。随着 API 数量的增加,它们会变得更难跟踪,这可能会导致重复(而不是重复使用),从而出现低效情况,而且成本高昂。当 API 数量激增而没有制定设计标准和执行治理检查时,API 格局会变得不一致,从而拖慢团队的速度,而组织良好的 API 程序可以帮助他们加快速度。
API Hub 体验主要面向组织内其主要目标是查找、列出、比较和评估组织网络生态系统内外 API 的 API 使用方和提供方。借助 API Hub,您可以管理所有 API 及其关联实体的完整目录,包括 API 版本、依赖项、部署等。您还可以将 API 规范与 API 版本相关联;对于 OpenAPI 规范,API Hub 会解析这些规范并提取元数据,包括 API 操作。此外,您还可以将 API 版本关联到特定的 API 部署端点。
Apigee API Hub 的主要优势
API Hub 管理员可以:
添加、修改和管理所有 API 及其关联实体的完整目录。
凭借对 API 版本控制、将版本关联到 API 规范、显示从规范解析的操作、将 API 版本关联到特定部署端点等,管理整个 API 生命周期。
向 API 集添加属性,并使用各种生命周期阶段、合规性信息以及要跟踪的其他信息来标记属性。
根据一组丰富的属性过滤和搜索 API。
将 API Hub 关联到一个或多个 Apigee 和 Apigee Hybrid 项目,以自动提取 Apigee API 代理信息并将其存储在 API Hub 中。API Hub 会定期(每 6 小时一次)运行调度器,以连接到您的 Apigee 项目并获取最新的代理定义。
使用强大的语义搜索功能,通过自由形式搜索查找 API。
使用 lint 检查功能跟踪 API 规范文件的合规性。
通过对 API 中各种操作之间的依赖项建模,跟踪 API 的依赖项。
存储 API 生命周期数据。
借助 API Hub,您可以将有关 API 的丰富信息整合到一处,以改善一系列 API 的一致性、使用、重复使用和治理。
主要功能和概念
API 资源
API 资源表示贵组织的网络生态系统中存在的 API。存储在 API Hub 中的 API 资源可搜索,并提供有关 API 的详细操作和描述性信息,例如部署、版本、操作、生命周期阶段和其他关键属性。
版本控制
能够构建和组织 API 版本是 API Hub 的一项关键功能。API Hub 中的每个 API 资源都至少有一个与之关联的版本。您可以将版本视为 API 在某个时间点的状态。从根本上说,版本可帮助您根据底层的操作、部署和其他元数据集对 API 进行分组和整理。
自动注册 Apigee API 代理
自动注册是指将 API 数据从外部系统获取到 API Hub。您可以通过将运行时项目关联到 API Hub,直接在 API Hub 中注册 Apigee 或 Apigee 混合运行时项目中的所有代理。请参阅自动注册 Apigee 代理。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-28。"],[[["\u003cp\u003eApigee API hub centralizes and organizes information about an organization's APIs, making them easier to discover, evaluate, and reuse, ultimately improving efficiency.\u003c/p\u003e\n"],["\u003cp\u003eAPI hub manages a complete catalog of APIs and their entities, including versions, dependencies, and deployments, supporting the entire API lifecycle.\u003c/p\u003e\n"],["\u003cp\u003eAdministrators can manage APIs, add attributes, filter and search based on various characteristics, and link to Apigee projects for automatic proxy information.\u003c/p\u003e\n"],["\u003cp\u003eKey features include versioning, auto-registration of Apigee API proxies, spec parsing and linting, robust search capabilities, and dependency mapping to enhance API management.\u003c/p\u003e\n"],["\u003cp\u003eAPI hub allows you to track API compliance and model dependencies, enhancing governance, and facilitating the efficient management of the API ecosystem.\u003c/p\u003e\n"]]],[],null,["# What is Apigee API hub?\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\nApigee API hub lets you consolidate and organize information about all of the APIs of interest to\nyour organization. API hub lets you capture critical information about APIs that allows developers to discover\nand evaluate them easily and leverage the work of other teams wherever possible. API platform teams can use\nAPI hub to gain visibility into and manage their portfolio of APIs.\n**Figure 1.** API hub lets you import and register APIs, search APIs, track dependencies, perform linting on API specifications, and more.\n\nThe value of centralized API management\n---------------------------------------\n\n\nMany organizations are challenged by the increasing number of APIs that they\ndevelop and use. As the number of APIs increases, they become harder to track,\nwhich can lead to duplication rather than reuse, an expensive inefficiency.\nWhen APIs proliferate without design standards and governance checks, the\nAPI landscape grows inconsistent, slowing teams down, while a well-organized\nAPI program helps them go faster.\n\n\nThe API hub experience is primarily aimed at consumers and producers of APIs\nwithin an organization whose main concerns are finding, listing, comparing, and evaluating APIs\nboth within and external to the organization's network ecosystem.\nAPI hub allows you to manage a complete catalog of all your APIs along with their associated\nentities, including API versions, dependencies, deployments, and more. You can also associate\nAPI specifications with API versions, and for OpenAPI specs, API hub parses them and extracts\nmetadata, including API operations. In addition, you can link an API version to a particular\nAPI deployment endpoint.\n\nKey benefits of Apigee API hub\n------------------------------\n\n\nAPI hub administrators can:\n\n- Add, edit and manage a complete catalog of all your APIs along with their associated entities.\n- Manage the entire API lifecycle with support for versioning of APIs, linking versions to API specifications, surfacing the operations parsed from a specification, linking an API version to a particular deployment endpoint, and more.\n- Add attributes to your set of APIs and tag them with various lifecycle stages, compliance information, and other information that you wish to track.\n- Filter and search for APIs based on a rich set of attributes.\n- Link API hub to one or more Apigee and Apigee hybrid projects to automatically fetch Apigee API proxy information and store it in API hub. API hub periodically (once in six hours) runs a scheduler that connects to your Apigee project, and gets the latest proxy definitions.\n- Use powerful semantic search capabilities to find APIs with free-form search.\n- Track compliance for your API specification files using linting functionality.\n- Track dependencies for your APIs by modeling dependencies between various operations in your APIs.\n- Store API life cycle data.\n\n\nWith API hub, you bring rich information about your APIs together into\none place to accelerate the consistency, use, reuse, and governance of your API\nportfolio.\n\nKey features and concepts\n-------------------------\n\n#### API resources\n\nAn [API resource](./apis-intro) represents an API that exists within your\norganization's network ecosystem. API\nresources stored in API hub are searchable and provide detailed operational and descriptive\ninformation about the API such as deployments, versions, operations, lifecycle stage, and other key attributes.\n\n#### Versioning\n\nThe ability to model and organize [API versions](./versions-intro) is a key feature of API hub.\nEvery API resource in API hub has at least one version associated with it. You can\nthink of a version as the state of an API at a point in time. Fundamentally, versions\nhelp you group and organize your APIs based on underlying sets of operations, deployments,\nand other metadata.\n\n#### Auto-register Apigee API proxies\n\nAuto-registration refers to getting API data from external systems into API hub.\nYou can register all the proxies present in an Apigee or Apigee hybrid runtime project directly in API hub\nby attaching your runtime project to API hub. See [Auto-register Apigee proxies](./auto-register-apigee-proxies).\n\n#### Spec parsing and linting\n\nAnother key API hub feature is its ability to [parse certain API specifications](./specs-intro),\nsuch as OpenAPI specs, into their contained definitions, operations, and other key components,\nand store that information with an API resource. API hub also provides linting feedback\nfor imported specifications.\n\n#### Searching\n\nAPI hub's powerful [search capabilities](./search-apis) support both LLM-based\nfree-text and filter-based search operations that let you search based on any part\nof the API definition. These powerful search tools enable you to identify the API asset\nthat serves specific use cases so that you can either avoid rebuilding or duplicating API\nengineering efforts.\n\n#### API supply chain\n\nAPI hub [API supply chain](./api-supply-chain) helps you view and manage the operational\nrelationships or *dependencies* between your APIs. Finding and tracking an API's dependencies\nhelps you manage your API ecosystem more efficiently and troubleshoot broken API operations.\n\nWhat's next?\n------------\n\n- [Provision API hub](./provision)\n- [Quickstarts](./quickstart-intro)"]]