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.Disk;
import org.ovirt.engine.api.model.Disks;

@Path("/disks")
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON, MediaType.APPLICATION_X_YAML})
public interface StorageDomainContentDisksResource extends ReadOnlyDevicesResource<Disk, Disks> {
    @Path("{identity}")
    @Override
    public StorageDomainContentDiskResource getDeviceSubResource(@PathParam("identity") String id);
}

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.Disk;
import org.ovirt.engine.api.model.Disks;

@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON, MediaType.APPLICATION_X_YAML})
public interface StorageDomainContentDisksResource extends ReadOnlyDevicesResource<Disk, Disks> {
    @Path("{identity}")
    @Override
    public StorageDomainContentDiskResource getDeviceSubResource(@PathParam("identity") String id);
}

fix broken /api/disks collection