GET | /RestApi/diagnostics/scripts-combining |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetScriptsCombining
{
}
public static class ScriptsCombiningProxy
{
public Boolean CombineStyleSheets = null;
public Boolean CombineScriptsFrontEnd = null;
public Boolean CombineScriptsBackEnd = null;
public Boolean isCombineStyleSheets() { return CombineStyleSheets; }
public ScriptsCombiningProxy setCombineStyleSheets(Boolean value) { this.CombineStyleSheets = value; return this; }
public Boolean isCombineScriptsFrontEnd() { return CombineScriptsFrontEnd; }
public ScriptsCombiningProxy setCombineScriptsFrontEnd(Boolean value) { this.CombineScriptsFrontEnd = value; return this; }
public Boolean isCombineScriptsBackEnd() { return CombineScriptsBackEnd; }
public ScriptsCombiningProxy setCombineScriptsBackEnd(Boolean value) { this.CombineScriptsBackEnd = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /RestApi/diagnostics/scripts-combining HTTP/1.1 Host: www.asg.com.au Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"CombineStyleSheets":false,"CombineScriptsFrontEnd":false,"CombineScriptsBackEnd":false}