package org.ovirt.engine.api.resource;

import javax.ws.rs.Path;
import javax.ws.rs.Produces;

import org.ovirt.engine.api.model.Image;
import org.ovirt.engine.api.model.Images;

@Path("/images")
@Produces({ApiMediaType.APPLICATION_XML, ApiMediaType.APPLICATION_JSON, ApiMediaType.APPLICATION_X_YAML})
public interface ImagesResource extends ReadOnlyResources<Image, Images> {

}

package org.ovirt.engine.api.resource;

import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

import org.ovirt.engine.api.model.Image;
import org.ovirt.engine.api.model.Images;

@Path("/images")
@Produces({ApiMediaType.APPLICATION_XML, ApiMediaType.APPLICATION_JSON, ApiMediaType.APPLICATION_X_YAML})
public interface ImagesResource extends ReadOnlyResources<Image, Images> {

    @Path("{identity}")
    @Override
    public ImageResource getDeviceSubResource(@PathParam("identity") String id);

}

fix rsdl generation for import glance image