I'm using the WP REST API plugin V2 (http://wp-api.org/).
Can the API upload a featured image and generate the related meta data?
I know I can upload an image attachment (POST /wp-json/wp/v2/media) and then update the related article (PUT /wp-json/wp/v2/posts/ID) and make its "featured_image" key point to the attachment id.
But is this the right way to do this?
Is it possible to generate different (resized) versions of the featured image after upload, or does this require a custom endpoint?