f267bd6cde
This change introduces new 'v2/stores/<store_id>/<image_id>' endpoint that accepts 'DELETE' method request. Once successful the request will delete the image <image_id>'s location that matches the store <store_id>. If the store is not read-only or return image in use exception the image data will be deleted. In the case of read-only store, the location will be removed and if the image in use is raised, the call will fail. bp: delete-from-store Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com> Change-Id: I1cb45026489a96a283b82e8e7efc9975c181fceb
10 lines
434 B
YAML
10 lines
434 B
YAML
---
|
|
features:
|
|
- |
|
|
As part of the multi-store efforts this release introduces deletion from
|
|
single store. Through new '/v2/stores' endpoint the API user can request
|
|
image to be deleted from single store instead of deleting the whole image.
|
|
This feature can be used to clean up store metadata in cases where the
|
|
image data has for some reason disappeared from the store already, except
|
|
410 Gone HTTP response.
|