class IngestExternalResource extends ApplicationStatusResource {

    @GET
    @Path("/ingests/{objectId}/manifests")
    @Produces(MediaType.APPLICATION_OCTET_STREAM)
    @Secured(permission = "ingests:id:manifests:read",
        description = "Récupérer le bordereau de versement pour une opération d'entrée donnée")
    public Response downloadIngestManifestsAsStream(@PathParam("objectId") String objectId) {
        return downloadObjectAsync(objectId, IngestCollection.MANIFESTS);
    }

    public  IngestExternalResource(
        IngestExternalConfiguration ingestExternalConfiguration,
        SecureEndpointRegistry secureEndpointRegistry,
        FormatIdentifierFactory formatIdentifierFactory,
        IngestInternalClientFactory ingestInternalClientFactory);

}