Catalog Service API 1.0.0

Manages the catalog of products for the BookWorm platform, including books, authors, and categories

Servers

  • amqp://dev.eventbus:5672/amqp 0.9.1development

    RabbitMQ server for development environment

    Security:
    • User/Password

      An authentication method for the server

    • #env:development
  • amqp://stg.eventbus:5672/amqp 0.9.1staging

    RabbitMQ server for staging environment

    Security:
    • User/Password

      An authentication method for the server

    • #env:staging
  • amqp://qa.eventbus:5672/amqp 0.9.1qa

    RabbitMQ server for QA environment

    Security:
    • User/Password

      An authentication method for the server

    • #env:qa
  • amqp://prod.eventbus:5672/amqp 0.9.1production

    RabbitMQ server for production environment

    Security:
    • User/Password

      An authentication method for the server

    • #env:production

Operations

  • RECEIVE catalog-feedback-created

    Event emitted when a new feedback is successfully created

    Update book rating

    Represents a successful integration event when creating a feedback in the system

    Operation IDFeedbackCreatedIntegrationEvent

    Available only on servers:

    Accepts the following message:

    Message IDFeedbackCreatedIntegrationEvent.message
    allOf

    Event consumed when a feedback is successfully created, containing details about the feedback

    Examples

  • SEND rating-book-updated-rating-failed

    Event emitted when updating a book's rating fails

    Operation IDBookUpdatedRatingFailedIntegrationEvent

    Available only on servers:

    Accepts the following message:

    Message IDBookUpdatedRatingFailedIntegrationEvent.message
    allOf

    Event published when updating a book's rating fails, containing details about the failed transaction

    Examples

  • RECEIVE catalog-feedback-deleted

    Event emitted when a feedback is successfully deleted

    Update book rating

    Operation IDFeedbackDeletedIntegrationEvent

    Available only on servers:

    Accepts the following message:

    Message IDFeedbackDeletedIntegrationEvent.message
    allOf

    Event published when a feedback is successfully deleted, containing details about the deleted feedback

    Examples

Messages

  • #1
    Message IDfeedbackCreatedIntegrationEvent
    allOf

    Event consumed when a feedback is successfully created, containing details about the feedback

  • #2
    Message IDbookUpdatedRatingFailedIntegrationEvent
    allOf

    Event published when updating a book's rating fails, containing details about the failed transaction

  • #3
    Message IDfeedbackDeletedIntegrationEvent
    allOf

    Event published when a feedback is successfully deleted, containing details about the deleted feedback

Schemas

  • allOf

    Event consumed when a feedback is successfully created, containing details about the feedback

  • object

    Base event structure containing common metadata for all integration events in the system

  • allOf

    Event published when updating a book's rating fails, containing details about the failed transaction

  • allOf

    Event published when a feedback is successfully deleted, containing details about the deleted feedback