Add message type support for: publish, signal, history and subscribe#444
Open
Add message type support for: publish, signal, history and subscribe#444
publish, signal, history and subscribe#444Conversation
Add new publish parameters to specify `messageType` and `spaceId`. feat(signal): add message type support for `signal` API Add new signal parameters to specify `messageType` and `spaceId`. feat(history): add message type support for `history` API Make it possible to opt-out message type receive for stored messages and get `spaceId` for stored message.
Add new fetch batch history parameters to specify `includeMessageType` and `includeSpaceId`. feat(subscribe): return message type and space in listener Objects returned with message / signal listeners now have new `messageType` and `spaceId` fields.
CraigLn
approved these changes
Jan 24, 2023
Add `messageType` and `spaceId` to files API endpoints.
Add contract testing for file upload with `messageType` and `spaceId`.
jguz-pubnub
approved these changes
Feb 21, 2023
Add prefix to service provided message types. refactor(files): do not retry publish on 400 Stop file message publish attempts if server returned 400 status code.
Fix `PNMessageType` initialization when user-provided message type is empty.
refactor(message-type): rename `messageType` to `type` Rename field in responses and request configuration from `messageType` to `type` and update history endpoint to include flags.
Fix issue with subscribe contract test after field rename.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
feat(publish): add message type support for
publishAPIAdd new publish parameters to specify
messageTypeandspaceId.feat(signal): add message type support for
signalAPIAdd new signal parameters to specify
messageTypeandspaceId.feat(history): add message type support for
historyAPIMake it possible to opt-out message type receive for stored messages and get
spaceIdfor stored message.