@ RequestMapping ( value = "configurations" , method = RequestMethod . GET ) public Resources < StashConfiguration > getConfigurations ( ) { return Resources . of ( configurationService . getConfigurations ( ) , uri ( on ( getClass ( ) ) . getConfigurations ( ) ) ) . with ( Link . CREATE , uri ( on ( getClass ( ) ) . getConfigurationForm ( ) ) ) . with ( "_test" , uri ( on ( getClass ( ) ) . testConfiguration ( null ) ) , securityService . isGlobalFunctionGranted ( GlobalSettings . class ) ) ; }
Gets the configurations