Repository navigation
feat(send): document listUnsubscribe, the sender's own one-click unsubscribe endpoint - #8
Merged
Merged
Conversation
…bscribe endpoint Re-syncs the vendored spec from the platform contract (sendly main e35618c2), where POST /api/v1/emails gained listUnsubscribe. send() forwards its body as given, so the field already works; this pins that with a test and documents it. The re-sync also brings operations this SDK does not implement yet: the mailbox conversation reads/reply/attachments and the domain logo, listed in NOT_YET_IMPLEMENTED; GET /api/users/me/projects, session-only, in NOT_SDK_CALLABLE; and the provider compat dialects under /api/compat/, excused by path because they are called by those providers' own SDKs. Kept in step with sendly-js#17.
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.
This is the Python half of DevinoSolutions/sendly-js#17.
POST /api/v1/emailsnow takeslistUnsubscribe(sendly#624, live once the platform deploys e35618c2).emails.sendalready forwards its body as given, so the field works today. This PR pins that with a test and documents it.What changes
tests/fixtures/openapi.jsonfrom the platform contract (sendly main, e35618c2).sync_spec.py --checkis in sync.test_send_forwards_the_senders_own_one_click_unsubscribe_endpoint.What the re-sync brought in that this SDK does not implement yet. The classification is the same as in sendly-js:
NOT_YET_IMPLEMENTEDGET /api/users/me/projectsNOT_SDK_CALLABLE/api/compat/_is_compat_dialect)Checks:
pytest(276),ruff check,ruff format --checkandmypy srcare all clean.Not released.