List categories over gRPC
Returns all Catalog categories through the book.v1 gRPC contract.
ListCategoriesGrpc invokes the internal book.v1.BookGrpcService/ListCategories gRPC unary RPC on Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid
discovery, and authoritative book metadata.
PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs to return all registered book categories without pagination. MCP ServerServicev1.0.0MCP ServerInternal stateless Streamable HTTP MCP service that exposes read-only
Catalog lookup tools and reusable AI prompts.
PublishesListBooksGrpc, GetBookDetailsGrpc +2Ownerai-capabilities-teamDiagramRepositoryOpen docs calls this RPC to power its list_categories tool.
Overview
| Property | Value |
|---|---|
| Bounded Context | Catalog |
| Owner Service | Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs |
| Protocol / Format | gRPC unary RPC (book.v1.BookGrpcService/ListCategories), Protobuf edition = "2023" |
| Gateway Endpoint | Internal gRPC RPC book.v1.BookGrpcService/ListCategories (not exposed via API Gateway) |
| Authentication & Authorization | Internal service-to-service anonymous read |
| Idempotency / Concurrency | Read-only and naturally idempotent |
| Rate Limit / Caching | Backed by PostgreSQL and cached in L1 + Redis L2 |
| Contract Version | 1.0.0 |
Request & Response Contract
Request Message (ListCategoriesRequest)
Empty Protobuf message with no fields.
Success Response (ListCategoriesResponse)
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
categories | CategoryItem[] | Yes | Tag 1 (repeated) | All catalog categories (empty collection if none exist) |
categories[].id | string (uuid) | Yes | Tag 1 | Category UUID |
categories[].name | string | Yes | Tag 2 (empty string if null) | Category display name |
Behavior & Side Effects
- Read-through caching: Serves the category taxonomy from L1/Redis L2 cache, shared with List categoriesQueryv1.0.0List categoriesReturns all categories known to the Catalog.Ownercatalog-experience-teamSchemaDiagramOpen docs.
- No state mutation: Pure read RPC with no database writes or integration events.
Error Responses
| Status / Code | Condition | Client Recovery Action |
|---|---|---|
Unavailable (14) | Catalog API is unreachable | Retry within the budgeted resilience policy |
Related Documentation
- Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs — Service overview, persistence, and gRPC services.
- MCP ServerServicev1.0.0MCP ServerInternal stateless Streamable HTTP MCP service that exposes read-only
Catalog lookup tools and reusable AI prompts.
PublishesListBooksGrpc, GetBookDetailsGrpc +2Ownerai-capabilities-teamDiagramRepositoryOpen docs — Primary caller exposing the
list_categoriesMCP tool. - CategoryEntityv1.0.0CategorySingle-level taxonomy classification grouping books by subject or genre within the product catalog.Ownercatalog-experience-teamOpen docs — Category entity model.
- List categoriesQueryv1.0.0List categoriesReturns all categories known to the Catalog.Ownercatalog-experience-teamSchemaDiagramOpen docs — Public HTTP endpoint (
GET /catalog/api/v1/categories).
List categories over gRPC schema
No fields defined