List categories
Returns all categories known to the Catalog.
/api/v1/categoriesListCategories queries 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 (GET /catalog/api/v1/categories) to return all registered book categories as an unpaginated JSON array. The endpoint is publicly readable, returns [] with 200 OK when no categories exist, and caches the taxonomy.
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 | HTTP GET, application/json response |
| Gateway Endpoint | GET /catalog/api/v1/categories (service path /api/v1/categories) |
| Authentication & Authorization | None required (public read endpoint) |
| Idempotency / Concurrency | Read-only and naturally idempotent |
| Rate Limit / Caching | Global concurrency (100), per-IP fixed-window (30 req/min), and per-user token bucket (30 limit, 20 per 10s, queue 5); cached in L1 + Redis L2 |
| Contract Version | 1.0.0 (ApiVersions.V1) |
Request & Response Contract
Request Parameters
Accepts no path parameters, query parameters, or request body.
Success Response (200 OK)
Returns a JSON array of category objects (additionalProperties: false).
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
[].id | string (uuid) | Yes | Valid UUID | Unique identifier of the category |
[].name | string | null | Yes | Nullable | Category display name (null when unset) |
Behavior & Side Effects
- Read-through caching: Serves the category taxonomy from L1/Redis L2 cache and invalidates when categories are created, updated, or deleted.
- No state mutation: Pure read query with no database writes or integration events.
Error Responses
| Status / Code | Condition | Client Recovery Action |
|---|---|---|
429 Too Many Requests | Rate limit quota exceeded (Retry-After header included) | Wait for the Retry-After duration before retrying |
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 endpoints.
- CategoryEntityv1.0.0CategorySingle-level taxonomy classification grouping books by subject or genre within the product catalog.Ownercatalog-experience-teamOpen docs — Category entity model.
- List categories over gRPCQueryv1.0.0List categories over gRPCReturns all Catalog categories through the book.v1 gRPC contract.Ownercatalog-experience-teamSchemaDiagramOpen docs — Internal gRPC contract used by MCP Tools.
- Create categoryCommandv1.0.0Create categoryCreates a category in the Catalog.Ownercatalog-experience-teamSchemaDiagramOpen docs — Create a new catalog category.
List categories schema
This schema defines an array of objects. Each item in the array has the properties shown below.
Collection of categories returned by the Catalog API.
not allowedA UUID identifying the resource.
Categorie display name.