Thank you for taking the time to look into this issue. Please let me explain a little more here:
To me, the update image request accepts three different operations for a reason. We should use the 'add' operation to add new image properties that do not currently exist on the image. We should use the 'replace' operation to change an existing image property's value. We should use the 'remove' operation to remove an existing image property.
The scenario that I am attempting here is to update the image by using the add operation to add an image property that already exists. Because the property already exists (the visibility property exists on all images by default), I would expect some sort of error response to be returned. I mention that I expect a 403, but a 409 would probably also be acceptable.
Please let me know if you have further questions. Thank you again.
Thank you for taking the time to look into this issue. Please let me explain a little more here:
To me, the update image request accepts three different operations for a reason. We should use the 'add' operation to add new image properties that do not currently exist on the image. We should use the 'replace' operation to change an existing image property's value. We should use the 'remove' operation to remove an existing image property.
The scenario that I am attempting here is to update the image by using the add operation to add an image property that already exists. Because the property already exists (the visibility property exists on all images by default), I would expect some sort of error response to be returned. I mention that I expect a 403, but a 409 would probably also be acceptable.
Please let me know if you have further questions. Thank you again.