Replace image using the Upload API

bmcbridebmcbride Registered Users Posts: 7 Big grins

I am able to successfully upload an image to using the upload endpoint. However, when I try to replace an image using the same endpoint, it just ends up uploading a new image with a new URL. I set the header X-Smug-ImageUri: /api/v2/image/FrGGjcP-0. But in the results I get "StatusImageReplaceUri" : null. I am doing a POST, but have tried a PATCH as well. Is there a flag that I am missing, or something I need to do differently?

Tagged:

Comments

  • rainforest1155rainforest1155 Registered Users Posts: 4,566 Major grins

    It looks like the image in question has been deleted by now. If you still have a question on this, could you provide another example and also include the specific request you make and response you receive?

    Sebastian
    SmugMug Support Hero
Sign In or Register to comment.