@ GET @ Produces ( MediaType . APPLICATION_JSON ) public String [ ] get ( @ HeaderParam ( "Authorization" ) @ DefaultValue ( "no token" ) String auth ) throws Exception { if ( ! this . isAuth ( auth ) ) { throw new Exception ( "Unauthorized!" ) ; } return controller . getDisabled ( ) ; }
Retrieves a list of already disabled endpoints .