API / APIGEE Gateway Interview Questions
What is Apigee API Hub and how does it relate to Apigee gateway?
Apigee API Hub is Google Cloud's centralised API registry and governance platform. It is distinct from the Apigee gateway -- while the gateway handles runtime traffic, API Hub provides design-time governance: a searchable catalogue of all APIs across an organisation, regardless of which gateway manages them.
| Aspect | Apigee Gateway | Apigee API Hub |
|---|---|---|
| Primary function | Runtime: proxy, secure, and manage API traffic | Design-time: register, discover, and govern API specifications |
| Traffic handling | Yes - routes and transforms every API call | No - does not touch API traffic |
| OpenAPI specs | Can import for documentation | Central registry for all API specs |
| API lifecycle | Deploy, version, deprecate proxies | Track APIs through design, build, deploy, deprecate stages |
| Multi-gateway support | Manages only Apigee proxies | Can register APIs from any gateway (Apigee, Kong, AWS, etc.) |
| Developer discovery | Developer portal | Cross-organisational API discovery |
# Apigee API Hub CLI (apihub CLI): # Register an API specification: apigeecli apihub apis create \ --org my-org \ --region us-central1 \ --id orders-api \ --display-name "Orders API" \ --description "Manages customer orders" # Upload an OpenAPI spec version: apigeecli apihub apis versions create \ --org my-org \ --region us-central1 \ --api-id orders-api \ --version-id v1 \ --spec-file ./openapi.yaml # API Hub lifecycle stages: # DESIGN -> BUILD -> DEPLOY -> DEPRECATE -> RETIRED # NOTE: When you deprovision Apigee API Hub, # it deletes all associated Apigee organisations with no instances.
More Related questions...