Repository navigation
Conversation
The chat adapter's signature check moves to fopost.webhooks so any delivery, including the blog Website target, verifies through the same code path.
This was referenced Oct 11, 2026
This branch has not been deployed
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.
What
client.blog: settings (get_settings,update_settings,rotate_website_secret,test_website), keywords (list_keywords,plan_keywords,add_keyword,update_keyword,delete_keyword) and articles (list_articles,request_article,get_article,update_article,regenerate_article,publish_article,reject_article,delete_article) over/v1/blog, withBlogSettings,BlogKeyword,BlogArticle,BlogArticleFull,BlogArticleImagemodels and the status/target tuples.fopost.webhooks.verify(root exportverify_webhook): raw-body HMAC check withhmac.compare_digest, timestamped signature preferred with a 300 s tolerance, body-only signature as fallback, returns the{event, data, timestamp}envelope.ArticlePublishedPayloadtypesarticle.published.ChatAdapter.verify_webhooknow delegates to the shared verifier; error codes unchanged.workspaceIdtravels camelCase on every blog route (query on reads and per-id routes, body on the collection POST/PATCH), matching the handler.How to verify
tests/test_blog.pycovers path, method, query and body for every route plus the 402 and 409 mappings;tests/test_webhooks.pycovers valid timestamped, tampered body, stale timestamp and legacy body-only signatures.Release
No version bump and no tag: releases are batched.
fopost-djangoandfopost-fastapineed no change (they re-export the client; new namespace is additive).