How to check if an image exists on my account?

Follow

Comments

3 comments

  • Avatar
    funky_jnto

    An exception is not thrown by explicit() to a deleted image.

    How to determine deleted or not?

  • Avatar
    Maor Gariv

    Hi,

    Thanks for reaching out.

    In case the resource has a backup, the deleted image (i.e., the placeholder) will indeed come up in the explicit call. I went ahead and opened a feature request to handle this situation (return a placeholder=>true to indicate a deleted resource).

    Please note that a HEAD request or using our Admin API's resource will give the correct result.

     

    Hope it helps!

    Best,

    Maor

  • Avatar
    Maor Gariv

    Hey all,

    Happy to update that we now return the placeholder parameter when executing Explicit on a resource (similar to the way we return it in the upload response), as requested in this thread:)

    Best regards,

    Maor

Please sign in to leave a comment.