This is also seen int he `ImageExtension.deleteImage` method.

The thing here is that the `ImageApi` is just the API interface with the REST annotations and there is no implementation.  It provides two methods, one accepting an integer (the id) and one accepting a string (the slug), and I see no elegant way to provide that convenience method. Did you have something in mind?