Skip to content

Conversation

@eddyjaga
Copy link
Collaborator

@eddyjaga eddyjaga commented Dec 16, 2025

Short Description / Link to Ticket

This pull request introduces the Webhook Jobs API, allowing users to retrieve and monitor webhook delivery jobs. It adds new methods for listing and viewing webhook jobs, supports filtering and pagination, improves response handling, and includes comprehensive documentation and tests. The version is bumped to 2.9.0.

Webhook Jobs API:

  • Added list_jobs and show_job methods to Webhook resource for retrieving webhook delivery jobs, with support for pagination, filtering by status (success/failed), and filtering by object_id. Includes parameter validation and detailed YARD documentation. [1] [2]
  • Implemented validation for the status parameter in webhook job queries, ensuring only allowed values are accepted.

Response Handling:

  • Enhanced the Response class to include jobs in RESPONSE_DATA_KEYS, enabling automatic extraction of job arrays from API responses.

Testing and Documentation:

  • Added a full RSpec test suite with 21 examples for the new webhook jobs endpoints, covering success, filtering, pagination, validation, and error scenarios.
  • Updated the changelog and version to 2.9.0, documenting the new features and enhancements. [1] [2]

Testing

Screenshot 2025-12-16 at 4 05 43 pm

Additional Notes

@eddyjaga eddyjaga changed the title webhook jobs webhook logs Dec 16, 2025
@eddyjaga eddyjaga merged commit fbb6011 into main Dec 16, 2025
2 checks passed
@eddyjaga eddyjaga deleted the feature/webhook-logs branch December 16, 2025 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants