I’d like to create posts using the wordpress rest api.
But I’m unsure how to add a featured\_image.
My images are stored in aws S3 bucket e.g. [https://bucket-26hjzf.s3.eu-west-2.amazonaws.com](https://bucket-26hjzf.s3.eu-west-2.amazonaws.com)/image.jpg
AND I want to upload 2 images for each featured\_image for a post – one 1200px wide and the same image 600px wide (for desktop and mobile).
Apologies if this is a bad question, I’m not very familiar with wordpress.