@ RequestMapping ( value = "" , method = RequestMethod . GET ) public Resource < Info > info ( ) { return Resource . of ( infoService . getInfo ( ) , uri ( on ( getClass ( ) ) . info ( ) ) ) // API links . with ( "user" , uri ( on ( UserController . class ) . getCurrentUser ( ) ) ) // TODO Structure controller (--> projects, branches, etc.) // Info message . with ( "_applicationInfo" , uri ( on ( InfoController . class ) . applicationInfo ( ) ) ) ; }
General information about the application