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/BlogTest.php.
  • The Blog constants class and the BlogSettings, BlogSettingsUpdate, BlogPlanRun, BlogWebsiteTest, BlogKeyword, BlogArticle, BlogArticleFull, BlogArticleImage, BlogArticleWebhookPayload models.
  • WebhookEvent::article(). Webhook tests now sign a post.published delivery.
  • The README Blog section; the Webhooks::verify() example moved into the Webhooks section. CLAUDE.md resource list updated.
  • CHANGELOG: ### Removed under Unreleased.

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

fopost-laravel uses WebhookEvent::article() in its article receiver; its matching removal PR is separate.

Tests

./vendor/bin/phpunit: OK (237 tests, 1212 assertions). ./vendor/bin/phpcs: clean.

Release: next batch

Drop blog() for /v1/blog/* with its Blog constants, models, the
article.published payload and WebhookEvent::article(). blogs() stays.
@alihesari
alihesari merged commit 340d2ee into main Nov 2, 2026
3 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