Skip to content

refactor: remove the retired blog API - #42

Merged
alihesari merged 1 commit into
mainfrom
refactor/remove-blog-api
Nov 2, 2026
Merged

alihesari merged 1 commit into
mainfrom
refactor/remove-blog-api

Conversation

@alihesari

Copy link
Copy Markdown
Member

What was removed

  • client.blog and BlogResource (/v1/blog: settings, website secret and test, keywords, articles) and tests/test_blog.py.
  • The Blog* models (BlogSettings, BlogSettingsUpdate, BlogPlanRun, BlogWebsiteTest, BlogKeyword, BlogArticle, BlogArticleFull, BlogArticleImage), the BLOG_* constants and literals, ArticlePublishedPayload, and article.published from the webhook event names.
  • The README Blog section; the verify_webhook example stays under "Verifying webhooks". Webhook tests now sign a post.published delivery.
  • CHANGELOG: ### Removed under Unreleased.

Kept: client.blogs (/v1/accounts/{id}/blogs/...), the article artifact type and the article platforms.

Tests

uv run ruff check . && uv run ruff format --check . && uv run mypy && uv run pytest: all pass (224 tests).

Release: next batch

Drop client.blog for /v1/blog with its Blog* models, BLOG_* constants,
ArticlePublishedPayload and the article.published event name.
client.blogs stays.
@alihesari
alihesari merged commit b48947b into main Nov 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant