public Optional < Plugin > show ( long pluginId , boolean detailed ) { QueryParameterList queryParams = new QueryParameterList ( ) ; queryParams . add ( "detailed" , Boolean . toString ( detailed ) ) ; return HTTP . GET ( String . format ( "/v2/plugins/%d.json" , pluginId ) , null , queryParams , PLUGIN ) ; }
Returns the plugin for the given plugin id .