client/splunk.js
function(callback) {
            callback = callback || function() {};
            
            var that = this;
            return this.get("setup", {}, function(err, response) {
                if (err) {
                    callback(err);
                } 
                else {
                    callback(null, response.data.entry.content, that);
                }
            });
        }
function(callback) {
            callback = callback || function() {};
            
            var that = this;
            return this.get("setup", {}, function(err, response) {
                if (err) {
                    callback(err);
                } 
                else {
                    callback(null, response.data.entry.content, that);
                }
            });
        }
function ( callback ) { callback = callback || function ( ) { } ; var that = this ; return this . get ( "setup" , { } , function ( err , response ) { if ( err ) { callback ( err ) ; } else { callback ( null , response . data . entry . content , that ) ; } } ) ; }
Retrieves the setup information for a Splunk app.

@example

var app = service.apps().item("app");
app.setup(function(err, info, search) {
console.log("SETUP INFO: ", info);
});

@param {Function} callback A function to call when setup information is retrieved: `(err, info, app)`.

@endpoint apps/local/{name}/setup
@method splunkjs.Service.Application
Retrieves the setup information for a Splunk app .