Upload your own image for a post
upload_post_imageAdds a customer-supplied picture (base64 data) as a candidate for the post, free of charge; it does not count as an image change. Then call apply_post_image with the returned candidate id. Pro and above.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to act on. One of: fencestainingdenver.com. | |
| postId | Yes | ||
| target | No | Which image: 'featured' (default) or 'inline:<n>' for an in-article image listed by get_post_image. | |
| fileData | Yes | The image as a data: URL or bare base64 (JPG or PNG, under about 7MB). Remote URLs are not accepted. |