We have made a few recent additions to our posting APIs that allow more control when creating posts.
You can now
- Set a custom slug for the post permalink using the
slug
parameter. - Disable or enable the publicizing of posts, or only publicize to certain services (Twitter, Facebook, etc) using the
publicize
parameter. - Pass a custom message to the above publicize services using the
publicize_message
parameter. - Set the status of a post as “pending review” by passing
pending
to thestatus
parameter.
When getting a post you can now
- Find the featured image for a post using
featured_image
which will return a URL.