Repository navigation
feat(blogs): articles and products on a connected site - #36
Merged
Merged
Conversation
Reaches content the connected site already owns, by the platform's own ids: the blogs on a WordPress site or a Shopify store, the articles on a blog, and a Shopify store's products. update_article addresses the article by its own id and sends only the keyword arguments the caller passed, so editing a live post changes it in place instead of forking it into a duplicate. Reads need the posts scope; writes need publish.
alihesari
force-pushed
the
feature/remote-articles
branch
from
October 18, 2026 13:13
580e21a to
e7167d8
Compare
alihesari
force-pushed
the
feature/remote-articles
branch
from
October 18, 2026 13:14
e7167d8 to
dd9a09a
Compare
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.
Adds the
blogssurface from fopost/fopost#1072 to this client: the blogs, articles and products a connected site already owns, addressed by the platform's own ids rather than FoPost ids.updateArticlechanges the live article in place and never creates a second post on the site. Reads need thepostsscope; everything that writes to the site needspublishas well.The branch had decayed behind
main, so part of this is reconciliation rather than new work. Two things to know when reviewing:mainhas since gained its ownblogresource (the FoPost content engine, which writes articles). That is a different thing from thisblogsresource, which reads and edits what is already on the customer's site. They are adjacent names for unrelated surfaces; renaming either one is its own decision, not this merge's.{ data }. This client unwrapsdataonly when it is the response's sole key, so both shapes deserialize correctly and no change was needed; the list endpoints still carry the envelope.Stacking and release
Stacked on
feature/reddit-extras; merge that first. The last commit is the release prep for0.3.0: after this merges, tagmainasv0.3.0and the release workflow publishes.