Examples of updating Blog Posts programmatically?
Closed this issue · 3 comments
stevenmaguire commented
@jakelumetta do you have examples of how to update a Blog Post programmatically, using this SDK? If it's within reach, examples of updating Pages would be helpful too!
jakelumetta commented
@stevenmaguire the SDK doesn't support Write operations currently so you'll want to do HTTP requests directly to our API.
- Here's how to update a blog post: https://buttercms.com/docs/api/#update-blog-post-via-write-api
- Update Page: https://buttercms.com/docs/api/#update-page-via-write-api
stevenmaguire commented
Thanks @jakelumetta!
If I can get something going, are you open to a pull request? I'd also like to add some better support for serializing/deserializing the POPOs in this SDK.
jakelumetta commented
Yeah that sounds great! Would love to take a look at a PR.
…On Thu, Sep 15, 2022 at 3:46 PM Steven Maguire ***@***.***> wrote:
Thanks @jakelumetta <https://github.com/jakelumetta>!
If I can get something going, are you open to a pull request? I'd also
like to add some better support for serializing/deserializing the POPOs in
this SDK.
—
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABHI2LMU7T4EBQW5DKH523V6N4IDANCNFSM6AAAAAAQNT5TOE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>