You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document rejected_at on the thread message delivery - #75
The Get a thread API now returns rejected_at in the delivery object of sent (outbound) messages. It is the time a copy was rejected before sending, for example because the recipient is on the suppression list, and null otherwise. The spec did not document it.
Changes
inbound.openapi.yml, ThreadMessageDelivery: add rejected_at (date-time, nullable) and list it in required, like delivered_at and bounced_at
Add rejected_at: null to the Get a thread response example
How to test
Inbound API reference → Get a thread → the delivery object lists rejected_at with its description, and the response example includes it
spectral lint specs/inbound.openapi.yml reports no errors
Summary by CodeRabbit
Documentation
Updated the ThreadMessageDelivery API example and schema to include rejected_at as a nullable date-time field.
No actionable comments were generated in the recent review.
Walkthrough
The ThreadMessageDelivery schema now requires a nullable rejected_at date-time field. The outbound-message delivery example includes rejected_at with a null value.
Changes: Delivery schema update
Layer / File(s)
Summary
Define rejected_at in the delivery schema specs/inbound.openapi.yml
ThreadMessageDelivery requires rejected_at and defines it as a nullable date-time. The delivery example sets the field to null.
This documentation-only change adds a nullable rejected_at field to the thread message delivery schema and example. The spec and its example are consistent, and no merge-blocking risk was found. The author should still confirm that the live API returns the key on every sent-message delivery and run the spectral lint.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "Document rejected_at on the thread message delivery" matches the changeset. The change adds the rejected_at field to ThreadMessageDelivery in specs/inbound.openapi.yml, marks it required, a…
Description check
The description follows the repository template. It has Motivation, Changes, and How to test sections, and it explains why the field is needed: the Get a thread API returns rejected_at for outbound me…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Document rejected_at on the thread message delivery" matches the changeset. The change adds the rejected_at field to ThreadMessageDelivery in specs/inbound.openapi.yml, marks it required, and adds rejected_at: null to the Get a thread response example. The title names the field and the object, so a reviewer can tell the main change from the title alone.
Full details: Description check
Explanation
The description follows the repository template. It has Motivation, Changes, and How to test sections, and it explains why the field is needed: the Get a thread API returns rejected_at for outbound messages and the spec did not document it. The Changes section lists the schema edit and the example edit. The How to test section gives two concrete checks. The Images and GIFs section from the template is missing. It applies to UI changes, and this change is a spec-only edit, so the omission is acceptable.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 8c4080e9-f5a9-4dd7-8a9d-30b17d2c89f3
Commits
Reviewing files that changed from the base of the PR and between c4f3994 and e0bb505.
Files selected for processing: 1
specs/inbound.openapi.yml
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The Get a thread API now returns
rejected_atin thedeliveryobject of sent (outbound) messages. It is the time a copy was rejected before sending, for example because the recipient is on the suppression list, andnullotherwise. The spec did not document it.Changes
inbound.openapi.yml,ThreadMessageDelivery: addrejected_at(date-time, nullable) and list it inrequired, likedelivered_atandbounced_atrejected_at: nullto the Get a thread response exampleHow to test
deliveryobject listsrejected_atwith its description, and the response example includes itspectral lint specs/inbound.openapi.ymlreports no errorsSummary by CodeRabbit
ThreadMessageDeliveryAPI example and schema to includerejected_atas a nullable date-time field.