-
Notifications
You must be signed in to change notification settings - Fork 44
Chat: Move to V4 Message Structure #2766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests
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. Comment |
456ad1e
to
57dfd7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @AndyTWF's comments about the version
vs action
wording. Looks good otherwise!
Maybe not for this PR as it's not introduced here, but should we ever mention that the timestamps are in ms? unix-timestamp
doesn't mean anything in the OpenAPI spec but I think "unix timestamp" implies seconds by default. Maybe just call it unix-timestamp-ms
?
- Replace `createdAt` with `timestamp`. - Update `version` field to include nested properties (`serial`, `timestamp`, `clientId`, `description`, `metadata`).
- Bump API version to 4.0.0. - Replace `createdAt` with `timestamp`. - Update `version` to include nested properties (`serial`, `timestamp`, `clientId`, `description`, `metadata`). - send endpoint now returns a nested message object, which contains serial and timestamp. - update and delete endpoints no longer return version and timestamp, these are contained within the returned message struct.
REST endpoints now return the message fields at the root level of the response payload
0f6ede2
to
0c94476
Compare
Description
CHA-1159
Updates the docs to represent the changed Pv4 format.
Checklist