Upload Ghost Post Image with API?

Hey everyone!

Is it possible to upload an accompanying Blog post image (like the post image) to a blog post via the Admin API?

Hey @Pranav_Pata :wave:

You would have to upload the images first and then set the feature image

https://ghost.org/docs/api/v3/admin/#images

Thanks for the speedy reply!

So there’s no way to say the feature image is located at some external link?

Also how do you go about this? I understand uploading the image, but how would you set the @site.cover_image to this uploaded image?

Update:

From initial testing it seems like POSTing to the Ghost API and including ‘feature_image’: “” to the post set works.

Thanks for the help.