@ GET @ Path ( "/{variantId}/installations/" ) @ Produces ( MediaType . APPLICATION_JSON ) @ GZIP public Response exportInstallations ( @ PathParam ( "variantId" ) String variantId ) { return Response . ok ( getSearch ( ) . findAllInstallationsByVariantForDeveloper ( variantId , 0 , Integer . MAX_VALUE , null ) . getResultList ( ) ) . build ( ) ; }
Endpoint for exporting as JSON file device installations for a given variant . Only Keycloak authenticated can access it