Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
const FILE_NAME_FORMAT = '/%s/%s/%s';
const IMAGE_PATH_FORMAT = '%s/pub/media/catalog/product/%s';
Code Block
<route url="/V1/thumbnails/remove/sku/:sku" method="DELETE">
    <service class="MageSuite\ThumbnailRemove\Api\ThumbnailRemoveInterface" method="removeBySku"/>
    <resources>
        <resource ref="self"/>
    </resources>
</route>
<route url="/V1/thumbnails/remove/name/:name" method="DELETE">
    <service class="MageSuite\ThumbnailRemove\Api\ThumbnailRemoveInterface" method="removeByName"/>
    <resources>
        <resource ref="self"/>
    </resources>
</route>

Note

Backend documentation and general review is needed.