swagger-ui_rails 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  //= require_directory lib
2
2
 
3
- $(function(){$.fn.vAlign=function(){return this.each(function(c){var a=$(this).height();var d=$(this).parent().height();var b=(d-a)/2;$(this).css("margin-top",b)})};$.fn.stretchFormtasticInputWidthToParent=function(){return this.each(function(b){var d=$(this).closest("form").innerWidth();var c=parseInt($(this).closest("form").css("padding-left"),10)+parseInt($(this).closest("form").css("padding-right"),10);var a=parseInt($(this).css("padding-left"),10)+parseInt($(this).css("padding-right"),10);$(this).css("width",d-c-a)})};$("form.formtastic li.string input, form.formtastic textarea").stretchFormtasticInputWidthToParent();$("ul.downplayed li div.content p").vAlign();$("form.sandbox").submit(function(){var a=true;$(this).find("input.required").each(function(){$(this).removeClass("error");if($(this).val()==""){$(this).addClass("error");$(this).wiggle();a=false}});return a})});function clippyCopiedCallback(b){$("#api_key_copied").fadeIn().delay(1000).fadeOut()}function log(){if(window.console){console.log.apply(console,arguments)}}if(Function.prototype.bind&&console&&typeof console.log=="object"){["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(a){console[a]=this.bind(console[a],console)},Function.prototype.call)}var Docs={shebang:function(){var b=$.param.fragment().split("/");b.shift();switch(b.length){case 1:var d="resource_"+b[0];Docs.expandEndpointListForResource(b[0]);$("#"+d).slideto({highlight:false});break;case 2:Docs.expandEndpointListForResource(b[0]);$("#"+d).slideto({highlight:false});var c=b.join("_");var a=c+"_content";Docs.expandOperation($("#"+a));$("#"+c).slideto({highlight:false});break}},toggleEndpointListForResource:function(b){var a=$("li#resource_"+Docs.escapeResourceName(b)+" ul.endpoints");if(a.is(":visible")){Docs.collapseEndpointListForResource(b)}else{Docs.expandEndpointListForResource(b)}},expandEndpointListForResource:function(b){var b=Docs.escapeResourceName(b);if(b==""){$(".resource ul.endpoints").slideDown();return}$("li#resource_"+b).addClass("active");var a=$("li#resource_"+b+" ul.endpoints");a.slideDown()},collapseEndpointListForResource:function(b){var b=Docs.escapeResourceName(b);$("li#resource_"+b).removeClass("active");var a=$("li#resource_"+b+" ul.endpoints");a.slideUp()},expandOperationsForResource:function(a){Docs.expandEndpointListForResource(a);if(a==""){$(".resource ul.endpoints li.operation div.content").slideDown();return}$("li#resource_"+Docs.escapeResourceName(a)+" li.operation div.content").each(function(){Docs.expandOperation($(this))})},collapseOperationsForResource:function(a){Docs.expandEndpointListForResource(a);$("li#resource_"+Docs.escapeResourceName(a)+" li.operation div.content").each(function(){Docs.collapseOperation($(this))})},escapeResourceName:function(a){return a.replace(/[!"#$%&'()*+,.\/:;<=>?@\[\\\]\^`{|}~]/g,"\\$&")},expandOperation:function(a){a.slideDown()},collapseOperation:function(a){a.slideUp()}};(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.content_type=b(function(g,p,f,n,m){f=f||g.helpers;var l="",c,s,k,j,q=this,h="function",o=f.helperMissing,i=void 0;function e(x,w){var t="",v,u;t+="\n ";k=f.produces;v=k||x.produces;u=f.each;j=q.program(2,d,w);j.hash={};j.fn=j;j.inverse=q.noop;v=u.call(x,v,j);if(v||v===0){t+=v}t+="\n";return t}function d(w,v){var t="",u;t+='\n <option value="';u=w;if(typeof u===h){u=u.call(w,{hash:{}})}else{if(u===i){u=o.call(w,"this",{hash:{}})}}if(u||u===0){t+=u}t+='">';u=w;if(typeof u===h){u=u.call(w,{hash:{}})}else{if(u===i){u=o.call(w,"this",{hash:{}})}}if(u||u===0){t+=u}t+="</option>\n ";return t}function r(u,t){return'\n <option value="application/json">application/json</option>\n'}l+='<label for="contentType"></label>\n<select name="contentType">\n';k=f.produces;c=k||p.produces;s=f["if"];j=q.program(1,e,m);j.hash={};j.fn=j;j.inverse=q.program(4,r,m);c=s.call(p,c,j);if(c||c===0){l+=c}l+="\n</select>\n";return l})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.main=b(function(f,p,e,n,m){e=e||f.helpers;var k="",c,r,j,i,q=this,g="function",o=e.helperMissing,h=void 0,l=this.escapeExpression;function d(v,u){var s="",t;s+='\n , <span style="font-variant: small-caps">api version</span>: ';j=e.apiVersion;t=j||v.apiVersion;if(typeof t===g){t=t.call(v,{hash:{}})}else{if(t===h){t=o.call(v,"apiVersion",{hash:{}})}}s+=l(t)+"\n ";return s}k+="\n<div class='container' id='resources_container'>\n <ul id='resources'>\n </ul>\n\n <div class=\"footer\">\n <br>\n <br>\n <h4 style=\"color: #999\">[ <span style=\"font-variant: small-caps\">base url</span>: ";j=e.basePath;c=j||p.basePath;if(typeof c===g){c=c.call(p,{hash:{}})}else{if(c===h){c=o.call(p,"basePath",{hash:{}})}}k+=l(c)+"\n ";j=e.apiVersion;c=j||p.apiVersion;r=e["if"];i=q.program(1,d,m);i.hash={};i.fn=i;i.inverse=q.noop;c=r.call(p,c,i);if(c||c===0){k+=c}k+="]</h4>\n </div>\n</div>\n";return k})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.operation=b(function(h,u,s,m,w){s=s||h.helpers;var t="",j,g,i,q,p=this,e="function",r=s.helperMissing,c=void 0,d=this.escapeExpression;function o(A,z){var x="",y;x+="\n <h4>Implementation Notes</h4>\n <p>";i=s.notes;y=i||A.notes;if(typeof y===e){y=y.call(A,{hash:{}})}else{if(y===c){y=r.call(A,"notes",{hash:{}})}}if(y||y===0){x+=y}x+="</p>\n ";return x}function n(y,x){return'\n <h4>Response Class</h4>\n <p><span class="model-signature" /></p>\n <br/>\n <div class="content-type" />\n '}function l(y,x){return'\n <h4>Parameters</h4>\n <table class=\'fullwidth\'>\n <thead>\n <tr>\n <th style="width: 100px; max-width: 100px">Parameter</th>\n <th style="width: 310px; max-width: 310px">Value</th>\n <th style="width: 200px; max-width: 200px">Description</th>\n <th style="width: 100px; max-width: 100px">Parameter Type</th>\n <th style="width: 220px; max-width: 230px">Data Type</th>\n </tr>\n </thead>\n <tbody class="operation-params">\n\n </tbody>\n </table>\n '}function k(y,x){return"\n <div style='margin:0;padding:0;display:inline'></div>\n <h4>Error Status Codes</h4>\n <table class='fullwidth'>\n <thead>\n <tr>\n <th>HTTP Status Code</th>\n <th>Reason</th>\n </tr>\n </thead>\n <tbody class=\"operation-status\">\n \n </tbody>\n </table>\n "}function f(y,x){return"\n "}function v(y,x){return"\n <div class='sandbox_header'>\n <input class='submit' name='commit' type='button' value='Try it out!' />\n <a href='#' class='response_hider' style='display:none'>Hide Response</a>\n <img alt='Throbber' class='response_throbber' src='/assets/throbber.gif' style='display:none' />\n </div>\n "}t+="\n <ul class='operations' >\n <li class='";i=s.httpMethod;j=i||u.httpMethod;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"httpMethod",{hash:{}})}}t+=d(j)+" operation' id='";i=s.resourceName;j=i||u.resourceName;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"resourceName",{hash:{}})}}t+=d(j)+"_";i=s.nickname;j=i||u.nickname;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"nickname",{hash:{}})}}t+=d(j)+"_";i=s.httpMethod;j=i||u.httpMethod;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"httpMethod",{hash:{}})}}t+=d(j)+"_";i=s.number;j=i||u.number;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"number",{hash:{}})}}t+=d(j)+"'>\n <div class='heading'>\n <h3>\n <span class='http_method'>\n <a href='#!/";i=s.resourceName;j=i||u.resourceName;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"resourceName",{hash:{}})}}t+=d(j)+"/";i=s.nickname;j=i||u.nickname;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"nickname",{hash:{}})}}t+=d(j)+"_";i=s.httpMethod;j=i||u.httpMethod;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"httpMethod",{hash:{}})}}t+=d(j)+"_";i=s.number;j=i||u.number;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"number",{hash:{}})}}t+=d(j)+'\' class="toggleOperation">';i=s.httpMethod;j=i||u.httpMethod;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"httpMethod",{hash:{}})}}t+=d(j)+"</a>\n </span>\n <span class='path'>\n <a href='#!/";i=s.resourceName;j=i||u.resourceName;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"resourceName",{hash:{}})}}t+=d(j)+"/";i=s.nickname;j=i||u.nickname;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"nickname",{hash:{}})}}t+=d(j)+"_";i=s.httpMethod;j=i||u.httpMethod;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"httpMethod",{hash:{}})}}t+=d(j)+"_";i=s.number;j=i||u.number;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"number",{hash:{}})}}t+=d(j)+'\' class="toggleOperation">';i=s.path;j=i||u.path;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"path",{hash:{}})}}t+=d(j)+"</a>\n </span>\n </h3>\n <ul class='options'>\n <li>\n <a href='#!/";i=s.resourceName;j=i||u.resourceName;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"resourceName",{hash:{}})}}t+=d(j)+"/";i=s.nickname;j=i||u.nickname;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"nickname",{hash:{}})}}t+=d(j)+"_";i=s.httpMethod;j=i||u.httpMethod;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"httpMethod",{hash:{}})}}t+=d(j)+"_";i=s.number;j=i||u.number;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"number",{hash:{}})}}t+=d(j)+'\' class="toggleOperation">';i=s.summary;j=i||u.summary;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"summary",{hash:{}})}}if(j||j===0){t+=j}t+="</a>\n </li>\n </ul>\n </div>\n <div class='content' id='";i=s.resourceName;j=i||u.resourceName;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"resourceName",{hash:{}})}}t+=d(j)+"_";i=s.nickname;j=i||u.nickname;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"nickname",{hash:{}})}}t+=d(j)+"_";i=s.httpMethod;j=i||u.httpMethod;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"httpMethod",{hash:{}})}}t+=d(j)+"_";i=s.number;j=i||u.number;if(typeof j===e){j=j.call(u,{hash:{}})}else{if(j===c){j=r.call(u,"number",{hash:{}})}}t+=d(j)+"_content' style='display:none'>\n ";i=s.notes;j=i||u.notes;g=s["if"];q=p.program(1,o,w);q.hash={};q.fn=q;q.inverse=p.noop;j=g.call(u,j,q);if(j||j===0){t+=j}t+="\n ";i=s.responseClass;j=i||u.responseClass;g=s["if"];q=p.program(3,n,w);q.hash={};q.fn=q;q.inverse=p.noop;j=g.call(u,j,q);if(j||j===0){t+=j}t+="\n <form accept-charset='UTF-8' class='sandbox'>\n <div style='margin:0;padding:0;display:inline'></div>\n ";i=s.parameters;j=i||u.parameters;g=s["if"];q=p.program(5,l,w);q.hash={};q.fn=q;q.inverse=p.noop;j=g.call(u,j,q);if(j||j===0){t+=j}t+="\n ";i=s.errorResponses;j=i||u.errorResponses;g=s["if"];q=p.program(7,k,w);q.hash={};q.fn=q;q.inverse=p.noop;j=g.call(u,j,q);if(j||j===0){t+=j}t+="\n ";i=s.isReadOnly;j=i||u.isReadOnly;g=s["if"];q=p.program(9,f,w);q.hash={};q.fn=q;q.inverse=p.program(11,v,w);j=g.call(u,j,q);if(j||j===0){t+=j}t+="\n </form>\n <div class='response' style='display:none'>\n <h4>Request URL</h4>\n <div class='block request_url'></div>\n <h4>Response Body</h4>\n <div class='block response_body'></div>\n <h4>Response Code</h4>\n <div class='block response_code'></div>\n <h4>Response Headers</h4>\n <div class='block response_headers'></div>\n </div>\n </div>\n </li>\n </ul>\n";return t})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param=b(function(h,v,t,m,y){t=t||h.helpers;var u="",j,g,i,r,q=this,e="function",s=t.helperMissing,c=void 0,d=this.escapeExpression;function p(D,C){var z="",B,A;z+="\n ";i=t.isFile;B=i||D.isFile;A=t["if"];r=q.program(2,o,C);r.hash={};r.fn=r;r.inverse=q.program(4,n,C);B=A.call(D,B,r);if(B||B===0){z+=B}z+="\n ";return z}function o(C,B){var z="",A;z+='\n <input type="file" name=\'';i=t.name;A=i||C.name;if(typeof A===e){A=A.call(C,{hash:{}})}else{if(A===c){A=s.call(C,"name",{hash:{}})}}z+=d(A)+"'/>\n ";return z}function n(D,C){var z="",B,A;z+="\n ";i=t.defaultValue;B=i||D.defaultValue;A=t["if"];r=q.program(5,l,C);r.hash={};r.fn=r;r.inverse=q.program(7,k,C);B=A.call(D,B,r);if(B||B===0){z+=B}z+="\n ";return z}function l(C,B){var z="",A;z+="\n <textarea class='body-textarea' name='";i=t.name;A=i||C.name;if(typeof A===e){A=A.call(C,{hash:{}})}else{if(A===c){A=s.call(C,"name",{hash:{}})}}z+=d(A)+"'>";i=t.defaultValue;A=i||C.defaultValue;if(typeof A===e){A=A.call(C,{hash:{}})}else{if(A===c){A=s.call(C,"defaultValue",{hash:{}})}}z+=d(A)+"</textarea>\n ";return z}function k(C,B){var z="",A;z+="\n <textarea class='body-textarea' name='";i=t.name;A=i||C.name;if(typeof A===e){A=A.call(C,{hash:{}})}else{if(A===c){A=s.call(C,"name",{hash:{}})}}z+=d(A)+'\'></textarea>\n <br />\n <div class="content-type" />\n ';return z}function f(D,C){var z="",B,A;z+="\n ";i=t.defaultValue;B=i||D.defaultValue;A=t["if"];r=q.program(10,x,C);r.hash={};r.fn=r;r.inverse=q.program(12,w,C);B=A.call(D,B,r);if(B||B===0){z+=B}z+="\n ";return z}function x(C,B){var z="",A;z+="\n <input class='parameter' minlength='0' name='";i=t.name;A=i||C.name;if(typeof A===e){A=A.call(C,{hash:{}})}else{if(A===c){A=s.call(C,"name",{hash:{}})}}z+=d(A)+"' placeholder='' type='text' value='";i=t.defaultValue;A=i||C.defaultValue;if(typeof A===e){A=A.call(C,{hash:{}})}else{if(A===c){A=s.call(C,"defaultValue",{hash:{}})}}z+=d(A)+"'/>\n ";return z}function w(C,B){var z="",A;z+="\n <input class='parameter' minlength='0' name='";i=t.name;A=i||C.name;if(typeof A===e){A=A.call(C,{hash:{}})}else{if(A===c){A=s.call(C,"name",{hash:{}})}}z+=d(A)+"' placeholder='' type='text' value=''/>\n ";return z}u+="<td class='code'>";i=t.name;j=i||v.name;if(typeof j===e){j=j.call(v,{hash:{}})}else{if(j===c){j=s.call(v,"name",{hash:{}})}}u+=d(j)+"</td>\n<td>\n\n ";i=t.isBody;j=i||v.isBody;g=t["if"];r=q.program(1,p,y);r.hash={};r.fn=r;r.inverse=q.program(9,f,y);j=g.call(v,j,r);if(j||j===0){u+=j}u+="\n\n</td>\n<td>";i=t.description;j=i||v.description;if(typeof j===e){j=j.call(v,{hash:{}})}else{if(j===c){j=s.call(v,"description",{hash:{}})}}if(j||j===0){u+=j}u+="</td>\n<td>";i=t.paramType;j=i||v.paramType;if(typeof j===e){j=j.call(v,{hash:{}})}else{if(j===c){j=s.call(v,"paramType",{hash:{}})}}if(j||j===0){u+=j}u+='</td>\n<td>\n <span class="model-signature"></span>\n</td>\n\n';return u})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_list=b(function(h,v,t,m,x){t=t||h.helpers;var u="",k,g,j,r,q=this,e="function",s=t.helperMissing,c=void 0,d=this.escapeExpression;function p(z,y){return"\n "}function o(C,B){var y="",A,z;y+="\n ";j=t.defaultValue;A=j||C.defaultValue;z=t["if"];r=q.program(4,n,B);r.hash={};r.fn=r;r.inverse=q.program(6,l,B);A=z.call(C,A,r);if(A||A===0){y+=A}y+="\n ";return y}function n(z,y){return"\n "}function l(z,y){return"\n <option selected=\"\" value=''></option>\n "}function i(C,B){var y="",A,z;y+="\n ";j=t.isDefault;A=j||C.isDefault;z=t["if"];r=q.program(9,f,B);r.hash={};r.fn=r;r.inverse=q.program(11,w,B);A=z.call(C,A,r);if(A||A===0){y+=A}y+="\n ";return y}function f(B,A){var y="",z;y+="\n <option value='";j=t.value;z=j||B.value;if(typeof z===e){z=z.call(B,{hash:{}})}else{if(z===c){z=s.call(B,"value",{hash:{}})}}y+=d(z)+"'>";j=t.value;z=j||B.value;if(typeof z===e){z=z.call(B,{hash:{}})}else{if(z===c){z=s.call(B,"value",{hash:{}})}}y+=d(z)+" (default)</option>\n ";return y}function w(B,A){var y="",z;y+="\n <option value='";j=t.value;z=j||B.value;if(typeof z===e){z=z.call(B,{hash:{}})}else{if(z===c){z=s.call(B,"value",{hash:{}})}}y+=d(z)+"'>";j=t.value;z=j||B.value;if(typeof z===e){z=z.call(B,{hash:{}})}else{if(z===c){z=s.call(B,"value",{hash:{}})}}y+=d(z)+"</option>\n ";return y}u+="<td class='code'>";j=t.name;k=j||v.name;if(typeof k===e){k=k.call(v,{hash:{}})}else{if(k===c){k=s.call(v,"name",{hash:{}})}}u+=d(k)+"</td>\n<td>\n <select class='parameter' name='";j=t.name;k=j||v.name;if(typeof k===e){k=k.call(v,{hash:{}})}else{if(k===c){k=s.call(v,"name",{hash:{}})}}u+=d(k)+"'>\n ";j=t.required;k=j||v.required;g=t["if"];r=q.program(1,p,x);r.hash={};r.fn=r;r.inverse=q.program(3,o,x);k=g.call(v,k,r);if(k||k===0){u+=k}u+="\n ";j=t.allowableValues;k=j||v.allowableValues;k=(k===null||k===undefined||k===false?k:k.descriptiveValues);g=t.each;r=q.program(8,i,x);r.hash={};r.fn=r;r.inverse=q.noop;k=g.call(v,k,r);if(k||k===0){u+=k}u+="\n </select>\n</td>\n<td>";j=t.description;k=j||v.description;if(typeof k===e){k=k.call(v,{hash:{}})}else{if(k===c){k=s.call(v,"description",{hash:{}})}}if(k||k===0){u+=k}u+="</td>\n<td>";j=t.paramType;k=j||v.paramType;if(typeof k===e){k=k.call(v,{hash:{}})}else{if(k===c){k=s.call(v,"paramType",{hash:{}})}}if(k||k===0){u+=k}u+='</td>\n<td><span class="model-signature"></span></td>\n';return u})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_readonly=b(function(g,t,r,k,u){r=r||g.helpers;var s="",i,f,h,p,o=this,e="function",q=r.helperMissing,c=void 0,d=this.escapeExpression;function n(y,x){var v="",w;v+="\n <textarea class='body-textarea' readonly='readonly' name='";h=r.name;w=h||y.name;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"name",{hash:{}})}}v+=d(w)+"'>";h=r.defaultValue;w=h||y.defaultValue;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"defaultValue",{hash:{}})}}v+=d(w)+"</textarea>\n ";return v}function m(z,y){var v="",x,w;v+="\n ";h=r.defaultValue;x=h||z.defaultValue;w=r["if"];p=o.program(4,l,y);p.hash={};p.fn=p;p.inverse=o.program(6,j,y);x=w.call(z,x,p);if(x||x===0){v+=x}v+="\n ";return v}function l(y,x){var v="",w;v+="\n ";h=r.defaultValue;w=h||y.defaultValue;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"defaultValue",{hash:{}})}}v+=d(w)+"\n ";return v}function j(w,v){return"\n (empty)\n "}s+="<td class='code'>";h=r.name;i=h||t.name;if(typeof i===e){i=i.call(t,{hash:{}})}else{if(i===c){i=q.call(t,"name",{hash:{}})}}s+=d(i)+"</td>\n<td>\n ";h=r.isBody;i=h||t.isBody;f=r["if"];p=o.program(1,n,u);p.hash={};p.fn=p;p.inverse=o.program(3,m,u);i=f.call(t,i,p);if(i||i===0){s+=i}s+="\n</td>\n<td>";h=r.description;i=h||t.description;if(typeof i===e){i=i.call(t,{hash:{}})}else{if(i===c){i=q.call(t,"description",{hash:{}})}}if(i||i===0){s+=i}s+="</td>\n<td>";h=r.paramType;i=h||t.paramType;if(typeof i===e){i=i.call(t,{hash:{}})}else{if(i===c){i=q.call(t,"paramType",{hash:{}})}}if(i||i===0){s+=i}s+='</td>\n<td><span class="model-signature"></span></td>\n';return s})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_readonly_required=b(function(g,t,r,k,u){r=r||g.helpers;var s="",i,f,h,p,o=this,e="function",q=r.helperMissing,c=void 0,d=this.escapeExpression;function n(y,x){var v="",w;v+="\n <textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='";h=r.name;w=h||y.name;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"name",{hash:{}})}}v+=d(w)+"'>";h=r.defaultValue;w=h||y.defaultValue;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"defaultValue",{hash:{}})}}v+=d(w)+"</textarea>\n ";return v}function m(z,y){var v="",x,w;v+="\n ";h=r.defaultValue;x=h||z.defaultValue;w=r["if"];p=o.program(4,l,y);p.hash={};p.fn=p;p.inverse=o.program(6,j,y);x=w.call(z,x,p);if(x||x===0){v+=x}v+="\n ";return v}function l(y,x){var v="",w;v+="\n ";h=r.defaultValue;w=h||y.defaultValue;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"defaultValue",{hash:{}})}}v+=d(w)+"\n ";return v}function j(w,v){return"\n (empty)\n "}s+="<td class='code required'>";h=r.name;i=h||t.name;if(typeof i===e){i=i.call(t,{hash:{}})}else{if(i===c){i=q.call(t,"name",{hash:{}})}}s+=d(i)+"</td>\n<td>\n ";h=r.isBody;i=h||t.isBody;f=r["if"];p=o.program(1,n,u);p.hash={};p.fn=p;p.inverse=o.program(3,m,u);i=f.call(t,i,p);if(i||i===0){s+=i}s+="\n</td>\n<td>";h=r.description;i=h||t.description;if(typeof i===e){i=i.call(t,{hash:{}})}else{if(i===c){i=q.call(t,"description",{hash:{}})}}if(i||i===0){s+=i}s+="</td>\n<td>";h=r.paramType;i=h||t.paramType;if(typeof i===e){i=i.call(t,{hash:{}})}else{if(i===c){i=q.call(t,"paramType",{hash:{}})}}if(i||i===0){s+=i}s+='</td>\n<td><span class="model-signature"></span></td>\n';return s})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_required=b(function(h,v,t,m,A){t=t||h.helpers;var u="",j,g,i,r,q=this,e="function",s=t.helperMissing,c=void 0,d=this.escapeExpression;function p(F,E){var B="",D,C;B+="\n ";i=t.isFile;D=i||F.isFile;C=t["if"];r=q.program(2,o,E);r.hash={};r.fn=r;r.inverse=q.program(4,n,E);D=C.call(F,D,r);if(D||D===0){B+=D}B+="\n ";return B}function o(E,D){var B="",C;B+='\n <input type="file" name=\'';i=t.name;C=i||E.name;if(typeof C===e){C=C.call(E,{hash:{}})}else{if(C===c){C=s.call(E,"name",{hash:{}})}}B+=d(C)+"'/>\n ";return B}function n(F,E){var B="",D,C;B+="\n ";i=t.defaultValue;D=i||F.defaultValue;C=t["if"];r=q.program(5,l,E);r.hash={};r.fn=r;r.inverse=q.program(7,k,E);D=C.call(F,D,r);if(D||D===0){B+=D}B+="\n ";return B}function l(E,D){var B="",C;B+="\n <textarea class='body-textarea' placeholder='(required)' name='";i=t.name;C=i||E.name;if(typeof C===e){C=C.call(E,{hash:{}})}else{if(C===c){C=s.call(E,"name",{hash:{}})}}B+=d(C)+"'>";i=t.defaultValue;C=i||E.defaultValue;if(typeof C===e){C=C.call(E,{hash:{}})}else{if(C===c){C=s.call(E,"defaultValue",{hash:{}})}}B+=d(C)+"</textarea>\n ";return B}function k(E,D){var B="",C;B+="\n <textarea class='body-textarea' placeholder='(required)' name='";i=t.name;C=i||E.name;if(typeof C===e){C=C.call(E,{hash:{}})}else{if(C===c){C=s.call(E,"name",{hash:{}})}}B+=d(C)+'\'></textarea>\n <br />\n <div class="content-type" />\n ';return B}function f(F,E){var B="",D,C;B+="\n ";i=t.isFile;D=i||F.isFile;C=t["if"];r=q.program(10,z,E);r.hash={};r.fn=r;r.inverse=q.program(12,y,E);D=C.call(F,D,r);if(D||D===0){B+=D}B+="\n ";return B}function z(E,D){var B="",C;B+="\n <input class='parameter' class='required' type='file' name='";i=t.name;C=i||E.name;if(typeof C===e){C=C.call(E,{hash:{}})}else{if(C===c){C=s.call(E,"name",{hash:{}})}}B+=d(C)+"'/>\n ";return B}function y(F,E){var B="",D,C;B+="\n ";i=t.defaultValue;D=i||F.defaultValue;C=t["if"];r=q.program(13,x,E);r.hash={};r.fn=r;r.inverse=q.program(15,w,E);D=C.call(F,D,r);if(D||D===0){B+=D}B+="\n ";return B}function x(E,D){var B="",C;B+="\n <input class='parameter required' minlength='1' name='";i=t.name;C=i||E.name;if(typeof C===e){C=C.call(E,{hash:{}})}else{if(C===c){C=s.call(E,"name",{hash:{}})}}B+=d(C)+"' placeholder='(required)' type='text' value='";i=t.defaultValue;C=i||E.defaultValue;if(typeof C===e){C=C.call(E,{hash:{}})}else{if(C===c){C=s.call(E,"defaultValue",{hash:{}})}}B+=d(C)+"'/>\n ";return B}function w(E,D){var B="",C;B+="\n <input class='parameter required' minlength='1' name='";i=t.name;C=i||E.name;if(typeof C===e){C=C.call(E,{hash:{}})}else{if(C===c){C=s.call(E,"name",{hash:{}})}}B+=d(C)+"' placeholder='(required)' type='text' value=''/>\n ";return B}u+="<td class='code required'>";i=t.name;j=i||v.name;if(typeof j===e){j=j.call(v,{hash:{}})}else{if(j===c){j=s.call(v,"name",{hash:{}})}}u+=d(j)+"</td>\n<td>\n ";i=t.isBody;j=i||v.isBody;g=t["if"];r=q.program(1,p,A);r.hash={};r.fn=r;r.inverse=q.program(9,f,A);j=g.call(v,j,r);if(j||j===0){u+=j}u+="\n</td>\n<td>\n <strong>";i=t.description;j=i||v.description;if(typeof j===e){j=j.call(v,{hash:{}})}else{if(j===c){j=s.call(v,"description",{hash:{}})}}if(j||j===0){u+=j}u+="</strong>\n</td>\n<td>";i=t.paramType;j=i||v.paramType;if(typeof j===e){j=j.call(v,{hash:{}})}else{if(j===c){j=s.call(v,"paramType",{hash:{}})}}if(j||j===0){u+=j}u+='</td>\n<td><span class="model-signature"></span></td>\n';return u})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.resource=b(function(e,n,d,l,k){d=d||e.helpers;var i="",c,h,o=this,f="function",m=d.helperMissing,g=void 0,j=this.escapeExpression;i+="<div class='heading'>\n <h2>\n <a href='#!/";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"' onclick=\"Docs.toggleEndpointListForResource('";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"');\">/";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"</a>\n </h2>\n <ul class='options'>\n <li>\n <a href='#!/";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"' id='endpointListTogger_";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"'\n onclick=\"Docs.toggleEndpointListForResource('";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"');\">Show/Hide</a>\n </li>\n <li>\n <a href='#' onclick=\"Docs.collapseOperationsForResource('";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"'); return false;\">\n List Operations\n </a>\n </li>\n <li>\n <a href='#' onclick=\"Docs.expandOperationsForResource('";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"'); return false;\">\n Expand Operations\n </a>\n </li>\n <li>\n <a href='";h=d.url;c=h||n.url;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"url",{hash:{}})}}i+=j(c)+"'>Raw</a>\n </li>\n </ul>\n</div>\n<ul class='endpoints' id='";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"_endpoint_list' style='display:none'>\n\n</ul>\n";return i})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.signature=b(function(e,n,d,l,k){d=d||e.helpers;var i="",c,h,o=this,f="function",m=d.helperMissing,g=void 0,j=this.escapeExpression;i+='<div>\n<ul class="signature-nav">\n <li><a class="description-link" href="#">Model</a></li>\n <li><a class="snippet-link" href="#">Model Schema</a></li>\n</ul>\n<div>\n\n<div class="signature-container">\n <div class="description">\n ';h=d.signature;c=h||n.signature;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"signature",{hash:{}})}}if(c||c===0){i+=c}i+='\n </div>\n\n <div class="snippet">\n <pre><code>';h=d.sampleJSON;c=h||n.sampleJSON;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"sampleJSON",{hash:{}})}}i+=j(c)+'</code></pre>\n <small class="notice"></small>\n </div>\n</div>\n\n';return i})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.status_code=b(function(e,n,d,l,k){d=d||e.helpers;var i="",c,h,o=this,f="function",m=d.helperMissing,g=void 0,j=this.escapeExpression;i+="<td width='15%' class='code'>";h=d.code;c=h||n.code;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"code",{hash:{}})}}i+=j(c)+"</td>\n<td>";h=d.reason;c=h||n.reason;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"reason",{hash:{}})}}if(c||c===0){i+=c}i+="</td>\n\n";return i})})();(function(){var f,b,h,c,e,j,k,i,a,g={}.hasOwnProperty,d=function(o,m){for(var l in m){if(g.call(m,l)){o[l]=m[l]}}function n(){this.constructor=o}n.prototype=m.prototype;o.prototype=new n();o.__super__=m.prototype;return o};a=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.dom_id="swagger_ui";l.prototype.options=null;l.prototype.api=null;l.prototype.headerView=null;l.prototype.mainView=null;l.prototype.initialize=function(n){var o=this;if(n==null){n={}}if(n.dom_id!=null){this.dom_id=n.dom_id;delete n.dom_id}if(!($("#"+this.dom_id)!=null)){$("body").append('<div id="'+this.dom_id+'"></div>')}this.options=n;this.options.success=function(){return o.render()};this.options.progress=function(p){return o.showMessage(p)};this.options.failure=function(p){return o.onLoadFailure(p)};this.headerView=new b({el:$("#header")});return this.headerView.on("update-swagger-ui",function(p){return o.updateSwaggerUi(p)})};l.prototype.updateSwaggerUi=function(n){this.options.discoveryUrl=n.discoveryUrl;this.options.apiKey=n.apiKey;return this.load()};l.prototype.load=function(){var n;if((n=this.mainView)!=null){n.clear()}this.headerView.update(this.options.discoveryUrl,this.options.apiKey);return this.api=new SwaggerApi(this.options)};l.prototype.render=function(){var n=this;this.showMessage("Finished Loading Resource Information. Rendering Swagger UI...");this.mainView=new h({model:this.api,el:$("#"+this.dom_id)}).render();this.showMessage();switch(this.options.docExpansion){case"full":Docs.expandOperationsForResource("");break;case"list":Docs.collapseOperationsForResource("")}if(this.options.onComplete){this.options.onComplete(this.api,this)}return setTimeout(function(){return Docs.shebang()},400)};l.prototype.showMessage=function(n){if(n==null){n=""}$("#message-bar").removeClass("message-fail");$("#message-bar").addClass("message-success");return $("#message-bar").html(n)};l.prototype.onLoadFailure=function(n){var o;if(n==null){n=""}$("#message-bar").removeClass("message-success");$("#message-bar").addClass("message-fail");o=$("#message-bar").html(n);if(this.options.onFailure!=null){this.options.onFailure(n)}return o};return l})(Backbone.Router);window.SwaggerUi=a;b=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.events={"click #show-pet-store-icon":"showPetStore","click #show-wordnik-dev-icon":"showWordnikDev","click #explore":"showCustom","keyup #input_baseUrl":"showCustomOnKeyup","keyup #input_apiKey":"showCustomOnKeyup"};l.prototype.initialize=function(){};l.prototype.showPetStore=function(n){return this.trigger("update-swagger-ui",{discoveryUrl:"http://petstore.swagger.wordnik.com/api/api-docs.json",apiKey:"special-key"})};l.prototype.showWordnikDev=function(n){return this.trigger("update-swagger-ui",{discoveryUrl:"http://api.wordnik.com/v4/resources.json",apiKey:""})};l.prototype.showCustomOnKeyup=function(n){if(n.keyCode===13){return this.showCustom()}};l.prototype.showCustom=function(n){if(n!=null){n.preventDefault()}return this.trigger("update-swagger-ui",{discoveryUrl:$("#input_baseUrl").val(),apiKey:$("#input_apiKey").val()})};l.prototype.update=function(o,p,n){if(n==null){n=false}$("#input_baseUrl").val(o);$("#input_apiKey").val(p);if(n){return this.trigger("update-swagger-ui",{discoveryUrl:o,apiKey:p})}};return l})(Backbone.View);h=(function(l){d(m,l);function m(){return m.__super__.constructor.apply(this,arguments)}m.prototype.initialize=function(){};m.prototype.render=function(){var q,p,n,o;$(this.el).html(Handlebars.templates.main(this.model));o=this.model.apisArray;for(p=0,n=o.length;p<n;p++){q=o[p];this.addResource(q)}return this};m.prototype.addResource=function(o){var n;n=new j({model:o,tagName:"li",id:"resource_"+o.name,className:"resource"});return $("#resources").append(n.render().el)};m.prototype.clear=function(){return $(this.el).html("")};return m})(Backbone.View);j=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.initialize=function(){};l.prototype.render=function(){var o,q,n,p;$(this.el).html(Handlebars.templates.resource(this.model));this.number=0;p=this.model.operationsArray;for(q=0,n=p.length;q<n;q++){o=p[q];this.addOperation(o)}return this};l.prototype.addOperation=function(n){var o;n.number=this.number;o=new c({model:n,tagName:"li",className:"endpoint"});$(".endpoints",$(this.el)).append(o.render().el);return this.number++};return l})(Backbone.View);c=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.events={"submit .sandbox":"submitOperation","click .submit":"submitOperation","click .response_hider":"hideResponse","click .toggleOperation":"toggleOperationContent"};l.prototype.initialize=function(){};l.prototype.render=function(){var n,x,y,p,u,z,v,s,r,w,o,t,q;y=jQuery.inArray(this.model.httpMethod,this.model.supportedSubmitMethods())>=0;if(!y){this.model.isReadOnly=true}$(this.el).html(Handlebars.templates.operation(this.model));if(this.model.responseClassSignature&&this.model.responseClassSignature!=="string"){z={sampleJSON:this.model.responseSampleJSON,isParam:false,signature:this.model.responseClassSignature};u=new k({model:z,tagName:"div"});$(".model-signature",$(this.el)).append(u.render().el)}else{$(".model-signature",$(this.el)).html(this.model.responseClass)}n={isParam:false};if(this.model.supportedContentTypes){n.produces=this.model.supportedContentTypes}if(this.model.produces){n.produces=this.model.produces}x=new f({model:n});$(".content-type",$(this.el)).append(x.render().el);t=this.model.parameters;for(s=0,w=t.length;s<w;s++){p=t[s];this.addParameter(p)}q=this.model.errorResponses;for(r=0,o=q.length;r<o;r++){v=q[r];this.addStatusCode(v)}return this};l.prototype.addParameter=function(o){var n;n=new e({model:o,tagName:"tr",readOnly:this.model.isReadOnly});return $(".operation-params",$(this.el)).append(n.render().el)};l.prototype.addStatusCode=function(o){var n;n=new i({model:o,tagName:"tr"});return $(".operation-status",$(this.el)).append(n.render().el)};l.prototype.submitOperation=function(K){var F,L,E,v,q,A,P,J,Q,H,D,B,G,s,x,u,r,p,O,S,R,N,M,n,C,z,y,w,t,I=this;if(K!=null){K.preventDefault()}v=$(".sandbox",$(this.el));E=true;v.find("input.required").each(function(){var o=this;$(this).removeClass("error");if(jQuery.trim($(this).val())===""){$(this).addClass("error");$(this).wiggle({callback:function(){return $(o).focus()}});return E=false}});if(E){Q={};C=v.serializeArray();for(x=0,O=C.length;x<O;x++){H=C[x];if((H.value!=null)&&jQuery.trim(H.value).length>0){Q[H.name]=H.value}}P=v.children().find('input[type~="file"]').size()!==0;J=false;L="application/json";if(this.model.consumes&&this.model.consumes.length>0){L=this.model.consumes[0]}else{z=this.model.parameters;for(u=0,S=z.length;u<S;u++){H=z[u];if(H.paramType==="form"){J=true;L=false}}if(P){L=false}else{if(this.model.httpMethod.toLowerCase()==="post"&&J===false){L="application/json"}}}if(P){F=new FormData();y=this.model.parameters;for(r=0,R=y.length;r<R;r++){B=y[r];if((B.paramType==="body"||"form")&&B.name!=="file"&&B.name!=="File"&&(Q[B.name]!=null)){F.append(B.name,Q[B.name])}}$.each(v.children().find('input[type~="file"]'),function(o,T){return F.append($(T).attr("name"),T.files[0])});console.log(F)}else{if(J){F=new FormData();w=this.model.parameters;for(p=0,N=w.length;p<N;p++){B=w[p];if(Q[B.name]!=null){F.append(B.name,Q[B.name])}}}else{F=null;t=this.model.parameters;for(n=0,M=t.length;n<M;n++){B=t[n];if(B.paramType==="body"){F=Q[B.name]}}}}log("bodyParam = "+F);q=null;A=this.model.supportHeaderParams()?(q=this.model.getHeaderParams(Q),this.model.urlify(Q,false)):this.model.urlify(Q,true);log("submitting "+A);$(".request_url",$(this.el)).html("<pre>"+A+"</pre>");$(".response_throbber",$(this.el)).show();D={type:this.model.httpMethod,url:A,headers:q,data:F,contentType:L,dataType:"json",processData:false,error:function(T,U,o){return I.showErrorStatus(T,U,o)},success:function(o){return I.showResponse(o)},complete:function(o){return I.showCompleteStatus(o)}};G=$("td select[name=contentType]",$(this.el)).val();if(G){D.contentType=G}log("content type = "+D.contentType);if(!(D.data||(D.type==="GET"||D.type==="DELETE"))&&D.contentType===!"application/x-www-form-urlencoded"){D.contentType=false}log("content type is now = "+D.contentType);s=$(".content > .content-type > div > select[name=contentType]",$(this.el)).val();if(s){D.headers=D.headers!=null?D.headers:{};D.headers.accept=s}jQuery.ajax(D);return false}};l.prototype.hideResponse=function(n){if(n!=null){n.preventDefault()}$(".response",$(this.el)).slideUp();return $(".response_hider",$(this.el)).fadeOut()};l.prototype.showResponse=function(n){var o;o=JSON.stringify(n,null,"\t").replace(/\n/g,"<br>");return $(".response_body",$(this.el)).html(escape(o))};l.prototype.showErrorStatus=function(n){return this.showStatus(n)};l.prototype.showCompleteStatus=function(n){return this.showStatus(n)};l.prototype.formatXml=function(u){var q,t,o,v,A,w,p,n,y,z,s,r,x;n=/(>)(<)(\/*)/g;z=/[ ]*(.*)[ ]+\n/g;q=/(<.+>)(.+\n)/g;u=u.replace(n,"$1\n$2$3").replace(z,"$1\n").replace(q,"$1\n$2");p=0;t="";A=u.split("\n");o=0;v="other";y={"single->single":0,"single->closing":-1,"single->opening":0,"single->other":0,"closing->single":0,"closing->closing":-1,"closing->opening":0,"closing->other":0,"opening->single":1,"opening->closing":0,"opening->opening":1,"opening->other":1,"other->single":0,"other->closing":-1,"other->opening":0,"other->other":0};s=function(G){var C,B,E,I,F,D,H;D={single:Boolean(G.match(/<.+\/>/)),closing:Boolean(G.match(/<\/.+>/)),opening:Boolean(G.match(/<[^!?].*>/))};F=((function(){var J;J=[];for(E in D){H=D[E];if(H){J.push(E)}}return J})())[0];F=F===void 0?"other":F;C=v+"->"+F;v=F;I="";o+=y[C];I=((function(){var K,L,J;J=[];for(B=K=0,L=o;0<=L?K<L:K>L;B=0<=L?++K:--K){J.push(" ")}return J})()).join("");if(C==="opening->closing"){return t=t.substr(0,t.length-1)+G+"\n"}else{return t+=I+G+"\n"}};for(r=0,x=A.length;r<x;r++){w=A[r];s(w)}return t};l.prototype.showStatus=function(q){var p,r,o;try{p=$("<code />").text(JSON.stringify(JSON.parse(q.responseText),null,2));r=$('<pre class="json" />').append(p)}catch(n){p=$("<code />").text(this.formatXml(q.responseText));r=$('<pre class="xml" />').append(p)}o=r;$(".response_code",$(this.el)).html("<pre>"+q.status+"</pre>");$(".response_body",$(this.el)).html(o);$(".response_headers",$(this.el)).html("<pre>"+q.getAllResponseHeaders()+"</pre>");$(".response",$(this.el)).slideDown();$(".response_hider",$(this.el)).show();$(".response_throbber",$(this.el)).hide();return hljs.highlightBlock($(".response_body",$(this.el))[0])};l.prototype.toggleOperationContent=function(){var n;n=$("#"+Docs.escapeResourceName(this.model.resourceName)+"_"+this.model.nickname+"_"+this.model.httpMethod+"_"+this.model.number+"_content");if(n.is(":visible")){return Docs.collapseOperation(n)}else{return Docs.expandOperation(n)}};return l})(Backbone.View);i=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.initialize=function(){};l.prototype.render=function(){var n;n=this.template();$(this.el).html(n(this.model));return this};l.prototype.template=function(){return Handlebars.templates.status_code};return l})(Backbone.View);e=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.initialize=function(){};l.prototype.render=function(){var q,o,n,r,p;if(this.model.paramType==="body"){this.model.isBody=true}if(this.model.dataType==="file"){this.model.isFile=true}p=this.template();$(this.el).html(p(this.model));n={sampleJSON:this.model.sampleJSON,isParam:true,signature:this.model.signature};if(this.model.sampleJSON){r=new k({model:n,tagName:"div"});$(".model-signature",$(this.el)).append(r.render().el)}else{$(".model-signature",$(this.el)).html(this.model.signature)}q={isParam:false};if(this.model.supportedContentTypes){q.produces=this.model.supportedContentTypes}if(this.model.produces){q.produces=this.model.produces}o=new f({model:q});$(".content-type",$(this.el)).append(o.render().el);return this};l.prototype.template=function(){if(this.model.isList){return Handlebars.templates.param_list}else{if(this.options.readOnly){if(this.model.required){return Handlebars.templates.param_readonly_required}else{return Handlebars.templates.param_readonly}}else{if(this.model.required){return Handlebars.templates.param_required}else{return Handlebars.templates.param}}}};return l})(Backbone.View);k=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.events={"click a.description-link":"switchToDescription","click a.snippet-link":"switchToSnippet","mousedown .snippet":"snippetToTextArea"};l.prototype.initialize=function(){};l.prototype.render=function(){var n;n=this.template();$(this.el).html(n(this.model));this.switchToDescription();this.isParam=this.model.isParam;if(this.isParam){$(".notice",$(this.el)).text("Click to set as parameter value")}return this};l.prototype.template=function(){return Handlebars.templates.signature};l.prototype.switchToDescription=function(n){if(n!=null){n.preventDefault()}$(".snippet",$(this.el)).hide();$(".description",$(this.el)).show();$(".description-link",$(this.el)).addClass("selected");return $(".snippet-link",$(this.el)).removeClass("selected")};l.prototype.switchToSnippet=function(n){if(n!=null){n.preventDefault()}$(".description",$(this.el)).hide();$(".snippet",$(this.el)).show();$(".snippet-link",$(this.el)).addClass("selected");return $(".description-link",$(this.el)).removeClass("selected")};l.prototype.snippetToTextArea=function(n){var o;if(this.isParam){if(n!=null){n.preventDefault()}o=$("textarea",$(this.el.parentNode.parentNode.parentNode));if($.trim(o.val())===""){return o.val(this.model.sampleJSON)}}};return l})(Backbone.View);f=(function(l){d(m,l);function m(){return m.__super__.constructor.apply(this,arguments)}m.prototype.initialize=function(){};m.prototype.render=function(){var n;n=this.template();$(this.el).html(n(this.model));this.isParam=this.model.isParam;if(this.isParam){$("label[for=contentType]",$(this.el)).text("Parameter content type:")}else{$("label[for=contentType]",$(this.el)).text("Response Content Type")}return this};m.prototype.template=function(){return Handlebars.templates.content_type};return m})(Backbone.View)}).call(this);
3
+ $(function(){$.fn.vAlign=function(){return this.each(function(c){var a=$(this).height();var d=$(this).parent().height();var b=(d-a)/2;$(this).css("margin-top",b)})};$.fn.stretchFormtasticInputWidthToParent=function(){return this.each(function(b){var d=$(this).closest("form").innerWidth();var c=parseInt($(this).closest("form").css("padding-left"),10)+parseInt($(this).closest("form").css("padding-right"),10);var a=parseInt($(this).css("padding-left"),10)+parseInt($(this).css("padding-right"),10);$(this).css("width",d-c-a)})};$("form.formtastic li.string input, form.formtastic textarea").stretchFormtasticInputWidthToParent();$("ul.downplayed li div.content p").vAlign();$("form.sandbox").submit(function(){var a=true;$(this).find("input.required").each(function(){$(this).removeClass("error");if($(this).val()==""){$(this).addClass("error");$(this).wiggle();a=false}});return a})});function clippyCopiedCallback(b){$("#api_key_copied").fadeIn().delay(1000).fadeOut()}function log(){if(window.console){console.log.apply(console,arguments)}}if(Function.prototype.bind&&console&&typeof console.log=="object"){["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(a){console[a]=this.bind(console[a],console)},Function.prototype.call)}var Docs={shebang:function(){var b=$.param.fragment().split("/");b.shift();switch(b.length){case 1:var d="resource_"+b[0];Docs.expandEndpointListForResource(b[0]);$("#"+d).slideto({highlight:false});break;case 2:Docs.expandEndpointListForResource(b[0]);$("#"+d).slideto({highlight:false});var c=b.join("_");var a=c+"_content";Docs.expandOperation($("#"+a));$("#"+c).slideto({highlight:false});break}},toggleEndpointListForResource:function(b){var a=$("li#resource_"+Docs.escapeResourceName(b)+" ul.endpoints");if(a.is(":visible")){Docs.collapseEndpointListForResource(b)}else{Docs.expandEndpointListForResource(b)}},expandEndpointListForResource:function(b){var b=Docs.escapeResourceName(b);if(b==""){$(".resource ul.endpoints").slideDown();return}$("li#resource_"+b).addClass("active");var a=$("li#resource_"+b+" ul.endpoints");a.slideDown()},collapseEndpointListForResource:function(b){var b=Docs.escapeResourceName(b);$("li#resource_"+b).removeClass("active");var a=$("li#resource_"+b+" ul.endpoints");a.slideUp()},expandOperationsForResource:function(a){Docs.expandEndpointListForResource(a);if(a==""){$(".resource ul.endpoints li.operation div.content").slideDown();return}$("li#resource_"+Docs.escapeResourceName(a)+" li.operation div.content").each(function(){Docs.expandOperation($(this))})},collapseOperationsForResource:function(a){Docs.expandEndpointListForResource(a);$("li#resource_"+Docs.escapeResourceName(a)+" li.operation div.content").each(function(){Docs.collapseOperation($(this))})},escapeResourceName:function(a){return a.replace(/[!"#$%&'()*+,.\/:;<=>?@\[\\\]\^`{|}~]/g,"\\$&")},expandOperation:function(a){a.slideDown()},collapseOperation:function(a){a.slideUp()}};(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.content_type=b(function(g,l,f,k,j){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);j=j||{};var i="",c,h="function",m=this;function e(r,q){var o="",p;o+="\n ";p=f.each.call(r,r.produces,{hash:{},inverse:m.noop,fn:m.program(2,d,q),data:q});if(p||p===0){o+=p}o+="\n";return o}function d(r,q){var o="",p;o+='\n <option value="';p=(typeof r===h?r.apply(r):r);if(p||p===0){o+=p}o+='">';p=(typeof r===h?r.apply(r):r);if(p||p===0){o+=p}o+="</option>\n ";return o}function n(p,o){return'\n <option value="application/json">application/json</option>\n'}i+='<label for="contentType"></label>\n<select name="contentType">\n';c=f["if"].call(l,l.produces,{hash:{},inverse:m.program(4,n,j),fn:m.program(1,e,j),data:j});if(c||c===0){i+=c}i+="\n</select>\n";return i})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.main=b(function(g,m,f,l,k){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);k=k||{};var i="",c,h="function",j=this.escapeExpression,p=this;function e(v,u){var r="",t,s;r+='\n <div class="info_title">'+j(((t=((t=v.info),t==null||t===false?t:t.title)),typeof t===h?t.apply(v):t))+'</div>\n <div class="info_description">';s=((t=((t=v.info),t==null||t===false?t:t.description)),typeof t===h?t.apply(v):t);if(s||s===0){r+=s}r+="</div>\n ";s=f["if"].call(v,((t=v.info),t==null||t===false?t:t.termsOfServiceUrl),{hash:{},inverse:p.noop,fn:p.program(2,d,u),data:u});if(s||s===0){r+=s}r+="\n ";s=f["if"].call(v,((t=v.info),t==null||t===false?t:t.contact),{hash:{},inverse:p.noop,fn:p.program(4,q,u),data:u});if(s||s===0){r+=s}r+="\n ";s=f["if"].call(v,((t=v.info),t==null||t===false?t:t.license),{hash:{},inverse:p.noop,fn:p.program(6,o,u),data:u});if(s||s===0){r+=s}r+="\n ";return r}function d(u,t){var r="",s;r+='<div class="info_tos"><a href="'+j(((s=((s=u.info),s==null||s===false?s:s.termsOfServiceUrl)),typeof s===h?s.apply(u):s))+'">Terms of service</a></div>';return r}function q(u,t){var r="",s;r+="<div class='info_contact'><a href=\"mailto:"+j(((s=((s=u.info),s==null||s===false?s:s.contact)),typeof s===h?s.apply(u):s))+'">Contact the developer</a></div>';return r}function o(u,t){var r="",s;r+="<div class='info_license'><a href='"+j(((s=((s=u.info),s==null||s===false?s:s.licenseUrl)),typeof s===h?s.apply(u):s))+"'>"+j(((s=((s=u.info),s==null||s===false?s:s.license)),typeof s===h?s.apply(u):s))+"</a></div>";return r}function n(u,t){var r="",s;r+='\n , <span style="font-variant: small-caps">api version</span>: ';if(s=f.apiVersion){s=s.call(u,{hash:{},data:t})}else{s=u.apiVersion;s=typeof s===h?s.apply(u):s}r+=j(s)+"\n ";return r}i+="<div class='info' id='api_info'>\n ";c=f["if"].call(m,m.info,{hash:{},inverse:p.noop,fn:p.program(1,e,k),data:k});if(c||c===0){i+=c}i+="\n</div>\n<div class='container' id='resources_container'>\n <ul id='resources'>\n </ul>\n\n <div class=\"footer\">\n <br>\n <br>\n <h4 style=\"color: #999\">[ <span style=\"font-variant: small-caps\">base url</span>: ";if(c=f.basePath){c=c.call(m,{hash:{},data:k})}else{c=m.basePath;c=typeof c===h?c.apply(m):c}i+=j(c)+"\n ";c=f["if"].call(m,m.apiVersion,{hash:{},inverse:p.noop,fn:p.program(8,n,k),data:k});if(c||c===0){i+=c}i+="]</h4>\n </div>\n</div>\n";return i})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.operation=b(function(h,n,g,m,l){this.compilerInfo=[4,">= 1.0.0"];g=this.merge(g,h.helpers);l=l||{};var j="",d,i="function",k=this.escapeExpression,r=this;function f(v,u){var s="",t;s+="\n <h4>Implementation Notes</h4>\n <p>";if(t=g.notes){t=t.call(v,{hash:{},data:u})}else{t=v.notes;t=typeof t===i?t.apply(v):t}if(t||t===0){s+=t}s+="</p>\n ";return s}function c(t,s){return'\n <h4>Response Class</h4>\n <p><span class="model-signature" /></p>\n <br/>\n <div class="response-content-type" />\n '}function q(t,s){return'\n <h4>Parameters</h4>\n <table class=\'fullwidth\'>\n <thead>\n <tr>\n <th style="width: 100px; max-width: 100px">Parameter</th>\n <th style="width: 310px; max-width: 310px">Value</th>\n <th style="width: 200px; max-width: 200px">Description</th>\n <th style="width: 100px; max-width: 100px">Parameter Type</th>\n <th style="width: 220px; max-width: 230px">Data Type</th>\n </tr>\n </thead>\n <tbody class="operation-params">\n\n </tbody>\n </table>\n '}function p(t,s){return"\n <div style='margin:0;padding:0;display:inline'></div>\n <h4>Error Status Codes</h4>\n <table class='fullwidth'>\n <thead>\n <tr>\n <th>HTTP Status Code</th>\n <th>Reason</th>\n </tr>\n </thead>\n <tbody class=\"operation-status\">\n \n </tbody>\n </table>\n "}function o(t,s){return"\n "}function e(t,s){return"\n <div class='sandbox_header'>\n <input class='submit' name='commit' type='button' value='Try it out!' />\n <a href='#' class='response_hider' style='display:none'>Hide Response</a>\n <img alt='Throbber' class='response_throbber' src='images/throbber.gif' style='display:none' />\n </div>\n "}j+="\n <ul class='operations' >\n <li class='";if(d=g.method){d=d.call(n,{hash:{},data:l})}else{d=n.method;d=typeof d===i?d.apply(n):d}j+=k(d)+" operation' id='";if(d=g.resourceName){d=d.call(n,{hash:{},data:l})}else{d=n.resourceName;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.nickname){d=d.call(n,{hash:{},data:l})}else{d=n.nickname;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.method){d=d.call(n,{hash:{},data:l})}else{d=n.method;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.number){d=d.call(n,{hash:{},data:l})}else{d=n.number;d=typeof d===i?d.apply(n):d}j+=k(d)+"'>\n <div class='heading'>\n <h3>\n <span class='http_method'>\n <a href='#!/";if(d=g.resourceName){d=d.call(n,{hash:{},data:l})}else{d=n.resourceName;d=typeof d===i?d.apply(n):d}j+=k(d)+"/";if(d=g.nickname){d=d.call(n,{hash:{},data:l})}else{d=n.nickname;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.method){d=d.call(n,{hash:{},data:l})}else{d=n.method;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.number){d=d.call(n,{hash:{},data:l})}else{d=n.number;d=typeof d===i?d.apply(n):d}j+=k(d)+'\' class="toggleOperation">';if(d=g.method){d=d.call(n,{hash:{},data:l})}else{d=n.method;d=typeof d===i?d.apply(n):d}j+=k(d)+"</a>\n </span>\n <span class='path'>\n <a href='#!/";if(d=g.resourceName){d=d.call(n,{hash:{},data:l})}else{d=n.resourceName;d=typeof d===i?d.apply(n):d}j+=k(d)+"/";if(d=g.nickname){d=d.call(n,{hash:{},data:l})}else{d=n.nickname;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.method){d=d.call(n,{hash:{},data:l})}else{d=n.method;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.number){d=d.call(n,{hash:{},data:l})}else{d=n.number;d=typeof d===i?d.apply(n):d}j+=k(d)+'\' class="toggleOperation">';if(d=g.path){d=d.call(n,{hash:{},data:l})}else{d=n.path;d=typeof d===i?d.apply(n):d}j+=k(d)+"</a>\n </span>\n </h3>\n <ul class='options'>\n <li>\n <a href='#!/";if(d=g.resourceName){d=d.call(n,{hash:{},data:l})}else{d=n.resourceName;d=typeof d===i?d.apply(n):d}j+=k(d)+"/";if(d=g.nickname){d=d.call(n,{hash:{},data:l})}else{d=n.nickname;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.method){d=d.call(n,{hash:{},data:l})}else{d=n.method;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.number){d=d.call(n,{hash:{},data:l})}else{d=n.number;d=typeof d===i?d.apply(n):d}j+=k(d)+'\' class="toggleOperation">';if(d=g.summary){d=d.call(n,{hash:{},data:l})}else{d=n.summary;d=typeof d===i?d.apply(n):d}if(d||d===0){j+=d}j+="</a>\n </li>\n </ul>\n </div>\n <div class='content' id='";if(d=g.resourceName){d=d.call(n,{hash:{},data:l})}else{d=n.resourceName;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.nickname){d=d.call(n,{hash:{},data:l})}else{d=n.nickname;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.method){d=d.call(n,{hash:{},data:l})}else{d=n.method;d=typeof d===i?d.apply(n):d}j+=k(d)+"_";if(d=g.number){d=d.call(n,{hash:{},data:l})}else{d=n.number;d=typeof d===i?d.apply(n):d}j+=k(d)+"_content' style='display:none'>\n ";d=g["if"].call(n,n.notes,{hash:{},inverse:r.noop,fn:r.program(1,f,l),data:l});if(d||d===0){j+=d}j+="\n ";d=g["if"].call(n,n.type,{hash:{},inverse:r.noop,fn:r.program(3,c,l),data:l});if(d||d===0){j+=d}j+="\n <form accept-charset='UTF-8' class='sandbox'>\n <div style='margin:0;padding:0;display:inline'></div>\n ";d=g["if"].call(n,n.parameters,{hash:{},inverse:r.noop,fn:r.program(5,q,l),data:l});if(d||d===0){j+=d}j+="\n ";d=g["if"].call(n,n.responseMessages,{hash:{},inverse:r.noop,fn:r.program(7,p,l),data:l});if(d||d===0){j+=d}j+="\n ";d=g["if"].call(n,n.isReadOnly,{hash:{},inverse:r.program(11,e,l),fn:r.program(9,o,l),data:l});if(d||d===0){j+=d}j+="\n </form>\n <div class='response' style='display:none'>\n <h4>Request URL</h4>\n <div class='block request_url'></div>\n <h4>Response Body</h4>\n <div class='block response_body'></div>\n <h4>Response Code</h4>\n <div class='block response_code'></div>\n <h4>Response Headers</h4>\n <div class='block response_headers'></div>\n </div>\n </div>\n </li>\n </ul>\n";return j})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param=b(function(f,q,o,j,s){this.compilerInfo=[4,">= 1.0.0"];o=this.merge(o,f.helpers);s=s||{};var p="",g,d="function",c=this.escapeExpression,n=this;function m(x,w){var u="",v;u+="\n ";v=o["if"].call(x,x.isFile,{hash:{},inverse:n.program(4,k,w),fn:n.program(2,l,w),data:w});if(v||v===0){u+=v}u+="\n ";return u}function l(x,w){var u="",v;u+='\n <input type="file" name=\'';if(v=o.name){v=v.call(x,{hash:{},data:w})}else{v=x.name;v=typeof v===d?v.apply(x):v}u+=c(v)+'\'/>\n <div class="parameter-content-type" />\n ';return u}function k(x,w){var u="",v;u+="\n ";v=o["if"].call(x,x.defaultValue,{hash:{},inverse:n.program(7,h,w),fn:n.program(5,i,w),data:w});if(v||v===0){u+=v}u+="\n ";return u}function i(x,w){var u="",v;u+="\n <textarea class='body-textarea' name='";if(v=o.name){v=v.call(x,{hash:{},data:w})}else{v=x.name;v=typeof v===d?v.apply(x):v}u+=c(v)+"'>";if(v=o.defaultValue){v=v.call(x,{hash:{},data:w})}else{v=x.defaultValue;v=typeof v===d?v.apply(x):v}u+=c(v)+"</textarea>\n ";return u}function h(x,w){var u="",v;u+="\n <textarea class='body-textarea' name='";if(v=o.name){v=v.call(x,{hash:{},data:w})}else{v=x.name;v=typeof v===d?v.apply(x):v}u+=c(v)+'\'></textarea>\n <br />\n <div class="parameter-content-type" />\n ';return u}function e(x,w){var u="",v;u+="\n ";v=o["if"].call(x,x.defaultValue,{hash:{},inverse:n.program(12,r,w),fn:n.program(10,t,w),data:w});if(v||v===0){u+=v}u+="\n ";return u}function t(x,w){var u="",v;u+="\n <input class='parameter' minlength='0' name='";if(v=o.name){v=v.call(x,{hash:{},data:w})}else{v=x.name;v=typeof v===d?v.apply(x):v}u+=c(v)+"' placeholder='' type='text' value='";if(v=o.defaultValue){v=v.call(x,{hash:{},data:w})}else{v=x.defaultValue;v=typeof v===d?v.apply(x):v}u+=c(v)+"'/>\n ";return u}function r(x,w){var u="",v;u+="\n <input class='parameter' minlength='0' name='";if(v=o.name){v=v.call(x,{hash:{},data:w})}else{v=x.name;v=typeof v===d?v.apply(x):v}u+=c(v)+"' placeholder='' type='text' value=''/>\n ";return u}p+="<td class='code'>";if(g=o.name){g=g.call(q,{hash:{},data:s})}else{g=q.name;g=typeof g===d?g.apply(q):g}p+=c(g)+"</td>\n<td>\n\n ";g=o["if"].call(q,q.isBody,{hash:{},inverse:n.program(9,e,s),fn:n.program(1,m,s),data:s});if(g||g===0){p+=g}p+="\n\n</td>\n<td>";if(g=o.description){g=g.call(q,{hash:{},data:s})}else{g=q.description;g=typeof g===d?g.apply(q):g}if(g||g===0){p+=g}p+="</td>\n<td>";if(g=o.paramType){g=g.call(q,{hash:{},data:s})}else{g=q.paramType;g=typeof g===d?g.apply(q):g}if(g||g===0){p+=g}p+='</td>\n<td>\n <span class="model-signature"></span>\n</td>\n';return p})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_list=b(function(g,r,p,l,w){this.compilerInfo=[4,">= 1.0.0"];p=this.merge(p,g.helpers);w=w||{};var q="",i,e,o=this,d="function",c=this.escapeExpression;function n(y,x){return" multiple='multiple'"}function m(y,x){return"\n "}function k(A,z){var x="",y;x+="\n ";y=p["if"].call(A,A.defaultValue,{hash:{},inverse:o.program(8,h,z),fn:o.program(6,j,z),data:z});if(y||y===0){x+=y}x+="\n ";return x}function j(y,x){return"\n "}function h(A,z){var x="",y;x+="\n ";y=p["if"].call(A,A.allowMultiple,{hash:{},inverse:o.program(11,v,z),fn:o.program(9,f,z),data:z});if(y||y===0){x+=y}x+="\n ";return x}function f(y,x){return"\n "}function v(y,x){return"\n <option selected=\"\" value=''></option>\n "}function u(A,z){var x="",y;x+="\n ";y=p["if"].call(A,A.isDefault,{hash:{},inverse:o.program(16,s,z),fn:o.program(14,t,z),data:z});if(y||y===0){x+=y}x+="\n ";return x}function t(A,z){var x="",y;x+='\n <option selected="" value=\'';if(y=p.value){y=y.call(A,{hash:{},data:z})}else{y=A.value;y=typeof y===d?y.apply(A):y}x+=c(y)+"'>";if(y=p.value){y=y.call(A,{hash:{},data:z})}else{y=A.value;y=typeof y===d?y.apply(A):y}x+=c(y)+" (default)</option>\n ";return x}function s(A,z){var x="",y;x+="\n <option value='";if(y=p.value){y=y.call(A,{hash:{},data:z})}else{y=A.value;y=typeof y===d?y.apply(A):y}x+=c(y)+"'>";if(y=p.value){y=y.call(A,{hash:{},data:z})}else{y=A.value;y=typeof y===d?y.apply(A):y}x+=c(y)+"</option>\n ";return x}q+="<td class='code'>";if(i=p.name){i=i.call(r,{hash:{},data:w})}else{i=r.name;i=typeof i===d?i.apply(r):i}q+=c(i)+"</td>\n<td>\n <select ";i=p["if"].call(r,r.allowMultiple,{hash:{},inverse:o.noop,fn:o.program(1,n,w),data:w});if(i||i===0){q+=i}q+=" class='parameter' name='";if(i=p.name){i=i.call(r,{hash:{},data:w})}else{i=r.name;i=typeof i===d?i.apply(r):i}q+=c(i)+"'>\n ";i=p["if"].call(r,r.required,{hash:{},inverse:o.program(5,k,w),fn:o.program(3,m,w),data:w});if(i||i===0){q+=i}q+="\n ";e=p.each.call(r,((i=r.allowableValues),i==null||i===false?i:i.descriptiveValues),{hash:{},inverse:o.noop,fn:o.program(13,u,w),data:w});if(e||e===0){q+=e}q+="\n </select>\n</td>\n<td>";if(e=p.description){e=e.call(r,{hash:{},data:w})}else{e=r.description;e=typeof e===d?e.apply(r):e}if(e||e===0){q+=e}q+="</td>\n<td>";if(e=p.paramType){e=e.call(r,{hash:{},data:w})}else{e=r.paramType;e=typeof e===d?e.apply(r):e}if(e||e===0){q+=e}q+='</td>\n<td><span class="model-signature"></span></td>';return q})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_readonly=b(function(g,m,f,l,k){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);k=k||{};var i="",d,h="function",j=this.escapeExpression,o=this;function e(t,s){var q="",r;q+="\n <textarea class='body-textarea' readonly='readonly' name='";if(r=f.name){r=r.call(t,{hash:{},data:s})}else{r=t.name;r=typeof r===h?r.apply(t):r}q+=j(r)+"'>";if(r=f.defaultValue){r=r.call(t,{hash:{},data:s})}else{r=t.defaultValue;r=typeof r===h?r.apply(t):r}q+=j(r)+"</textarea>\n ";return q}function c(t,s){var q="",r;q+="\n ";r=f["if"].call(t,t.defaultValue,{hash:{},inverse:o.program(6,n,s),fn:o.program(4,p,s),data:s});if(r||r===0){q+=r}q+="\n ";return q}function p(t,s){var q="",r;q+="\n ";if(r=f.defaultValue){r=r.call(t,{hash:{},data:s})}else{r=t.defaultValue;r=typeof r===h?r.apply(t):r}q+=j(r)+"\n ";return q}function n(r,q){return"\n (empty)\n "}i+="<td class='code'>";if(d=f.name){d=d.call(m,{hash:{},data:k})}else{d=m.name;d=typeof d===h?d.apply(m):d}i+=j(d)+"</td>\n<td>\n ";d=f["if"].call(m,m.isBody,{hash:{},inverse:o.program(3,c,k),fn:o.program(1,e,k),data:k});if(d||d===0){i+=d}i+="\n</td>\n<td>";if(d=f.description){d=d.call(m,{hash:{},data:k})}else{d=m.description;d=typeof d===h?d.apply(m):d}if(d||d===0){i+=d}i+="</td>\n<td>";if(d=f.paramType){d=d.call(m,{hash:{},data:k})}else{d=m.paramType;d=typeof d===h?d.apply(m):d}if(d||d===0){i+=d}i+='</td>\n<td><span class="model-signature"></span></td>\n';return i})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_readonly_required=b(function(g,m,f,l,k){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);k=k||{};var i="",d,h="function",j=this.escapeExpression,o=this;function e(t,s){var q="",r;q+="\n <textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='";if(r=f.name){r=r.call(t,{hash:{},data:s})}else{r=t.name;r=typeof r===h?r.apply(t):r}q+=j(r)+"'>";if(r=f.defaultValue){r=r.call(t,{hash:{},data:s})}else{r=t.defaultValue;r=typeof r===h?r.apply(t):r}q+=j(r)+"</textarea>\n ";return q}function c(t,s){var q="",r;q+="\n ";r=f["if"].call(t,t.defaultValue,{hash:{},inverse:o.program(6,n,s),fn:o.program(4,p,s),data:s});if(r||r===0){q+=r}q+="\n ";return q}function p(t,s){var q="",r;q+="\n ";if(r=f.defaultValue){r=r.call(t,{hash:{},data:s})}else{r=t.defaultValue;r=typeof r===h?r.apply(t):r}q+=j(r)+"\n ";return q}function n(r,q){return"\n (empty)\n "}i+="<td class='code required'>";if(d=f.name){d=d.call(m,{hash:{},data:k})}else{d=m.name;d=typeof d===h?d.apply(m):d}i+=j(d)+"</td>\n<td>\n ";d=f["if"].call(m,m.isBody,{hash:{},inverse:o.program(3,c,k),fn:o.program(1,e,k),data:k});if(d||d===0){i+=d}i+="\n</td>\n<td>";if(d=f.description){d=d.call(m,{hash:{},data:k})}else{d=m.description;d=typeof d===h?d.apply(m):d}if(d||d===0){i+=d}i+="</td>\n<td>";if(d=f.paramType){d=d.call(m,{hash:{},data:k})}else{d=m.paramType;d=typeof d===h?d.apply(m):d}if(d||d===0){i+=d}i+='</td>\n<td><span class="model-signature"></span></td>\n';return i})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_required=b(function(f,q,o,j,u){this.compilerInfo=[4,">= 1.0.0"];o=this.merge(o,f.helpers);u=u||{};var p="",g,d="function",c=this.escapeExpression,n=this;function m(z,y){var w="",x;w+="\n ";x=o["if"].call(z,z.isFile,{hash:{},inverse:n.program(4,k,y),fn:n.program(2,l,y),data:y});if(x||x===0){w+=x}w+="\n ";return w}function l(z,y){var w="",x;w+='\n <input type="file" name=\'';if(x=o.name){x=x.call(z,{hash:{},data:y})}else{x=z.name;x=typeof x===d?x.apply(z):x}w+=c(x)+"'/>\n ";return w}function k(z,y){var w="",x;w+="\n ";x=o["if"].call(z,z.defaultValue,{hash:{},inverse:n.program(7,h,y),fn:n.program(5,i,y),data:y});if(x||x===0){w+=x}w+="\n ";return w}function i(z,y){var w="",x;w+="\n <textarea class='body-textarea' placeholder='(required)' name='";if(x=o.name){x=x.call(z,{hash:{},data:y})}else{x=z.name;x=typeof x===d?x.apply(z):x}w+=c(x)+"'>";if(x=o.defaultValue){x=x.call(z,{hash:{},data:y})}else{x=z.defaultValue;x=typeof x===d?x.apply(z):x}w+=c(x)+"</textarea>\n ";return w}function h(z,y){var w="",x;w+="\n <textarea class='body-textarea' placeholder='(required)' name='";if(x=o.name){x=x.call(z,{hash:{},data:y})}else{x=z.name;x=typeof x===d?x.apply(z):x}w+=c(x)+'\'></textarea>\n <br />\n <div class="parameter-content-type" />\n ';return w}function e(z,y){var w="",x;w+="\n ";x=o["if"].call(z,z.isFile,{hash:{},inverse:n.program(12,t,y),fn:n.program(10,v,y),data:y});if(x||x===0){w+=x}w+="\n ";return w}function v(z,y){var w="",x;w+="\n <input class='parameter' class='required' type='file' name='";if(x=o.name){x=x.call(z,{hash:{},data:y})}else{x=z.name;x=typeof x===d?x.apply(z):x}w+=c(x)+"'/>\n ";return w}function t(z,y){var w="",x;w+="\n ";x=o["if"].call(z,z.defaultValue,{hash:{},inverse:n.program(15,r,y),fn:n.program(13,s,y),data:y});if(x||x===0){w+=x}w+="\n ";return w}function s(z,y){var w="",x;w+="\n <input class='parameter required' minlength='1' name='";if(x=o.name){x=x.call(z,{hash:{},data:y})}else{x=z.name;x=typeof x===d?x.apply(z):x}w+=c(x)+"' placeholder='(required)' type='text' value='";if(x=o.defaultValue){x=x.call(z,{hash:{},data:y})}else{x=z.defaultValue;x=typeof x===d?x.apply(z):x}w+=c(x)+"'/>\n ";return w}function r(z,y){var w="",x;w+="\n <input class='parameter required' minlength='1' name='";if(x=o.name){x=x.call(z,{hash:{},data:y})}else{x=z.name;x=typeof x===d?x.apply(z):x}w+=c(x)+"' placeholder='(required)' type='text' value=''/>\n ";return w}p+="<td class='code required'>";if(g=o.name){g=g.call(q,{hash:{},data:u})}else{g=q.name;g=typeof g===d?g.apply(q):g}p+=c(g)+"</td>\n<td>\n ";g=o["if"].call(q,q.isBody,{hash:{},inverse:n.program(9,e,u),fn:n.program(1,m,u),data:u});if(g||g===0){p+=g}p+="\n</td>\n<td>\n <strong>";if(g=o.description){g=g.call(q,{hash:{},data:u})}else{g=q.description;g=typeof g===d?g.apply(q):g}if(g||g===0){p+=g}p+="</strong>\n</td>\n<td>";if(g=o.paramType){g=g.call(q,{hash:{},data:u})}else{g=q.paramType;g=typeof g===d?g.apply(q):g}if(g||g===0){p+=g}p+='</td>\n<td><span class="model-signature"></span></td>\n';return p})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.parameter_content_type=b(function(g,l,f,k,j){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);j=j||{};var i="",c,h="function",m=this;function e(r,q){var o="",p;o+="\n ";p=f.each.call(r,r.consumes,{hash:{},inverse:m.noop,fn:m.program(2,d,q),data:q});if(p||p===0){o+=p}o+="\n";return o}function d(r,q){var o="",p;o+='\n <option value="';p=(typeof r===h?r.apply(r):r);if(p||p===0){o+=p}o+='">';p=(typeof r===h?r.apply(r):r);if(p||p===0){o+=p}o+="</option>\n ";return o}function n(p,o){return'\n <option value="application/json">application/json</option>\n'}i+='<label for="parameterContentType"></label>\n<select name="parameterContentType">\n';c=f["if"].call(l,l.consumes,{hash:{},inverse:m.program(4,n,j),fn:m.program(1,e,j),data:j});if(c||c===0){i+=c}i+="\n</select>\n";return i})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.resource=b(function(f,l,e,k,j){this.compilerInfo=[4,">= 1.0.0"];e=this.merge(e,f.helpers);j=j||{};var h="",c,o,g="function",i=this.escapeExpression,n=this,m=e.blockHelperMissing;function d(q,p){return" : "}h+="<div class='heading'>\n <h2>\n <a href='#!/";if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+"' onclick=\"Docs.toggleEndpointListForResource('";if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+"');\">";if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+"</a> ";o={hash:{},inverse:n.noop,fn:n.program(1,d,j),data:j};if(c=e.description){c=c.call(l,o)}else{c=l.description;c=typeof c===g?c.apply(l):c}if(!e.description){c=m.call(l,c,o)}if(c||c===0){h+=c}if(c=e.description){c=c.call(l,{hash:{},data:j})}else{c=l.description;c=typeof c===g?c.apply(l):c}if(c||c===0){h+=c}h+="\n </h2>\n <ul class='options'>\n <li>\n <a href='#!/";if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+"' id='endpointListTogger_";if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+"'\n onclick=\"Docs.toggleEndpointListForResource('";if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+"');\">Show/Hide</a>\n </li>\n <li>\n <a href='#' onclick=\"Docs.collapseOperationsForResource('";if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+"'); return false;\">\n List Operations\n </a>\n </li>\n <li>\n <a href='#' onclick=\"Docs.expandOperationsForResource('";if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+"'); return false;\">\n Expand Operations\n </a>\n </li>\n <li>\n <a href='";if(c=e.url){c=c.call(l,{hash:{},data:j})}else{c=l.url;c=typeof c===g?c.apply(l):c}h+=i(c)+"'>Raw</a>\n </li>\n </ul>\n</div>\n<ul class='endpoints' id='";if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+"_endpoint_list' style='display:none'>\n\n</ul>\n";return h})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.response_content_type=b(function(g,l,f,k,j){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);j=j||{};var i="",c,h="function",m=this;function e(r,q){var o="",p;o+="\n ";p=f.each.call(r,r.produces,{hash:{},inverse:m.noop,fn:m.program(2,d,q),data:q});if(p||p===0){o+=p}o+="\n";return o}function d(r,q){var o="",p;o+='\n <option value="';p=(typeof r===h?r.apply(r):r);if(p||p===0){o+=p}o+='">';p=(typeof r===h?r.apply(r):r);if(p||p===0){o+=p}o+="</option>\n ";return o}function n(p,o){return'\n <option value="application/json">application/json</option>\n'}i+='<label for="responseContentType"></label>\n<select name="responseContentType">\n';c=f["if"].call(l,l.produces,{hash:{},inverse:m.program(4,n,j),fn:m.program(1,e,j),data:j});if(c||c===0){i+=c}i+="\n</select>\n";return i})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.signature=b(function(e,k,d,j,i){this.compilerInfo=[4,">= 1.0.0"];d=this.merge(d,e.helpers);i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='<div>\n<ul class="signature-nav">\n <li><a class="description-link" href="#">Model</a></li>\n <li><a class="snippet-link" href="#">Model Schema</a></li>\n</ul>\n<div>\n\n<div class="signature-container">\n <div class="description">\n ';if(c=d.signature){c=c.call(k,{hash:{},data:i})}else{c=k.signature;c=typeof c===f?c.apply(k):c}if(c||c===0){g+=c}g+='\n </div>\n\n <div class="snippet">\n <pre><code>';if(c=d.sampleJSON){c=c.call(k,{hash:{},data:i})}else{c=k.sampleJSON;c=typeof c===f?c.apply(k):c}g+=h(c)+'</code></pre>\n <small class="notice"></small>\n </div>\n</div>\n\n';return g})})();(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.status_code=b(function(e,k,d,j,i){this.compilerInfo=[4,">= 1.0.0"];d=this.merge(d,e.helpers);i=i||{};var g="",c,f="function",h=this.escapeExpression;g+="<td width='15%' class='code'>";if(c=d.code){c=c.call(k,{hash:{},data:i})}else{c=k.code;c=typeof c===f?c.apply(k):c}g+=h(c)+"</td>\n<td>";if(c=d.message){c=c.call(k,{hash:{},data:i})}else{c=k.message;c=typeof c===f?c.apply(k):c}if(c||c===0){g+=c}g+="</td>\n";return g})})();(function(){var j,r,u,o,l,k,n,m,i,p,s,q,h,c,g,f,e,d,b,a,x,w,t={}.hasOwnProperty,v=function(B,z){for(var y in z){if(t.call(z,y)){B[y]=z[y]}}function A(){this.constructor=B}A.prototype=z.prototype;B.prototype=new A();B.__super__=z.prototype;return B};s=(function(z){v(y,z);function y(){q=y.__super__.constructor.apply(this,arguments);return q}y.prototype.dom_id="swagger_ui";y.prototype.options=null;y.prototype.api=null;y.prototype.headerView=null;y.prototype.mainView=null;y.prototype.initialize=function(A){var B=this;if(A==null){A={}}if(A.dom_id!=null){this.dom_id=A.dom_id;delete A.dom_id}if($("#"+this.dom_id)==null){$("body").append('<div id="'+this.dom_id+'"></div>')}this.options=A;this.options.success=function(){return B.render()};this.options.progress=function(C){return B.showMessage(C)};this.options.failure=function(C){return B.onLoadFailure(C)};this.headerView=new r({el:$("#header")});return this.headerView.on("update-swagger-ui",function(C){return B.updateSwaggerUi(C)})};y.prototype.updateSwaggerUi=function(A){this.options.url=A.url;return this.load()};y.prototype.load=function(){var B,A;if((A=this.mainView)!=null){A.clear()}B=this.options.url;if(B.indexOf("http")!==0){B=this.buildUrl(window.location.href.toString(),B)}this.options.url=B;this.headerView.update(B);this.api=new SwaggerApi(this.options);this.api.build();return this.api};y.prototype.render=function(){var A=this;this.showMessage("Finished Loading Resource Information. Rendering Swagger UI...");this.mainView=new u({model:this.api,el:$("#"+this.dom_id)}).render();this.showMessage();switch(this.options.docExpansion){case"full":Docs.expandOperationsForResource("");break;case"list":Docs.collapseOperationsForResource("")}if(this.options.onComplete){this.options.onComplete(this.api,this)}return setTimeout(function(){return Docs.shebang()},400)};y.prototype.buildUrl=function(B,A){var C;log("base is "+B);C=B.split("/");B=C[0]+"//"+C[2];if(A.indexOf("/")===0){return B+A}else{return B+"/"+A}};y.prototype.showMessage=function(A){if(A==null){A=""}$("#message-bar").removeClass("message-fail");$("#message-bar").addClass("message-success");return $("#message-bar").html(A)};y.prototype.onLoadFailure=function(A){var B;if(A==null){A=""}$("#message-bar").removeClass("message-success");$("#message-bar").addClass("message-fail");B=$("#message-bar").html(A);if(this.options.onFailure!=null){this.options.onFailure(A)}return B};return y})(Backbone.Router);window.SwaggerUi=s;r=(function(z){v(y,z);function y(){h=y.__super__.constructor.apply(this,arguments);return h}y.prototype.events={"click #show-pet-store-icon":"showPetStore","click #show-wordnik-dev-icon":"showWordnikDev","click #explore":"showCustom","keyup #input_baseUrl":"showCustomOnKeyup","keyup #input_apiKey":"showCustomOnKeyup"};y.prototype.initialize=function(){};y.prototype.showPetStore=function(A){return this.trigger("update-swagger-ui",{url:"http://petstore.swagger.wordnik.com/api/api-docs"})};y.prototype.showWordnikDev=function(A){return this.trigger("update-swagger-ui",{url:"http://api.wordnik.com/v4/resources.json"})};y.prototype.showCustomOnKeyup=function(A){if(A.keyCode===13){return this.showCustom()}};y.prototype.showCustom=function(A){if(A!=null){A.preventDefault()}return this.trigger("update-swagger-ui",{url:$("#input_baseUrl").val(),apiKey:$("#input_apiKey").val()})};y.prototype.update=function(B,C,A){if(A==null){A=false}$("#input_baseUrl").val(B);if(A){return this.trigger("update-swagger-ui",{url:B})}};return y})(Backbone.View);u=(function(y){v(z,y);function z(){g=z.__super__.constructor.apply(this,arguments);return g}z.prototype.initialize=function(){};z.prototype.render=function(){var C,B,A,D;$(this.el).html(Handlebars.templates.main(this.model));D=this.model.apisArray;for(B=0,A=D.length;B<A;B++){C=D[B];this.addResource(C)}return this};z.prototype.addResource=function(B){var A;A=new n({model:B,tagName:"li",id:"resource_"+B.name,className:"resource"});return $("#resources").append(A.render().el)};z.prototype.clear=function(){return $(this.el).html("")};return z})(Backbone.View);n=(function(z){v(y,z);function y(){f=y.__super__.constructor.apply(this,arguments);return f}y.prototype.initialize=function(){};y.prototype.render=function(){var B,C,A,D;$(this.el).html(Handlebars.templates.resource(this.model));this.number=0;D=this.model.operationsArray;for(C=0,A=D.length;C<A;C++){B=D[C];this.addOperation(B)}return this};y.prototype.addOperation=function(A){var B;A.number=this.number;B=new o({model:A,tagName:"li",className:"endpoint"});$(".endpoints",$(this.el)).append(B.render().el);return this.number++};return y})(Backbone.View);o=(function(z){v(y,z);function y(){e=y.__super__.constructor.apply(this,arguments);return e}y.prototype.invocationUrl=null;y.prototype.events={"submit .sandbox":"submitOperation","click .submit":"submitOperation","click .response_hider":"hideResponse","click .toggleOperation":"toggleOperationContent"};y.prototype.initialize=function(){};y.prototype.render=function(){var A,P,G,M,K,Q,L,N,J,I,H,O,E,C,F,D,B;P=true;if(!P){this.model.isReadOnly=true}$(this.el).html(Handlebars.templates.operation(this.model));if(this.model.responseClassSignature&&this.model.responseClassSignature!=="string"){Q={sampleJSON:this.model.responseSampleJSON,isParam:false,signature:this.model.responseClassSignature};K=new i({model:Q,tagName:"div"});$(".model-signature",$(this.el)).append(K.render().el)}else{$(".model-signature",$(this.el)).html(this.model.type)}A={isParam:false};A.consumes=this.model.consumes;A.produces=this.model.produces;F=this.model.parameters;for(J=0,O=F.length;J<O;J++){G=F[J];N=G.type||G.dataType;if(N.toLowerCase()==="file"){if(!A.consumes){log("set content type ");A.consumes="multipart/form-data"}}}M=new m({model:A});$(".response-content-type",$(this.el)).append(M.render().el);D=this.model.parameters;for(I=0,E=D.length;I<E;I++){G=D[I];this.addParameter(G,A.consumes)}B=this.model.responseMessages;for(H=0,C=B.length;H<C;H++){L=B[H];this.addStatusCode(L)}return this};y.prototype.addParameter=function(C,A){var B;C.consumes=A;B=new k({model:C,tagName:"tr",readOnly:this.model.isReadOnly});return $(".operation-params",$(this.el)).append(B.render().el)};y.prototype.addStatusCode=function(B){var A;A=new p({model:B,tagName:"tr"});return $(".operation-status",$(this.el)).append(A.render().el)};y.prototype.submitOperation=function(O){var Q,G,N,D,I,A,J,M,L,K,P,F,C,H,E,B;if(O!=null){O.preventDefault()}G=$(".sandbox",$(this.el));Q=true;G.find("input.required").each(function(){var R=this;$(this).removeClass("error");if(jQuery.trim($(this).val())===""){$(this).addClass("error");$(this).wiggle({callback:function(){return $(R).focus()}});return Q=false}});if(Q){D={};A={parent:this};N=false;H=G.find("input");for(M=0,P=H.length;M<P;M++){I=H[M];if((I.value!=null)&&jQuery.trim(I.value).length>0){D[I.name]=I.value}if(I.type==="file"){N=true}}E=G.find("textarea");for(L=0,F=E.length;L<F;L++){I=E[L];if((I.value!=null)&&jQuery.trim(I.value).length>0){D.body=I.value}}B=G.find("select");for(K=0,C=B.length;K<C;K++){I=B[K];J=this.getSelectedValue(I);if((J!=null)&&jQuery.trim(J).length>0){D[I.name]=J}}A.responseContentType=$("div select[name=responseContentType]",$(this.el)).val();A.requestContentType=$("div select[name=parameterContentType]",$(this.el)).val();$(".response_throbber",$(this.el)).show();if(N){return this.handleFileUpload(D,G)}else{return this.model["do"](D,A,this.showCompleteStatus,this.showErrorStatus,this)}}};y.prototype.success=function(A,B){return B.showCompleteStatus(A)};y.prototype.handleFileUpload=function(Q,I){var M,H,C,N,L,K,J,G,E,D,P,T,S,R,F,B,A,U,O=this;log("it's a file upload");F=I.serializeArray();for(J=0,P=F.length;J<P;J++){N=F[J];if((N.value!=null)&&jQuery.trim(N.value).length>0){Q[N.name]=N.value}}M=new FormData();B=this.model.parameters;for(G=0,T=B.length;G<T;G++){K=B[G];if(K.paramType==="form"){M.append(K.name,Q[K.name])}}C={};A=this.model.parameters;for(E=0,S=A.length;E<S;E++){K=A[E];if(K.paramType==="header"){C[K.name]=Q[K.name]}}log(C);U=I.find('input[type~="file"]');for(D=0,R=U.length;D<R;D++){H=U[D];M.append($(H).attr("name"),H.files[0])}log(M);this.invocationUrl=this.model.supportHeaderParams()?(C=this.model.getHeaderParams(Q),this.model.urlify(Q,false)):this.model.urlify(Q,true);$(".request_url",$(this.el)).html("<pre>"+this.invocationUrl+"</pre>");L={type:this.model.method,url:this.invocationUrl,headers:C,data:M,dataType:"json",contentType:false,processData:false,error:function(W,X,V){return O.showErrorStatus(O.wrap(W),O)},success:function(V){return O.showResponse(V,O)},complete:function(V){return O.showCompleteStatus(O.wrap(V),O)}};if(window.authorizations){window.authorizations.apply(L)}jQuery.ajax(L);return false};y.prototype.wrap=function(A){var B,C=this;B={};B.content={};B.content.data=A.responseText;B.getHeaders=function(){return{"Content-Type":A.headers("Content-Type")}};B.request={};B.request.url=this.invocationUrl;B.status=A.status;return B};y.prototype.getSelectedValue=function(A){var D,C,F,B,E;if(!A.multiple){return A.value}else{C=[];E=A.options;for(F=0,B=E.length;F<B;F++){D=E[F];if(D.selected){C.push(D.value)}}if(C.length>0){return C.join(",")}else{return null}}};y.prototype.hideResponse=function(A){if(A!=null){A.preventDefault()}$(".response",$(this.el)).slideUp();return $(".response_hider",$(this.el)).fadeOut()};y.prototype.showResponse=function(A){var B;B=JSON.stringify(A,null,"\t").replace(/\n/g,"<br>");return $(".response_body",$(this.el)).html(escape(B))};y.prototype.showErrorStatus=function(B,A){return A.showStatus(B)};y.prototype.showCompleteStatus=function(B,A){return A.showStatus(B)};y.prototype.formatXml=function(H){var D,G,B,I,N,J,C,A,L,M,F,E,K;A=/(>)(<)(\/*)/g;M=/[ ]*(.*)[ ]+\n/g;D=/(<.+>)(.+\n)/g;H=H.replace(A,"$1\n$2$3").replace(M,"$1\n").replace(D,"$1\n$2");C=0;G="";N=H.split("\n");B=0;I="other";L={"single->single":0,"single->closing":-1,"single->opening":0,"single->other":0,"closing->single":0,"closing->closing":-1,"closing->opening":0,"closing->other":0,"opening->single":1,"opening->closing":0,"opening->opening":1,"opening->other":1,"other->single":0,"other->closing":-1,"other->opening":0,"other->other":0};F=function(T){var P,O,R,V,S,Q,U;Q={single:Boolean(T.match(/<.+\/>/)),closing:Boolean(T.match(/<\/.+>/)),opening:Boolean(T.match(/<[^!?].*>/))};S=((function(){var W;W=[];for(R in Q){U=Q[R];if(U){W.push(R)}}return W})())[0];S=S===void 0?"other":S;P=I+"->"+S;I=S;V="";B+=L[P];V=((function(){var X,Y,W;W=[];for(O=X=0,Y=B;0<=Y?X<Y:X>Y;O=0<=Y?++X:--X){W.push(" ")}return W})()).join("");if(P==="opening->closing"){return G=G.substr(0,G.length-1)+T+"\n"}else{return G+=V+T+"\n"}};for(E=0,K=N.length;E<K;E++){J=N[E];F(J)}return G};y.prototype.showStatus=function(A){var D,C,G,F,E,B;C=A.data;F=A.headers;G=F["Content-Type"]?F["Content-Type"].split(";")[0].trim():null;if(!C){D=$("<code />").text("no content");E=$('<pre class="json" />').append(D)}else{if(G==="application/json"||/\+json$/.test(G)){D=$("<code />").text(JSON.stringify(JSON.parse(C),null," "));E=$('<pre class="json" />').append(D)}else{if(G==="application/xml"||/\+xml$/.test(G)){D=$("<code />").text(this.formatXml(C));E=$('<pre class="xml" />').append(D)}else{if(G==="text/html"){D=$("<code />").html(C);E=$('<pre class="xml" />').append(D)}else{if(/^image\//.test(G)){E=$("<img>").attr("src",A.url)}else{D=$("<code />").text(C);E=$('<pre class="json" />').append(D)}}}}}B=E;$(".request_url",$(this.el)).html("<pre>"+A.url+"</pre>");$(".response_code",$(this.el)).html("<pre>"+A.status+"</pre>");$(".response_body",$(this.el)).html(B);$(".response_headers",$(this.el)).html("<pre>"+JSON.stringify(A.headers,null," ").replace(/\n/g,"<br>")+"</pre>");$(".response",$(this.el)).slideDown();$(".response_hider",$(this.el)).show();$(".response_throbber",$(this.el)).hide();return hljs.highlightBlock($(".response_body",$(this.el))[0])};y.prototype.toggleOperationContent=function(){var A;A=$("#"+Docs.escapeResourceName(this.model.resourceName)+"_"+this.model.nickname+"_"+this.model.method+"_"+this.model.number+"_content");if(A.is(":visible")){return Docs.collapseOperation(A)}else{return Docs.expandOperation(A)}};return y})(Backbone.View);p=(function(z){v(y,z);function y(){d=y.__super__.constructor.apply(this,arguments);return d}y.prototype.initialize=function(){};y.prototype.render=function(){var A;A=this.template();$(this.el).html(A(this.model));return this};y.prototype.template=function(){return Handlebars.templates.status_code};return y})(Backbone.View);k=(function(z){v(y,z);function y(){b=y.__super__.constructor.apply(this,arguments);return b}y.prototype.initialize=function(){};y.prototype.render=function(){var G,A,C,F,B,H,E,D;D=this.model.type||this.model.dataType;if(this.model.paramType==="body"){this.model.isBody=true}if(D.toLowerCase()==="file"){this.model.isFile=true}E=this.template();$(this.el).html(E(this.model));B={sampleJSON:this.model.sampleJSON,isParam:true,signature:this.model.signature};if(this.model.sampleJSON){H=new i({model:B,tagName:"div"});$(".model-signature",$(this.el)).append(H.render().el)}else{$(".model-signature",$(this.el)).html(this.model.signature)}A=false;if(this.model.isBody){A=true}G={isParam:A};G.consumes=this.model.consumes;if(A){C=new l({model:G});$(".parameter-content-type",$(this.el)).append(C.render().el)}else{F=new m({model:G});$(".response-content-type",$(this.el)).append(F.render().el)}return this};y.prototype.template=function(){if(this.model.isList){return Handlebars.templates.param_list}else{if(this.options.readOnly){if(this.model.required){return Handlebars.templates.param_readonly_required}else{return Handlebars.templates.param_readonly}}else{if(this.model.required){return Handlebars.templates.param_required}else{return Handlebars.templates.param}}}};return y})(Backbone.View);i=(function(z){v(y,z);function y(){a=y.__super__.constructor.apply(this,arguments);return a}y.prototype.events={"click a.description-link":"switchToDescription","click a.snippet-link":"switchToSnippet","mousedown .snippet":"snippetToTextArea"};y.prototype.initialize=function(){};y.prototype.render=function(){var A;A=this.template();$(this.el).html(A(this.model));this.switchToDescription();this.isParam=this.model.isParam;if(this.isParam){$(".notice",$(this.el)).text("Click to set as parameter value")}return this};y.prototype.template=function(){return Handlebars.templates.signature};y.prototype.switchToDescription=function(A){if(A!=null){A.preventDefault()}$(".snippet",$(this.el)).hide();$(".description",$(this.el)).show();$(".description-link",$(this.el)).addClass("selected");return $(".snippet-link",$(this.el)).removeClass("selected")};y.prototype.switchToSnippet=function(A){if(A!=null){A.preventDefault()}$(".description",$(this.el)).hide();$(".snippet",$(this.el)).show();$(".snippet-link",$(this.el)).addClass("selected");return $(".description-link",$(this.el)).removeClass("selected")};y.prototype.snippetToTextArea=function(A){var B;if(this.isParam){if(A!=null){A.preventDefault()}B=$("textarea",$(this.el.parentNode.parentNode.parentNode));if($.trim(B.val())===""){return B.val(this.model.sampleJSON)}}};return y})(Backbone.View);j=(function(y){v(z,y);function z(){x=z.__super__.constructor.apply(this,arguments);return x}z.prototype.initialize=function(){};z.prototype.render=function(){var A;A=this.template();$(this.el).html(A(this.model));$("label[for=contentType]",$(this.el)).text("Response Content Type");return this};z.prototype.template=function(){return Handlebars.templates.content_type};return z})(Backbone.View);m=(function(y){v(z,y);function z(){w=z.__super__.constructor.apply(this,arguments);return w}z.prototype.initialize=function(){};z.prototype.render=function(){var A;A=this.template();$(this.el).html(A(this.model));$("label[for=responseContentType]",$(this.el)).text("Response Content Type");return this};z.prototype.template=function(){return Handlebars.templates.response_content_type};return z})(Backbone.View);l=(function(z){v(y,z);function y(){c=y.__super__.constructor.apply(this,arguments);return c}y.prototype.initialize=function(){};y.prototype.render=function(){var A;A=this.template();$(this.el).html(A(this.model));$("label[for=parameterContentType]",$(this.el)).text("Parameter content type:");return this};y.prototype.template=function(){return Handlebars.templates.parameter_content_type};return y})(Backbone.View)}).call(this);
@@ -132,4 +132,4 @@ pre .xml .vbscript,
132
132
  pre .xml .css,
133
133
  pre .xml .cdata {
134
134
  opacity: 0.5;
135
- }
135
+ }
@@ -1,1759 +1,1070 @@
1
- html, body, div, span, applet, object, iframe,
2
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3
- a, abbr, acronym, address, big, cite, code,
4
- del, dfn, em, img, ins, kbd, q, s, samp,
5
- small, strike, strong, sub, sup, tt, var,
6
- b, u, i, center,
7
- dl, dt, dd, ol, ul, li,
8
- fieldset, form, label, legend,
9
- table, caption, tbody, tfoot, thead, tr, th, td,
10
- article, aside, canvas, details, embed,
11
- figure, figcaption, footer, header, hgroup,
12
- menu, nav, output, ruby, section, summary,
13
- time, mark, audio, video {
14
- margin: 0;
15
- padding: 0;
16
- border: 0;
17
- font-size: 100%;
18
- font: inherit;
19
- vertical-align: baseline;
20
- }
21
-
1
+ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
2
+ html,
3
+ body,
4
+ div,
5
+ span,
6
+ applet,
7
+ object,
8
+ iframe,
9
+ h1,
10
+ h2,
11
+ h3,
12
+ h4,
13
+ h5,
14
+ h6,
15
+ p,
16
+ blockquote,
17
+ pre,
18
+ a,
19
+ abbr,
20
+ acronym,
21
+ address,
22
+ big,
23
+ cite,
24
+ code,
25
+ del,
26
+ dfn,
27
+ em,
28
+ img,
29
+ ins,
30
+ kbd,
31
+ q,
32
+ s,
33
+ samp,
34
+ small,
35
+ strike,
36
+ strong,
37
+ sub,
38
+ sup,
39
+ tt,
40
+ var,
41
+ b,
42
+ u,
43
+ i,
44
+ center,
45
+ dl,
46
+ dt,
47
+ dd,
48
+ ol,
49
+ ul,
50
+ li,
51
+ fieldset,
52
+ form,
53
+ label,
54
+ legend,
55
+ table,
56
+ caption,
57
+ tbody,
58
+ tfoot,
59
+ thead,
60
+ tr,
61
+ th,
62
+ td,
63
+ article,
64
+ aside,
65
+ canvas,
66
+ details,
67
+ embed,
68
+ figure,
69
+ figcaption,
70
+ footer,
71
+ header,
72
+ hgroup,
73
+ menu,
74
+ nav,
75
+ output,
76
+ ruby,
77
+ section,
78
+ summary,
79
+ time,
80
+ mark,
81
+ audio,
82
+ video {
83
+ margin: 0;
84
+ padding: 0;
85
+ border: 0;
86
+ font-size: 100%;
87
+ font: inherit;
88
+ vertical-align: baseline;
89
+ }
90
+ /* HTML5 display-role reset for older browsers */
91
+ article,
92
+ aside,
93
+ details,
94
+ figcaption,
95
+ figure,
96
+ footer,
97
+ header,
98
+ hgroup,
99
+ menu,
100
+ nav,
101
+ section {
102
+ display: block;
103
+ }
22
104
  body {
23
- line-height: 1;
105
+ line-height: 1;
106
+ }
107
+ ol,
108
+ ul {
109
+ list-style: none;
24
110
  }
25
-
26
- ol, ul {
27
- list-style: none;
111
+ blockquote,
112
+ q {
113
+ quotes: none;
114
+ }
115
+ blockquote:before,
116
+ blockquote:after,
117
+ q:before,
118
+ q:after {
119
+ content: '';
120
+ content: none;
28
121
  }
29
-
30
122
  table {
31
- border-collapse: collapse;
32
- border-spacing: 0;
33
- }
34
-
35
- caption, th, td {
36
- text-align: left;
37
- font-weight: normal;
38
- vertical-align: middle;
39
- }
40
-
41
- q, blockquote {
42
- quotes: none;
43
- }
44
-
45
- q:before, q:after, blockquote:before, blockquote:after {
46
- content: "";
47
- content: none;
48
- }
49
-
50
- a img {
51
- border: none;
52
- }
53
-
54
- article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
55
- display: block;
56
- }
57
-
58
- h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
59
- text-decoration: none;
60
- }
61
-
62
- h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
63
- text-decoration: underline;
64
- }
65
-
66
- h1 span.divider, h2 span.divider, h3 span.divider, h4 span.divider, h5 span.divider, h6 span.divider {
67
- color: #aaaaaa;
68
- }
69
-
70
- h1 {
71
- color: black;
72
- font-size: 1.5em;
73
- line-height: 1.3em;
74
- padding: 10px 0 10px 0;
75
- font-family: "Droid Sans", sans-serif;
76
- font-weight: bold;
77
- }
78
-
79
- h2 {
80
- color: black;
81
- font-size: 1.3em;
82
- padding: 10px 0 10px 0;
83
- }
84
-
85
- h2 a {
86
- color: black;
87
- }
88
-
89
- h2 span.sub {
90
- font-size: 0.7em;
91
- color: #999999;
92
- font-style: italic;
93
- }
94
-
95
- h2 span.sub a {
96
- color: #777777;
97
- }
98
-
99
- h3 {
100
- color: black;
101
- font-size: 1.1em;
102
- padding: 10px 0 10px 0;
103
- }
104
-
105
- .heading_with_menu {
106
- float: none;
107
- clear: both;
108
- overflow: hidden;
109
- display: block;
110
- }
111
-
112
- .heading_with_menu h1, .heading_with_menu h2, .heading_with_menu h3, .heading_with_menu h4, .heading_with_menu h5, .heading_with_menu h6 {
113
- display: block;
114
- clear: none;
115
- float: left;
116
- -moz-box-sizing: border-box;
117
- -webkit-box-sizing: border-box;
118
- -ms-box-sizing: border-box;
119
- box-sizing: border-box;
120
- width: 60%;
121
- }
122
-
123
- .heading_with_menu ul {
124
- display: block;
125
- clear: none;
126
- float: right;
127
- -moz-box-sizing: border-box;
128
- -webkit-box-sizing: border-box;
129
- -ms-box-sizing: border-box;
130
- box-sizing: border-box;
131
- margin-top: 10px;
132
- }
133
-
134
- input.parameter {
135
- width: 300px;
136
- border: 1px solid #aaa;
137
- }
138
-
139
- .body-textarea {
140
- width: 300px;
141
- height: 100px;
142
- border: 1px solid #aaa;
143
- }
144
-
145
- p {
146
- line-height: 1.4em;
147
- padding: 0 0 10px;
148
- color: #333333;
149
- }
150
-
151
- ol {
152
- margin: 0px 0 10px;
153
- padding: 0 0 0 18px;
154
- list-style-type: decimal;
155
- }
156
-
157
- ol li {
158
- padding: 5px 0px;
159
- font-size: 0.9em;
160
- color: #333333;
161
- }
162
-
163
- .markdown h3 {
164
- color: #547f00;
165
- }
166
-
167
- .markdown h4 {
168
- color: #666666;
169
- }
170
-
171
- .markdown pre {
172
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
173
- background-color: #fcf6db;
174
- border: 1px solid #e5e0c6;
175
- padding: 10px;
176
- margin: 0 0 10px 0;
177
- }
178
-
179
- .markdown pre code {
180
- line-height: 1.6em;
181
- }
182
-
183
- .markdown p code, .markdown li code {
184
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
185
- background-color: #f0f0f0;
186
- color: black;
187
- padding: 1px 3px;
188
- }
189
-
190
- .markdown ol, .markdown ul {
191
- font-family: "Droid Sans", sans-serif;
192
- margin: 5px 0 10px;
193
- padding: 0 0 0 18px;
194
- list-style-type: disc;
195
- }
196
-
197
- .markdown ol li, .markdown ul li {
198
- padding: 3px 0px;
199
- line-height: 1.4em;
200
- color: #333333;
201
- }
202
-
203
- div.gist {
204
- margin: 20px 0 25px 0 !important;
205
- }
206
-
207
- p.big, div.big p {
208
- font-size: 1em;
209
- margin-bottom: 10px;
210
- }
211
-
212
- span.weak {
213
- color: #666666;
214
- }
215
-
216
- span.blank, span.empty {
217
- color: #888888;
218
- font-style: italic;
219
- }
220
-
221
- a {
222
- color: #547f00;
223
- }
224
-
225
- b, strong {
226
- font-family: "Droid Sans", sans-serif;
227
- font-weight: bold;
228
- }
229
-
230
- .code {
231
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
232
- }
233
-
234
- pre {
235
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
236
- background-color: #fcf6db;
237
- border: 1px solid #e5e0c6;
238
- padding: 10px;
239
- }
240
-
241
- pre code {
242
- line-height: 1.6em;
243
- }
244
-
245
- .required {
246
- font-weight: bold;
247
- }
248
-
249
- table.fullwidth {
250
- width: 100%;
251
- }
252
-
253
- table thead tr th {
254
- padding: 5px;
255
- font-size: 0.9em;
256
- color: #666666;
257
- border-bottom: 1px solid #999999;
258
- }
259
-
260
- table tbody tr.offset {
261
- background-color: #f5f5f5;
262
- }
263
-
264
- table tbody tr td {
265
- padding: 6px;
266
- font-size: 0.9em;
267
- border-bottom: 1px solid #cccccc;
268
- vertical-align: top;
269
- line-height: 1.3em;
270
- }
271
-
272
- table tbody tr:last-child td {
273
- border-bottom: none;
274
- }
275
-
276
- table tbody tr.offset {
277
- background-color: #f0f0f0;
278
- }
279
-
280
- form.form_box {
281
- background-color: #ebf3f9;
282
- border: 1px solid #c3d9ec;
283
- padding: 10px;
284
- }
285
-
286
- form.form_box label {
287
- color: #0f6ab4 !important;
288
- }
289
-
290
- form.form_box input[type=submit] {
291
- display: block;
292
- padding: 10px;
293
- }
294
-
295
- form.form_box p {
296
- font-size: 0.9em;
297
- padding: 0 0 15px;
298
- color: #7e7b6d;
299
- }
300
-
301
- form.form_box p a {
302
- color: #646257;
303
- }
304
-
305
- form.form_box p strong {
306
- color: black;
307
- }
308
-
309
- form.form_box p.weak {
310
- font-size: 0.8em;
311
- }
312
-
313
- form.formtastic fieldset.inputs ol li p.inline-hints {
314
- margin-left: 0;
315
- font-style: italic;
316
- font-size: 0.9em;
317
- margin: 0;
318
- }
319
-
320
- form.formtastic fieldset.inputs ol li label {
321
- display: block;
322
- clear: both;
323
- width: auto;
324
- padding: 0 0 3px;
325
- color: #666666;
326
- }
327
-
328
- form.formtastic fieldset.inputs ol li label abbr {
329
- padding-left: 3px;
330
- color: #888888;
331
- }
332
-
333
- form.formtastic fieldset.inputs ol li.required label {
334
- color: black;
335
- }
336
-
337
- form.formtastic fieldset.inputs ol li.string input, form.formtastic fieldset.inputs ol li.url input, form.formtastic fieldset.inputs ol li.numeric input {
338
- display: block;
339
- padding: 4px;
340
- width: auto;
341
- clear: both;
342
- }
343
-
344
- form.formtastic fieldset.inputs ol li.string input.title, form.formtastic fieldset.inputs ol li.url input.title, form.formtastic fieldset.inputs ol li.numeric input.title {
345
- font-size: 1.3em;
346
- }
347
-
348
- form.formtastic fieldset.inputs ol li.text textarea {
349
- font-family: "Droid Sans", sans-serif;
350
- height: 250px;
351
- padding: 4px;
352
- display: block;
353
- clear: both;
354
- }
355
-
356
- form.formtastic fieldset.inputs ol li.select select {
357
- display: block;
358
- clear: both;
359
- }
360
-
361
- form.formtastic fieldset.inputs ol li.boolean {
362
- float: none;
363
- clear: both;
364
- overflow: hidden;
365
- display: block;
366
- }
367
-
368
- form.formtastic fieldset.inputs ol li.boolean input {
369
- display: block;
370
- float: left;
371
- clear: none;
372
- margin: 0 5px 0 0;
373
- }
374
-
375
- form.formtastic fieldset.inputs ol li.boolean label {
376
- display: block;
377
- float: left;
378
- clear: none;
379
- margin: 0;
380
- padding: 0;
381
- }
382
-
383
- form.formtastic fieldset.buttons {
384
- margin: 0;
385
- padding: 0;
386
- }
387
-
388
- form.fullwidth ol li.string input, form.fullwidth ol li.url input, form.fullwidth ol li.text textarea, form.fullwidth ol li.numeric input {
389
- width: 500px !important;
390
- }
391
-
392
- body {
393
- font-family: "Droid Sans", sans-serif;
394
- }
395
-
396
- body #content_message {
397
- margin: 10px 15px;
398
- font-style: italic;
399
- color: #999999;
400
- }
401
-
402
- body #header {
403
- background-color: #89bf04;
404
- padding: 14px;
405
- }
406
-
407
- body #header a#logo {
408
- font-size: 1.5em;
409
- font-weight: bold;
410
- text-decoration: none;
411
- background: transparent url(assets/logo_small.png) no-repeat left center;
412
- padding: 20px 0 20px 40px;
413
- color: white;
414
- }
415
-
416
- body #header form#api_selector {
417
- display: block;
418
- clear: none;
419
- float: right;
420
- }
421
-
422
- body #header form#api_selector .input {
423
- display: block;
424
- clear: none;
425
- float: left;
426
- margin: 0 10px 0 0;
427
- }
428
-
429
- body #header form#api_selector .input input {
430
- font-size: 0.9em;
431
- padding: 3px;
432
- margin: 0;
433
- }
434
-
435
- body #header form#api_selector .input input#input_baseUrl {
436
- width: 400px;
437
- }
438
-
439
- body #header form#api_selector .input input#input_apiKey {
440
- width: 200px;
441
- }
442
-
443
- body #header form#api_selector .input a#explore {
444
- display: block;
445
- text-decoration: none;
446
- font-weight: bold;
447
- padding: 6px 8px;
448
- font-size: 0.9em;
449
- color: white;
450
- background-color: #547f00;
451
- -moz-border-radius: 4px;
452
- -webkit-border-radius: 4px;
453
- -o-border-radius: 4px;
454
- -ms-border-radius: 4px;
455
- -khtml-border-radius: 4px;
456
- border-radius: 4px;
457
- }
458
-
459
- body #header form#api_selector .input a#explore:hover {
460
- background-color: #547f00;
461
- }
462
-
463
- body p#colophon {
464
- margin: 0 15px 40px 15px;
465
- padding: 10px 0;
466
- font-size: 0.8em;
467
- border-top: 1px solid #dddddd;
468
- font-family: "Droid Sans", sans-serif;
469
- color: #999999;
470
- font-style: italic;
471
- }
472
-
473
- body p#colophon a {
474
- text-decoration: none;
475
- color: #547f00;
476
- }
477
-
478
- body ul#resources {
479
- font-family: "Droid Sans", sans-serif;
480
- font-size: 0.9em;
481
- }
482
-
483
- body ul#resources li.resource {
484
- border-bottom: 1px solid #dddddd;
485
- }
486
-
487
- body ul#resources li.resource:last-child {
488
- border-bottom: none;
489
- }
490
-
491
- body ul#resources li.resource div.heading {
492
- border: 1px solid transparent;
493
- float: none;
494
- clear: both;
495
- overflow: hidden;
496
- display: block;
497
- }
498
-
499
- body ul#resources li.resource div.heading h2 {
500
- color: #999999;
501
- padding-left: 0;
502
- display: block;
503
- clear: none;
504
- float: left;
505
- font-family: "Droid Sans", sans-serif;
506
- font-weight: bold;
507
- }
508
-
509
- body ul#resources li.resource div.heading h2 a {
510
- color: #999999;
511
- }
512
-
513
- body ul#resources li.resource div.heading h2 a:hover {
514
- color: black;
515
- }
516
-
517
- body ul#resources li.resource div.heading ul.options {
518
- overflow: hidden;
519
- padding: 0;
520
- display: block;
521
- clear: none;
522
- float: right;
523
- margin: 14px 10px 0 0;
524
- }
525
-
526
- body ul#resources li.resource div.heading ul.options li {
527
- float: left;
528
- clear: none;
529
- margin: 0;
530
- padding: 2px 10px;
531
- border-right: 1px solid #dddddd;
532
- }
533
-
534
- body ul#resources li.resource div.heading ul.options li:first-child, body ul#resources li.resource div.heading ul.options li.first {
535
- padding-left: 0;
536
- }
537
-
538
- body ul#resources li.resource div.heading ul.options li:last-child, body ul#resources li.resource div.heading ul.options li.last {
539
- padding-right: 0;
540
- border-right: none;
541
- }
542
-
543
- body ul#resources li.resource div.heading ul.options li {
544
- color: #666666;
545
- font-size: 0.9em;
546
- }
547
-
548
- body ul#resources li.resource div.heading ul.options li a {
549
- color: #aaaaaa;
550
- text-decoration: none;
551
- }
552
-
553
- body ul#resources li.resource div.heading ul.options li a:hover {
554
- text-decoration: underline;
555
- color: black;
556
- }
557
-
558
- body ul#resources li.resource:hover div.heading h2 a, body ul#resources li.resource.active div.heading h2 a {
559
- color: black;
560
- }
561
-
562
- body ul#resources li.resource:hover div.heading ul.options li a, body ul#resources li.resource.active div.heading ul.options li a {
563
- color: #555555;
564
- }
565
-
566
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get {
567
- float: none;
568
- clear: both;
569
- overflow: hidden;
570
- display: block;
571
- margin: 0 0 10px;
572
- padding: 0;
573
- }
574
-
575
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading {
576
- float: none;
577
- clear: both;
578
- overflow: hidden;
579
- display: block;
580
- margin: 0;
581
- padding: 0;
582
- background-color: #e7f0f7;
583
- border: 1px solid #c3d9ec;
584
- }
585
-
586
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 {
587
- display: block;
588
- clear: none;
589
- float: left;
590
- width: auto;
591
- margin: 0;
592
- padding: 0;
593
- line-height: 1.1em;
594
- color: black;
595
- }
596
-
597
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span {
598
- margin: 0;
599
- padding: 0;
600
- }
601
-
602
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.http_method a {
603
- text-transform: uppercase;
604
- background-color: #0f6ab4;
605
- text-decoration: none;
606
- color: white;
607
- display: inline-block;
608
- width: 50px;
609
- font-size: 0.7em;
610
- text-align: center;
611
- padding: 7px 0 4px 0;
612
- -moz-border-radius: 2px;
613
- -webkit-border-radius: 2px;
614
- -o-border-radius: 2px;
615
- -ms-border-radius: 2px;
616
- -khtml-border-radius: 2px;
617
- border-radius: 2px;
618
- }
619
-
620
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.path {
621
- padding-left: 10px;
622
- }
623
-
624
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.path a {
625
- color: black;
626
- text-decoration: none;
627
- }
628
-
629
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.path a:hover {
630
- text-decoration: underline;
631
- }
632
-
633
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options {
634
- overflow: hidden;
635
- padding: 0;
636
- display: block;
637
- clear: none;
638
- float: right;
639
- margin: 6px 10px 0 0;
640
- }
641
-
642
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
643
- float: left;
644
- clear: none;
645
- margin: 0;
646
- padding: 2px 10px;
647
- border-right: 1px solid #dddddd;
648
- }
649
-
650
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.first {
651
- padding-left: 0;
652
- }
653
-
654
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last {
655
- padding-right: 0;
656
- border-right: none;
657
- }
658
-
659
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
660
- border-right-color: #c3d9ec;
661
- color: #0f6ab4;
662
- font-size: 0.9em;
663
- }
664
-
665
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a {
666
- color: #0f6ab4;
667
- text-decoration: none;
668
- }
669
-
670
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a.active {
671
- text-decoration: underline;
672
- }
673
-
674
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content {
675
- background-color: #ebf3f9;
676
- border: 1px solid #c3d9ec;
677
- border-top: none;
678
- padding: 10px;
679
- -moz-border-radius-bottomleft: 6px;
680
- -webkit-border-bottom-left-radius: 6px;
681
- -o-border-bottom-left-radius: 6px;
682
- -ms-border-bottom-left-radius: 6px;
683
- -khtml-border-bottom-left-radius: 6px;
684
- border-bottom-left-radius: 6px;
685
- -moz-border-radius-bottomright: 6px;
686
- -webkit-border-bottom-right-radius: 6px;
687
- -o-border-bottom-right-radius: 6px;
688
- -ms-border-bottom-right-radius: 6px;
689
- -khtml-border-bottom-right-radius: 6px;
690
- border-bottom-right-radius: 6px;
691
- margin: 0 0 20px;
692
- }
693
-
694
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 {
695
- color: #0f6ab4;
696
- font-size: 1.1em;
697
- margin: 0;
698
- padding: 15px 0 5px;
699
- }
700
-
701
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content form input[type='text'].error {
702
- outline: 2px solid black;
703
- outline-color: #cc0000;
704
- }
705
-
706
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header {
707
- float: none;
708
- clear: both;
709
- overflow: hidden;
710
- display: block;
711
- }
712
-
713
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header input.submit {
714
- display: block;
715
- clear: none;
716
- float: left;
717
- padding: 6px 8px;
718
- }
719
-
720
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header img {
721
- display: block;
722
- clear: none;
723
- float: right;
724
- }
725
-
726
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a {
727
- padding: 4px 0 0 10px;
728
- color: #6fa5d2;
729
- display: inline-block;
730
- font-size: 0.9em;
731
- }
732
-
733
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.response div.block pre {
734
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
735
- padding: 10px;
736
- font-size: 0.9em;
737
- max-height: 400px;
738
- overflow-y: auto;
739
- }
740
-
741
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post {
742
- float: none;
743
- clear: both;
744
- overflow: hidden;
745
- display: block;
746
- margin: 0 0 10px;
747
- padding: 0;
748
- }
749
-
750
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading {
751
- float: none;
752
- clear: both;
753
- overflow: hidden;
754
- display: block;
755
- margin: 0;
756
- padding: 0;
757
- background-color: #e7f6ec;
758
- border: 1px solid #c3e8d1;
759
- }
760
-
761
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 {
762
- display: block;
763
- clear: none;
764
- float: left;
765
- width: auto;
766
- margin: 0;
767
- padding: 0;
768
- line-height: 1.1em;
769
- color: black;
770
- }
771
-
772
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span {
773
- margin: 0;
774
- padding: 0;
775
- }
776
-
777
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a {
778
- text-transform: uppercase;
779
- background-color: #10a54a;
780
- text-decoration: none;
781
- color: white;
782
- display: inline-block;
783
- width: 50px;
784
- font-size: 0.7em;
785
- text-align: center;
786
- padding: 7px 0 4px 0;
787
- -moz-border-radius: 2px;
788
- -webkit-border-radius: 2px;
789
- -o-border-radius: 2px;
790
- -ms-border-radius: 2px;
791
- -khtml-border-radius: 2px;
792
- border-radius: 2px;
793
- }
794
-
795
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path {
796
- padding-left: 10px;
797
- }
798
-
799
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path a {
800
- color: black;
801
- text-decoration: none;
802
- }
803
-
804
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path a:hover {
805
- text-decoration: underline;
806
- }
807
-
808
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options {
809
- overflow: hidden;
810
- padding: 0;
811
- display: block;
812
- clear: none;
813
- float: right;
814
- margin: 6px 10px 0 0;
815
- }
816
-
817
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
818
- float: left;
819
- clear: none;
820
- margin: 0;
821
- padding: 2px 10px;
822
- border-right: 1px solid #dddddd;
823
- }
824
-
825
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.first {
826
- padding-left: 0;
827
- }
828
-
829
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last {
830
- padding-right: 0;
831
- border-right: none;
832
- }
833
-
834
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
835
- border-right-color: #c3e8d1;
836
- color: #10a54a;
837
- font-size: 0.9em;
838
- }
839
-
840
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a {
841
- color: #10a54a;
842
- text-decoration: none;
843
- }
844
-
845
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a.active {
846
- text-decoration: underline;
847
- }
848
-
849
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content {
850
- background-color: #ebf7f0;
851
- border: 1px solid #c3e8d1;
852
- border-top: none;
853
- padding: 10px;
854
- -moz-border-radius-bottomleft: 6px;
855
- -webkit-border-bottom-left-radius: 6px;
856
- -o-border-bottom-left-radius: 6px;
857
- -ms-border-bottom-left-radius: 6px;
858
- -khtml-border-bottom-left-radius: 6px;
859
- border-bottom-left-radius: 6px;
860
- -moz-border-radius-bottomright: 6px;
861
- -webkit-border-bottom-right-radius: 6px;
862
- -o-border-bottom-right-radius: 6px;
863
- -ms-border-bottom-right-radius: 6px;
864
- -khtml-border-bottom-right-radius: 6px;
865
- border-bottom-right-radius: 6px;
866
- margin: 0 0 20px;
867
- }
868
-
869
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 {
870
- color: #10a54a;
871
- font-size: 1.1em;
872
- margin: 0;
873
- padding: 15px 0 5px;
874
- }
875
-
876
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content form input[type='text'].error {
877
- outline: 2px solid black;
878
- outline-color: #cc0000;
879
- }
880
-
881
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header {
882
- float: none;
883
- clear: both;
884
- overflow: hidden;
885
- display: block;
886
- }
887
-
888
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header input.submit {
889
- display: block;
890
- clear: none;
891
- float: left;
892
- padding: 6px 8px;
893
- }
894
-
895
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header img {
896
- display: block;
897
- clear: none;
898
- float: right;
899
- }
900
-
901
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a {
902
- padding: 4px 0 0 10px;
903
- color: #6fc992;
904
- display: inline-block;
905
- font-size: 0.9em;
906
- }
907
-
908
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.response div.block pre {
909
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
910
- padding: 10px;
911
- font-size: 0.9em;
912
- max-height: 400px;
913
- overflow-y: auto;
914
- }
915
-
916
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put {
917
- float: none;
918
- clear: both;
919
- overflow: hidden;
920
- display: block;
921
- margin: 0 0 10px;
922
- padding: 0;
923
- }
924
-
925
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading {
926
- float: none;
927
- clear: both;
928
- overflow: hidden;
929
- display: block;
930
- margin: 0;
931
- padding: 0;
932
- background-color: #f9f2e9;
933
- border: 1px solid #f0e0ca;
934
- }
935
-
936
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 {
937
- display: block;
938
- clear: none;
939
- float: left;
940
- width: auto;
941
- margin: 0;
942
- padding: 0;
943
- line-height: 1.1em;
944
- color: black;
945
- }
946
-
947
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span {
948
- margin: 0;
949
- padding: 0;
950
- }
951
-
952
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.http_method a {
953
- text-transform: uppercase;
954
- background-color: #c5862b;
955
- text-decoration: none;
956
- color: white;
957
- display: inline-block;
958
- width: 50px;
959
- font-size: 0.7em;
960
- text-align: center;
961
- padding: 7px 0 4px;
962
- -moz-border-radius: 2px;
963
- -webkit-border-radius: 2px;
964
- -o-border-radius: 2px;
965
- -ms-border-radius: 2px;
966
- -khtml-border-radius: 2px;
967
- border-radius: 2px;
968
- }
969
-
970
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.path {
971
- padding-left: 10px;
972
- }
973
-
974
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.path a {
975
- color: black;
976
- text-decoration: none;
977
- }
978
-
979
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.path a:hover {
980
- text-decoration: underline;
981
- }
982
-
983
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options {
984
- overflow: hidden;
985
- padding: 0;
986
- display: block;
987
- clear: none;
988
- float: right;
989
- margin: 6px 10px 0 0;
990
- }
991
-
992
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
993
- float: left;
994
- clear: none;
995
- margin: 0;
996
- padding: 2px 10px;
997
- border-right: 1px solid #dddddd;
998
- }
999
-
1000
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.first {
1001
- padding-left: 0;
1002
- }
1003
-
1004
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last {
1005
- padding-right: 0;
1006
- border-right: none;
1007
- }
1008
-
1009
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
1010
- border-right-color: #f0e0ca;
1011
- color: #c5862b;
1012
- font-size: 0.9em;
1013
- }
1014
-
1015
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a {
1016
- color: #c5862b;
1017
- text-decoration: none;
1018
- }
1019
-
1020
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a.active {
1021
- text-decoration: underline;
1022
- }
1023
-
1024
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content {
1025
- background-color: #faf5ee;
1026
- border: 1px solid #f0e0ca;
1027
- border-top: none;
1028
- padding: 10px;
1029
- -moz-border-radius-bottomleft: 6px;
1030
- -webkit-border-bottom-left-radius: 6px;
1031
- -o-border-bottom-left-radius: 6px;
1032
- -ms-border-bottom-left-radius: 6px;
1033
- -khtml-border-bottom-left-radius: 6px;
1034
- border-bottom-left-radius: 6px;
1035
- -moz-border-radius-bottomright: 6px;
1036
- -webkit-border-bottom-right-radius: 6px;
1037
- -o-border-bottom-right-radius: 6px;
1038
- -ms-border-bottom-right-radius: 6px;
1039
- -khtml-border-bottom-right-radius: 6px;
1040
- border-bottom-right-radius: 6px;
1041
- margin: 0 0 20px;
1042
- }
1043
-
1044
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 {
1045
- color: #c5862b;
1046
- font-size: 1.1em;
1047
- margin: 0;
1048
- padding: 15px 0 5px;
1049
- }
1050
-
1051
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content form input[type='text'].error {
1052
- outline: 2px solid black;
1053
- outline-color: #cc0000;
1054
- }
1055
-
1056
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header {
1057
- float: none;
1058
- clear: both;
1059
- overflow: hidden;
1060
- display: block;
1061
- }
1062
-
1063
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header input.submit {
1064
- display: block;
1065
- clear: none;
1066
- float: left;
1067
- padding: 6px 8px;
1068
- }
1069
-
1070
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header img {
1071
- display: block;
1072
- clear: none;
1073
- float: right;
1074
- }
1075
-
1076
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a {
1077
- padding: 4px 0 0 10px;
1078
- color: #dcb67f;
1079
- display: inline-block;
1080
- font-size: 0.9em;
1081
- }
1082
-
1083
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.response div.block pre {
1084
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
1085
- padding: 10px;
1086
- font-size: 0.9em;
1087
- max-height: 400px;
1088
- overflow-y: auto;
1089
- }
1090
-
1091
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch {
1092
- float: none;
1093
- clear: both;
1094
- overflow: hidden;
1095
- display: block;
1096
- margin: 0 0 10px;
1097
- padding: 0;
1098
- }
1099
-
1100
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading {
1101
- float: none;
1102
- clear: both;
1103
- overflow: hidden;
1104
- display: block;
1105
- margin: 0;
1106
- padding: 0;
1107
- background-color: #FCE9E3;
1108
- border: 1px solid #F5D5C3;
1109
- }
1110
-
1111
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 {
1112
- display: block;
1113
- clear: none;
1114
- float: left;
1115
- width: auto;
1116
- margin: 0;
1117
- padding: 0;
1118
- line-height: 1.1em;
1119
- color: black;
1120
- }
1121
-
1122
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span {
1123
- margin: 0;
1124
- padding: 0;
1125
- }
1126
-
1127
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.http_method a {
1128
- text-transform: uppercase;
1129
- background-color: #D38042;
1130
- text-decoration: none;
1131
- color: white;
1132
- display: inline-block;
1133
- width: 50px;
1134
- font-size: 0.7em;
1135
- text-align: center;
1136
- padding: 7px 0 4px 0;
1137
- -moz-border-radius: 2px;
1138
- -webkit-border-radius: 2px;
1139
- -o-border-radius: 2px;
1140
- -ms-border-radius: 2px;
1141
- -khtml-border-radius: 2px;
1142
- border-radius: 2px;
1143
- }
1144
-
1145
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.path {
1146
- padding-left: 10px;
1147
- }
1148
-
1149
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.path a {
1150
- color: black;
1151
- text-decoration: none;
1152
- }
1153
-
1154
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.path a:hover {
1155
- text-decoration: underline;
1156
- }
1157
-
1158
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options {
1159
- overflow: hidden;
1160
- padding: 0;
1161
- display: block;
1162
- clear: none;
1163
- float: right;
1164
- margin: 6px 10px 0 0;
1165
- }
1166
-
1167
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li {
1168
- float: left;
1169
- clear: none;
1170
- margin: 0;
1171
- padding: 2px 10px;
1172
- border-right: 1px solid #dddddd;
1173
- }
1174
-
1175
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.first {
1176
- padding-left: 0;
1177
- }
1178
-
1179
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.last {
1180
- padding-right: 0;
1181
- border-right: none;
1182
- }
1183
-
1184
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li {
1185
- border-right-color: #f0cecb;
1186
- color: #D38042;
1187
- font-size: 0.9em;
1188
- }
1189
-
1190
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a {
1191
- color: #D38042;
1192
- text-decoration: none;
1193
- }
1194
-
1195
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a.active {
1196
- text-decoration: underline;
1197
- }
1198
-
1199
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content {
1200
- background-color: #faf0ef;
1201
- border: 1px solid #f0cecb;
1202
- border-top: none;
1203
- padding: 10px;
1204
- -moz-border-radius-bottomleft: 6px;
1205
- -webkit-border-bottom-left-radius: 6px;
1206
- -o-border-bottom-left-radius: 6px;
1207
- -ms-border-bottom-left-radius: 6px;
1208
- -khtml-border-bottom-left-radius: 6px;
1209
- border-bottom-left-radius: 6px;
1210
- -moz-border-radius-bottomright: 6px;
1211
- -webkit-border-bottom-right-radius: 6px;
1212
- -o-border-bottom-right-radius: 6px;
1213
- -ms-border-bottom-right-radius: 6px;
1214
- -khtml-border-bottom-right-radius: 6px;
1215
- border-bottom-right-radius: 6px;
1216
- margin: 0 0 20px;
1217
- }
1218
-
1219
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h4 {
1220
- color: #D38042;
1221
- font-size: 1.1em;
1222
- margin: 0;
1223
- padding: 15px 0 5px;
1224
- }
1225
-
1226
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content form input[type='text'].error {
1227
- outline: 2px solid black;
1228
- outline-color: #F5D5C3;
1229
- }
1230
-
1231
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header {
1232
- float: none;
1233
- clear: both;
1234
- overflow: hidden;
1235
- display: block;
1236
- }
1237
-
1238
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header input.submit {
1239
- display: block;
1240
- clear: none;
1241
- float: left;
1242
- padding: 6px 8px;
1243
- }
1244
-
1245
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header img {
1246
- display: block;
1247
- clear: none;
1248
- float: right;
1249
- }
1250
-
1251
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header a {
1252
- padding: 4px 0 0 10px;
1253
- color: #dcb67f;
1254
- display: inline-block;
1255
- font-size: 0.9em;
1256
- }
1257
-
1258
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.response div.block pre {
1259
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
1260
- padding: 10px;
1261
- font-size: 0.9em;
1262
- max-height: 400px;
1263
- overflow-y: auto;
1264
- }
1265
-
1266
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head {
1267
- float: none;
1268
- clear: both;
1269
- overflow: hidden;
1270
- display: block;
1271
- margin: 0 0 10px 0;
1272
- padding: 0 0 0 0px;
1273
- }
1274
-
1275
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading {
1276
- float: none;
1277
- clear: both;
1278
- overflow: hidden;
1279
- display: block;
1280
- margin: 0 0 0 0;
1281
- padding: 0;
1282
- background-color: #fcffcd;
1283
- border: 1px solid black;
1284
- border-color: #ffd20f;
1285
- }
1286
-
1287
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 {
1288
- display: block;
1289
- clear: none;
1290
- float: left;
1291
- width: auto;
1292
- margin: 0;
1293
- padding: 0;
1294
- line-height: 1.1em;
1295
- color: black;
1296
- }
1297
-
1298
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span {
1299
- margin: 0;
1300
- padding: 0;
1301
- }
1302
-
1303
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.http_method a {
1304
- text-transform: uppercase;
1305
- background-color: #ffd20f;
1306
- text-decoration: none;
1307
- color: white;
1308
- display: inline-block;
1309
- width: 50px;
1310
- font-size: 0.7em;
1311
- text-align: center;
1312
- padding: 7px 0 4px 0;
1313
- -moz-border-radius: 2px;
1314
- -webkit-border-radius: 2px;
1315
- -o-border-radius: 2px;
1316
- -ms-border-radius: 2px;
1317
- -khtml-border-radius: 2px;
1318
- border-radius: 2px;
1319
- }
1320
-
1321
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.path {
1322
- padding-left: 10px;
1323
- }
1324
-
1325
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.path a {
1326
- color: black;
1327
- text-decoration: none;
1328
- }
1329
-
1330
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.path a:hover {
1331
- text-decoration: underline;
1332
- }
1333
-
1334
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options {
1335
- float: none;
1336
- clear: both;
1337
- overflow: hidden;
1338
- margin: 0;
1339
- padding: 0;
1340
- display: block;
1341
- clear: none;
1342
- float: right;
1343
- margin: 6px 10px 0 0;
1344
- }
1345
-
1346
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li {
1347
- float: left;
1348
- clear: none;
1349
- margin: 0;
1350
- padding: 2px 10px;
1351
- border-right: 1px solid #dddddd;
1352
- }
1353
-
1354
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li.first {
1355
- padding-left: 0;
1356
- }
1357
-
1358
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li.last {
1359
- padding-right: 0;
1360
- border-right: none;
1361
- }
1362
-
1363
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li {
1364
- border-right-color: #ffd20f;
1365
- color: #ffd20f;
1366
- font-size: 0.9em;
1367
- }
1368
-
1369
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a {
1370
- color: #ffd20f;
1371
- text-decoration: none;
1372
- }
1373
-
1374
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a.active {
1375
- text-decoration: underline;
1376
- }
1377
-
1378
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content {
1379
- background-color: #fcffcd;
1380
- border: 1px solid black;
1381
- border-color: #ffd20f;
1382
- border-top: none;
1383
- padding: 10px;
1384
- -moz-border-radius-bottomleft: 6px;
1385
- -webkit-border-bottom-left-radius: 6px;
1386
- -o-border-bottom-left-radius: 6px;
1387
- -ms-border-bottom-left-radius: 6px;
1388
- -khtml-border-bottom-left-radius: 6px;
1389
- border-bottom-left-radius: 6px;
1390
- -moz-border-radius-bottomright: 6px;
1391
- -webkit-border-bottom-right-radius: 6px;
1392
- -o-border-bottom-right-radius: 6px;
1393
- -ms-border-bottom-right-radius: 6px;
1394
- -khtml-border-bottom-right-radius: 6px;
1395
- border-bottom-right-radius: 6px;
1396
- margin: 0 0 20px 0;
1397
- }
1398
-
1399
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content h4 {
1400
- color: #ffd20f;
1401
- font-size: 1.1em;
1402
- margin: 0;
1403
- padding: 15px 0 5px 0px;
1404
- }
1405
-
1406
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content form input[type='text'].error {
1407
- outline: 2px solid black;
1408
- outline-color: #cc0000;
1409
- }
1410
-
1411
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header {
1412
- float: none;
1413
- clear: both;
1414
- overflow: hidden;
1415
- display: block;
1416
- }
1417
-
1418
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header input.submit {
1419
- display: block;
1420
- clear: none;
1421
- float: left;
1422
- padding: 6px 8px;
1423
- }
1424
-
1425
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header img {
1426
- display: block;
1427
- display: block;
1428
- clear: none;
1429
- float: right;
1430
- }
1431
-
1432
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header a {
1433
- padding: 4px 0 0 10px;
1434
- color: #6fc992;
1435
- display: inline-block;
1436
- font-size: 0.9em;
1437
- }
1438
-
1439
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.response div.block {
1440
- background-color: #fcf6db;
1441
- border: 1px solid black;
1442
- border-color: #e5e0c6;
1443
- }
1444
-
1445
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.response div.block pre {
1446
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
1447
- padding: 10px;
1448
- font-size: 0.9em;
1449
- max-height: 400px;
1450
- overflow-y: auto;
1451
- }
1452
-
1453
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete {
1454
- float: none;
1455
- clear: both;
1456
- overflow: hidden;
1457
- display: block;
1458
- margin: 0 0 10px;
1459
- padding: 0;
1460
- }
1461
-
1462
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading {
1463
- float: none;
1464
- clear: both;
1465
- overflow: hidden;
1466
- display: block;
1467
- margin: 0;
1468
- padding: 0;
1469
- background-color: #f5e8e8;
1470
- border: 1px solid #e8c6c7;
1471
- }
1472
-
1473
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 {
1474
- display: block;
1475
- clear: none;
1476
- float: left;
1477
- width: auto;
1478
- margin: 0;
1479
- padding: 0;
1480
- line-height: 1.1em;
1481
- color: black;
1482
- }
1483
-
1484
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span {
1485
- margin: 0;
1486
- padding: 0;
1487
- }
1488
-
1489
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.http_method a {
1490
- text-transform: uppercase;
1491
- background-color: #a41e22;
1492
- text-decoration: none;
1493
- color: white;
1494
- display: inline-block;
1495
- width: 50px;
1496
- font-size: 0.7em;
1497
- text-align: center;
1498
- padding: 7px 0 4px 0;
1499
- -moz-border-radius: 2px;
1500
- -webkit-border-radius: 2px;
1501
- -o-border-radius: 2px;
1502
- -ms-border-radius: 2px;
1503
- -khtml-border-radius: 2px;
1504
- border-radius: 2px;
1505
- }
1506
-
1507
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.path {
1508
- padding-left: 10px;
1509
- }
1510
-
1511
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.path a {
1512
- color: black;
1513
- text-decoration: none;
1514
- }
1515
-
1516
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.path a:hover {
1517
- text-decoration: underline;
1518
- }
1519
-
1520
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options {
1521
- overflow: hidden;
1522
- padding: 0;
1523
- display: block;
1524
- clear: none;
1525
- float: right;
1526
- margin: 6px 10px 0 0;
1527
- }
1528
-
1529
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
1530
- float: left;
1531
- clear: none;
1532
- margin: 0;
1533
- padding: 2px 10px;
1534
- border-right: 1px solid #dddddd;
1535
- }
1536
-
1537
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.first {
1538
- padding-left: 0;
1539
- }
1540
-
1541
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last {
1542
- padding-right: 0;
1543
- border-right: none;
1544
- }
1545
-
1546
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
1547
- border-right-color: #e8c6c7;
1548
- color: #a41e22;
1549
- font-size: 0.9em;
1550
- }
1551
-
1552
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a {
1553
- color: #a41e22;
1554
- text-decoration: none;
1555
- }
1556
-
1557
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a.active {
1558
- text-decoration: underline;
1559
- }
1560
-
1561
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
1562
- background-color: #f7eded;
1563
- border: 1px solid #e8c6c7;
1564
- border-top: none;
1565
- padding: 10px;
1566
- -moz-border-radius-bottomleft: 6px;
1567
- -webkit-border-bottom-left-radius: 6px;
1568
- -o-border-bottom-left-radius: 6px;
1569
- -ms-border-bottom-left-radius: 6px;
1570
- -khtml-border-bottom-left-radius: 6px;
1571
- border-bottom-left-radius: 6px;
1572
- -moz-border-radius-bottomright: 6px;
1573
- -webkit-border-bottom-right-radius: 6px;
1574
- -o-border-bottom-right-radius: 6px;
1575
- -ms-border-bottom-right-radius: 6px;
1576
- -khtml-border-bottom-right-radius: 6px;
1577
- border-bottom-right-radius: 6px;
1578
- margin: 0 0 20px 0;
1579
- }
1580
-
1581
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 {
1582
- color: #a41e22;
1583
- font-size: 1.1em;
1584
- margin: 0;
1585
- padding: 15px 0 5px;
1586
- }
1587
-
1588
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content form input[type='text'].error {
1589
- outline: 2px solid black;
1590
- outline-color: #cc0000;
1591
- }
1592
-
1593
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header {
1594
- float: none;
1595
- clear: both;
1596
- overflow: hidden;
1597
- display: block;
1598
- }
1599
-
1600
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header input.submit {
1601
- display: block;
1602
- clear: none;
1603
- float: left;
1604
- padding: 6px 8px;
1605
- }
1606
-
1607
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header img {
1608
- display: block;
1609
- clear: none;
1610
- float: right;
1611
- }
1612
-
1613
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a {
1614
- padding: 4px 0 0 10px;
1615
- color: #c8787a;
1616
- display: inline-block;
1617
- font-size: 0.9em;
1618
- }
1619
-
1620
- body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.response div.block pre {
1621
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
1622
- padding: 10px;
1623
- font-size: 0.9em;
1624
- max-height: 400px;
1625
- overflow-y: auto;
1626
- }
1627
-
1628
-
1629
- .model-signature {
1630
- font-family: "Droid Sans", sans-serif;
1631
- font-size: 1em;
1632
- line-height: 1.5em;
1633
- }
1634
-
1635
- .model-signature .description div {
1636
- font-size: 0.9em;
1637
- line-height: 1.5em;
1638
- margin-left: 1em;
1639
- }
1640
-
1641
- .model-signature .description .strong {
1642
- font-weight: bold;
1643
- color: #000;
1644
- font-size: .9em;
1645
- }
1646
-
1647
- .model-signature .description .stronger {
1648
- font-weight: bold;
1649
- color: #000;
1650
- }
1651
-
1652
- .model-signature .signature-nav a {
1653
- text-decoration: none;
1654
- color: #AAA;
1655
- }
1656
-
1657
- .model-signature pre {
1658
- font-size: .85em;
1659
- line-height: 1.2em;
1660
- overflow: auto;
1661
- max-height: 200px;
1662
- cursor: pointer;
1663
- }
1664
-
1665
- .model-signature pre:hover {
1666
- background-color: #ffffdd;
1667
- }
1668
-
1669
- .model-signature .snippet small {
1670
- font-size: 0.75em;
1671
- }
1672
-
1673
- .model-signature .signature-container {
1674
- clear: both;
1675
- }
1676
-
1677
- .model-signature .signature-nav a:hover {
1678
- text-decoration: underline;
1679
- color: black;
1680
- }
1681
-
1682
- .model-signature .signature-nav .selected {
1683
- color: black;
1684
- text-decoration: none;
1685
- }
1686
-
1687
- .model-signature ul.signature-nav {
1688
- display: block;
1689
- margin: 0;
1690
- padding: 0;
1691
- }
1692
-
1693
- .model-signature ul.signature-nav li {
1694
- float: left;
1695
- margin: 0 5px 5px 0;
1696
- padding: 2px 5px 2px 0;
1697
- border-right: 1px solid #ddd;
1698
- }
1699
-
1700
- .model-signature ul.signature-nav li:last-child {
1701
- padding-right: 0;
1702
- border-right: none;
1703
- }
1704
-
1705
- .model-signature .propName {
1706
- font-weight: bold;
123
+ border-collapse: collapse;
124
+ border-spacing: 0;
1707
125
  }
1708
- .model-signature .propType {
1709
- color: #5555aa;
126
+ .swagger-ui-wrap {
127
+ line-height: 1;
128
+ font-family: "Droid Sans", sans-serif;
129
+ max-width: 960px;
130
+ margin-left: auto;
131
+ margin-right: auto;
1710
132
  }
1711
- .model-signature .propOptKey {
1712
- font-style: italic;
133
+ .swagger-ui-wrap b,
134
+ .swagger-ui-wrap strong {
135
+ font-family: "Droid Sans", sans-serif;
136
+ font-weight: bold;
1713
137
  }
1714
- .model-signature .propOpt {
1715
- color: #555;
138
+ .swagger-ui-wrap q,
139
+ .swagger-ui-wrap blockquote {
140
+ quotes: none;
141
+ }
142
+ .swagger-ui-wrap p {
143
+ line-height: 1.4em;
144
+ padding: 0 0 10px;
145
+ color: #333333;
146
+ }
147
+ .swagger-ui-wrap q:before,
148
+ .swagger-ui-wrap q:after,
149
+ .swagger-ui-wrap blockquote:before,
150
+ .swagger-ui-wrap blockquote:after {
151
+ content: none;
152
+ }
153
+ .swagger-ui-wrap .heading_with_menu h1,
154
+ .swagger-ui-wrap .heading_with_menu h2,
155
+ .swagger-ui-wrap .heading_with_menu h3,
156
+ .swagger-ui-wrap .heading_with_menu h4,
157
+ .swagger-ui-wrap .heading_with_menu h5,
158
+ .swagger-ui-wrap .heading_with_menu h6 {
159
+ display: block;
160
+ clear: none;
161
+ float: left;
162
+ -moz-box-sizing: border-box;
163
+ -webkit-box-sizing: border-box;
164
+ -ms-box-sizing: border-box;
165
+ box-sizing: border-box;
166
+ width: 60%;
167
+ }
168
+ .swagger-ui-wrap table {
169
+ border-collapse: collapse;
170
+ border-spacing: 0;
171
+ }
172
+ .swagger-ui-wrap table thead tr th {
173
+ padding: 5px;
174
+ font-size: 0.9em;
175
+ color: #666666;
176
+ border-bottom: 1px solid #999999;
177
+ }
178
+ .swagger-ui-wrap table tbody tr:last-child td {
179
+ border-bottom: none;
180
+ }
181
+ .swagger-ui-wrap table tbody tr.offset {
182
+ background-color: #f0f0f0;
183
+ }
184
+ .swagger-ui-wrap table tbody tr td {
185
+ padding: 6px;
186
+ font-size: 0.9em;
187
+ border-bottom: 1px solid #cccccc;
188
+ vertical-align: top;
189
+ line-height: 1.3em;
190
+ }
191
+ .swagger-ui-wrap ol {
192
+ margin: 0px 0 10px;
193
+ padding: 0 0 0 18px;
194
+ list-style-type: decimal;
195
+ }
196
+ .swagger-ui-wrap ol li {
197
+ padding: 5px 0px;
198
+ font-size: 0.9em;
199
+ color: #333333;
200
+ }
201
+ .swagger-ui-wrap ol,
202
+ .swagger-ui-wrap ul {
203
+ list-style: none;
204
+ }
205
+ .swagger-ui-wrap h1 a,
206
+ .swagger-ui-wrap h2 a,
207
+ .swagger-ui-wrap h3 a,
208
+ .swagger-ui-wrap h4 a,
209
+ .swagger-ui-wrap h5 a,
210
+ .swagger-ui-wrap h6 a {
211
+ text-decoration: none;
212
+ }
213
+ .swagger-ui-wrap h1 a:hover,
214
+ .swagger-ui-wrap h2 a:hover,
215
+ .swagger-ui-wrap h3 a:hover,
216
+ .swagger-ui-wrap h4 a:hover,
217
+ .swagger-ui-wrap h5 a:hover,
218
+ .swagger-ui-wrap h6 a:hover {
219
+ text-decoration: underline;
220
+ }
221
+ .swagger-ui-wrap h1 span.divider,
222
+ .swagger-ui-wrap h2 span.divider,
223
+ .swagger-ui-wrap h3 span.divider,
224
+ .swagger-ui-wrap h4 span.divider,
225
+ .swagger-ui-wrap h5 span.divider,
226
+ .swagger-ui-wrap h6 span.divider {
227
+ color: #aaaaaa;
228
+ }
229
+ .swagger-ui-wrap a {
230
+ color: #547f00;
231
+ }
232
+ .swagger-ui-wrap a img {
233
+ border: none;
234
+ }
235
+ .swagger-ui-wrap article,
236
+ .swagger-ui-wrap aside,
237
+ .swagger-ui-wrap details,
238
+ .swagger-ui-wrap figcaption,
239
+ .swagger-ui-wrap figure,
240
+ .swagger-ui-wrap footer,
241
+ .swagger-ui-wrap header,
242
+ .swagger-ui-wrap hgroup,
243
+ .swagger-ui-wrap menu,
244
+ .swagger-ui-wrap nav,
245
+ .swagger-ui-wrap section,
246
+ .swagger-ui-wrap summary {
247
+ display: block;
1716
248
  }
1717
-
1718
- pre code {
249
+ .swagger-ui-wrap pre {
250
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
251
+ background-color: #fcf6db;
252
+ border: 1px solid #e5e0c6;
253
+ padding: 10px;
254
+ }
255
+ .swagger-ui-wrap pre code {
256
+ line-height: 1.6em;
1719
257
  background: none;
1720
258
  }
1721
-
1722
- .content pre {
259
+ .swagger-ui-wrap .content > .content-type > div > label {
260
+ clear: both;
261
+ display: block;
262
+ color: #0F6AB4;
263
+ font-size: 1.1em;
264
+ margin: 0;
265
+ padding: 15px 0 5px;
266
+ }
267
+ .swagger-ui-wrap .content pre {
1723
268
  font-size: 12px;
1724
269
  margin-top: 5px;
1725
270
  padding: 5px;
1726
271
  }
1727
-
1728
- .content > .content-type > div > label {
272
+ .swagger-ui-wrap .icon-btn {
273
+ cursor: pointer;
274
+ }
275
+ .swagger-ui-wrap .info_title {
276
+ padding-bottom: 10px;
277
+ font-weight: bold;
278
+ font-size: 25px;
279
+ }
280
+ .swagger-ui-wrap p.big,
281
+ .swagger-ui-wrap div.big p {
282
+ font-size: 1em;
283
+ margin-bottom: 10px;
284
+ }
285
+ .swagger-ui-wrap form.fullwidth ol li.string input,
286
+ .swagger-ui-wrap form.fullwidth ol li.url input,
287
+ .swagger-ui-wrap form.fullwidth ol li.text textarea,
288
+ .swagger-ui-wrap form.fullwidth ol li.numeric input {
289
+ width: 500px !important;
290
+ }
291
+ .swagger-ui-wrap .info_license {
292
+ padding-bottom: 5px;
293
+ }
294
+ .swagger-ui-wrap .info_tos {
295
+ padding-bottom: 5px;
296
+ }
297
+ .swagger-ui-wrap .message-fail {
298
+ color: #cc0000;
299
+ }
300
+ .swagger-ui-wrap .info_contact {
301
+ padding-bottom: 5px;
302
+ }
303
+ .swagger-ui-wrap .info_description {
304
+ padding-bottom: 10px;
305
+ font-size: 15px;
306
+ }
307
+ .swagger-ui-wrap .markdown ol li,
308
+ .swagger-ui-wrap .markdown ul li {
309
+ padding: 3px 0px;
310
+ line-height: 1.4em;
311
+ color: #333333;
312
+ }
313
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input,
314
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input,
315
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input {
316
+ display: block;
317
+ padding: 4px;
318
+ width: auto;
1729
319
  clear: both;
320
+ }
321
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input.title,
322
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input.title,
323
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input.title {
324
+ font-size: 1.3em;
325
+ }
326
+ .swagger-ui-wrap table.fullwidth {
327
+ width: 100%;
328
+ }
329
+ .swagger-ui-wrap .model-signature {
330
+ font-family: "Droid Sans", sans-serif;
331
+ font-size: 1em;
332
+ line-height: 1.5em;
333
+ }
334
+ .swagger-ui-wrap .model-signature .signature-nav a {
335
+ text-decoration: none;
336
+ color: #AAA;
337
+ }
338
+ .swagger-ui-wrap .model-signature .signature-nav a:hover {
339
+ text-decoration: underline;
340
+ color: black;
341
+ }
342
+ .swagger-ui-wrap .model-signature .signature-nav .selected {
343
+ color: black;
344
+ text-decoration: none;
345
+ }
346
+ .swagger-ui-wrap .model-signature .propType {
347
+ color: #5555aa;
348
+ }
349
+ .swagger-ui-wrap .model-signature pre:hover {
350
+ background-color: #ffffdd;
351
+ }
352
+ .swagger-ui-wrap .model-signature pre {
353
+ font-size: .85em;
354
+ line-height: 1.2em;
355
+ overflow: auto;
356
+ max-height: 200px;
357
+ cursor: pointer;
358
+ }
359
+ .swagger-ui-wrap .model-signature ul.signature-nav {
1730
360
  display: block;
1731
- color: #0F6AB4;
361
+ margin: 0;
362
+ padding: 0;
363
+ }
364
+ .swagger-ui-wrap .model-signature ul.signature-nav li:last-child {
365
+ padding-right: 0;
366
+ border-right: none;
367
+ }
368
+ .swagger-ui-wrap .model-signature ul.signature-nav li {
369
+ float: left;
370
+ margin: 0 5px 5px 0;
371
+ padding: 2px 5px 2px 0;
372
+ border-right: 1px solid #ddd;
373
+ }
374
+ .swagger-ui-wrap .model-signature .propOpt {
375
+ color: #555;
376
+ }
377
+ .swagger-ui-wrap .model-signature .snippet small {
378
+ font-size: 0.75em;
379
+ }
380
+ .swagger-ui-wrap .model-signature .propOptKey {
381
+ font-style: italic;
382
+ }
383
+ .swagger-ui-wrap .model-signature .description .strong {
384
+ font-weight: bold;
385
+ color: #000;
386
+ font-size: .9em;
387
+ }
388
+ .swagger-ui-wrap .model-signature .description div {
389
+ font-size: 0.9em;
390
+ line-height: 1.5em;
391
+ margin-left: 1em;
392
+ }
393
+ .swagger-ui-wrap .model-signature .description .stronger {
394
+ font-weight: bold;
395
+ color: #000;
396
+ }
397
+ .swagger-ui-wrap .model-signature .propName {
398
+ font-weight: bold;
399
+ }
400
+ .swagger-ui-wrap .model-signature .signature-container {
401
+ clear: both;
402
+ }
403
+ .swagger-ui-wrap .body-textarea {
404
+ width: 300px;
405
+ height: 100px;
406
+ border: 1px solid #aaa;
407
+ }
408
+ .swagger-ui-wrap .markdown p code,
409
+ .swagger-ui-wrap .markdown li code {
410
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
411
+ background-color: #f0f0f0;
412
+ color: black;
413
+ padding: 1px 3px;
414
+ }
415
+ .swagger-ui-wrap .required {
416
+ font-weight: bold;
417
+ }
418
+ .swagger-ui-wrap input.parameter {
419
+ width: 300px;
420
+ border: 1px solid #aaa;
421
+ }
422
+ .swagger-ui-wrap h1 {
423
+ color: black;
424
+ font-size: 1.5em;
425
+ line-height: 1.3em;
426
+ padding: 10px 0 10px 0;
427
+ font-family: "Droid Sans", sans-serif;
428
+ font-weight: bold;
429
+ }
430
+ .swagger-ui-wrap .heading_with_menu {
431
+ float: none;
432
+ clear: both;
433
+ overflow: hidden;
434
+ display: block;
435
+ }
436
+ .swagger-ui-wrap .heading_with_menu ul {
437
+ display: block;
438
+ clear: none;
439
+ float: right;
440
+ -moz-box-sizing: border-box;
441
+ -webkit-box-sizing: border-box;
442
+ -ms-box-sizing: border-box;
443
+ box-sizing: border-box;
444
+ margin-top: 10px;
445
+ }
446
+ .swagger-ui-wrap h2 {
447
+ color: black;
448
+ font-size: 1.3em;
449
+ padding: 10px 0 10px 0;
450
+ }
451
+ .swagger-ui-wrap h2 a {
452
+ color: black;
453
+ }
454
+ .swagger-ui-wrap h2 span.sub {
455
+ font-size: 0.7em;
456
+ color: #999999;
457
+ font-style: italic;
458
+ }
459
+ .swagger-ui-wrap h2 span.sub a {
460
+ color: #777777;
461
+ }
462
+ .swagger-ui-wrap span.weak {
463
+ color: #666666;
464
+ }
465
+ .swagger-ui-wrap .message-success {
466
+ color: #89BF04;
467
+ }
468
+ .swagger-ui-wrap caption,
469
+ .swagger-ui-wrap th,
470
+ .swagger-ui-wrap td {
471
+ text-align: left;
472
+ font-weight: normal;
473
+ vertical-align: middle;
474
+ }
475
+ .swagger-ui-wrap .code {
476
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
477
+ }
478
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.text textarea {
479
+ font-family: "Droid Sans", sans-serif;
480
+ height: 250px;
481
+ padding: 4px;
482
+ display: block;
483
+ clear: both;
484
+ }
485
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.select select {
486
+ display: block;
487
+ clear: both;
488
+ }
489
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean {
490
+ float: none;
491
+ clear: both;
492
+ overflow: hidden;
493
+ display: block;
494
+ }
495
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean label {
496
+ display: block;
497
+ float: left;
498
+ clear: none;
499
+ margin: 0;
500
+ padding: 0;
501
+ }
502
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean input {
503
+ display: block;
504
+ float: left;
505
+ clear: none;
506
+ margin: 0 5px 0 0;
507
+ }
508
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.required label {
509
+ color: black;
510
+ }
511
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li label {
512
+ display: block;
513
+ clear: both;
514
+ width: auto;
515
+ padding: 0 0 3px;
516
+ color: #666666;
517
+ }
518
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li label abbr {
519
+ padding-left: 3px;
520
+ color: #888888;
521
+ }
522
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li p.inline-hints {
523
+ margin-left: 0;
524
+ font-style: italic;
525
+ font-size: 0.9em;
526
+ margin: 0;
527
+ }
528
+ .swagger-ui-wrap form.formtastic fieldset.buttons {
529
+ margin: 0;
530
+ padding: 0;
531
+ }
532
+ .swagger-ui-wrap span.blank,
533
+ .swagger-ui-wrap span.empty {
534
+ color: #888888;
535
+ font-style: italic;
536
+ }
537
+ .swagger-ui-wrap .markdown h3 {
538
+ color: #547f00;
539
+ }
540
+ .swagger-ui-wrap .markdown h4 {
541
+ color: #666666;
542
+ }
543
+ .swagger-ui-wrap .markdown pre {
544
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
545
+ background-color: #fcf6db;
546
+ border: 1px solid #e5e0c6;
547
+ padding: 10px;
548
+ margin: 0 0 10px 0;
549
+ }
550
+ .swagger-ui-wrap .markdown pre code {
551
+ line-height: 1.6em;
552
+ }
553
+ .swagger-ui-wrap div.gist {
554
+ margin: 20px 0 25px 0 !important;
555
+ }
556
+ .swagger-ui-wrap ul#resources {
557
+ font-family: "Droid Sans", sans-serif;
558
+ font-size: 0.9em;
559
+ }
560
+ .swagger-ui-wrap ul#resources li.resource {
561
+ border-bottom: 1px solid #dddddd;
562
+ }
563
+ .swagger-ui-wrap ul#resources li.resource:hover div.heading h2 a,
564
+ .swagger-ui-wrap ul#resources li.resource.active div.heading h2 a {
565
+ color: black;
566
+ }
567
+ .swagger-ui-wrap ul#resources li.resource:hover div.heading ul.options li a,
568
+ .swagger-ui-wrap ul#resources li.resource.active div.heading ul.options li a {
569
+ color: #555555;
570
+ }
571
+ .swagger-ui-wrap ul#resources li.resource:last-child {
572
+ border-bottom: none;
573
+ }
574
+ .swagger-ui-wrap ul#resources li.resource div.heading {
575
+ border: 1px solid transparent;
576
+ float: none;
577
+ clear: both;
578
+ overflow: hidden;
579
+ display: block;
580
+ }
581
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options {
582
+ overflow: hidden;
583
+ padding: 0;
584
+ display: block;
585
+ clear: none;
586
+ float: right;
587
+ margin: 14px 10px 0 0;
588
+ }
589
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li {
590
+ float: left;
591
+ clear: none;
592
+ margin: 0;
593
+ padding: 2px 10px;
594
+ border-right: 1px solid #dddddd;
595
+ color: #666666;
596
+ font-size: 0.9em;
597
+ }
598
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a {
599
+ color: #aaaaaa;
600
+ text-decoration: none;
601
+ }
602
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover {
603
+ text-decoration: underline;
604
+ color: black;
605
+ }
606
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover,
607
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:active,
608
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a.active {
609
+ text-decoration: underline;
610
+ }
611
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:first-child,
612
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.first {
613
+ padding-left: 0;
614
+ }
615
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:last-child,
616
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.last {
617
+ padding-right: 0;
618
+ border-right: none;
619
+ }
620
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options:first-child,
621
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options.first {
622
+ padding-left: 0;
623
+ }
624
+ .swagger-ui-wrap ul#resources li.resource div.heading h2 {
625
+ color: #999999;
626
+ padding-left: 0;
627
+ display: block;
628
+ clear: none;
629
+ float: left;
630
+ font-family: "Droid Sans", sans-serif;
631
+ font-weight: bold;
632
+ }
633
+ .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
634
+ color: #999999;
635
+ }
636
+ .swagger-ui-wrap ul#resources li.resource div.heading h2 a:hover {
637
+ color: black;
638
+ }
639
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation {
640
+ float: none;
641
+ clear: both;
642
+ overflow: hidden;
643
+ display: block;
644
+ margin: 0 0 10px;
645
+ padding: 0;
646
+ }
647
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading {
648
+ float: none;
649
+ clear: both;
650
+ overflow: hidden;
651
+ display: block;
652
+ margin: 0;
653
+ padding: 0;
654
+ }
655
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 {
656
+ display: block;
657
+ clear: none;
658
+ float: left;
659
+ width: auto;
660
+ margin: 0;
661
+ padding: 0;
662
+ line-height: 1.1em;
663
+ color: black;
664
+ }
665
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path {
666
+ padding-left: 10px;
667
+ }
668
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a {
669
+ color: black;
670
+ text-decoration: none;
671
+ }
672
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover {
673
+ text-decoration: underline;
674
+ }
675
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a {
676
+ text-transform: uppercase;
677
+ text-decoration: none;
678
+ color: white;
679
+ display: inline-block;
680
+ width: 50px;
681
+ font-size: 0.7em;
682
+ text-align: center;
683
+ padding: 7px 0 4px;
684
+ -moz-border-radius: 2px;
685
+ -webkit-border-radius: 2px;
686
+ -o-border-radius: 2px;
687
+ -ms-border-radius: 2px;
688
+ -khtml-border-radius: 2px;
689
+ border-radius: 2px;
690
+ }
691
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span {
692
+ margin: 0;
693
+ padding: 0;
694
+ }
695
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options {
696
+ overflow: hidden;
697
+ padding: 0;
698
+ display: block;
699
+ clear: none;
700
+ float: right;
701
+ margin: 6px 10px 0 0;
702
+ }
703
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li {
704
+ float: left;
705
+ clear: none;
706
+ margin: 0;
707
+ padding: 2px 10px;
708
+ font-size: 0.9em;
709
+ }
710
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li a {
711
+ text-decoration: none;
712
+ }
713
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content {
714
+ border-top: none;
715
+ padding: 10px;
716
+ -moz-border-radius-bottomleft: 6px;
717
+ -webkit-border-bottom-left-radius: 6px;
718
+ -o-border-bottom-left-radius: 6px;
719
+ -ms-border-bottom-left-radius: 6px;
720
+ -khtml-border-bottom-left-radius: 6px;
721
+ border-bottom-left-radius: 6px;
722
+ -moz-border-radius-bottomright: 6px;
723
+ -webkit-border-bottom-right-radius: 6px;
724
+ -o-border-bottom-right-radius: 6px;
725
+ -ms-border-bottom-right-radius: 6px;
726
+ -khtml-border-bottom-right-radius: 6px;
727
+ border-bottom-right-radius: 6px;
728
+ margin: 0 0 20px;
729
+ }
730
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content h4 {
1732
731
  font-size: 1.1em;
1733
732
  margin: 0;
1734
733
  padding: 15px 0 5px;
1735
734
  }
1736
-
1737
- .swagger-ui-wrap {
1738
- max-width: 960px;
1739
- margin-left: auto;
1740
- margin-right: auto;
735
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header {
736
+ float: none;
737
+ clear: both;
738
+ overflow: hidden;
739
+ display: block;
1741
740
  }
1742
-
1743
- .icon-btn {
1744
- cursor: pointer;
741
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header a {
742
+ padding: 4px 0 0 10px;
743
+ display: inline-block;
744
+ font-size: 0.9em;
745
+ }
746
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header img {
747
+ display: block;
748
+ clear: none;
749
+ float: right;
750
+ }
751
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header input.submit {
752
+ display: block;
753
+ clear: none;
754
+ float: left;
755
+ padding: 6px 8px;
756
+ }
757
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form input[type='text'].error {
758
+ outline: 2px solid black;
759
+ outline-color: #cc0000;
760
+ }
761
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.response div.block pre {
762
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
763
+ padding: 10px;
764
+ font-size: 0.9em;
765
+ max-height: 400px;
766
+ overflow-y: auto;
767
+ }
768
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading {
769
+ background-color: #f9f2e9;
770
+ border: 1px solid #f0e0ca;
771
+ }
772
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.http_method a {
773
+ background-color: #c5862b;
774
+ }
775
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
776
+ border-right: 1px solid #dddddd;
777
+ border-right-color: #f0e0ca;
778
+ color: #c5862b;
779
+ }
780
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a {
781
+ color: #c5862b;
782
+ }
783
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content {
784
+ background-color: #faf5ee;
785
+ border: 1px solid #f0e0ca;
786
+ }
787
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 {
788
+ color: #c5862b;
789
+ }
790
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a {
791
+ color: #dcb67f;
792
+ }
793
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading {
794
+ background-color: #fcffcd;
795
+ border: 1px solid black;
796
+ border-color: #ffd20f;
797
+ }
798
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.http_method a {
799
+ text-transform: uppercase;
800
+ background-color: #ffd20f;
801
+ }
802
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li {
803
+ border-right: 1px solid #dddddd;
804
+ border-right-color: #ffd20f;
805
+ color: #ffd20f;
806
+ }
807
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a {
808
+ color: #ffd20f;
809
+ }
810
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content {
811
+ background-color: #fcffcd;
812
+ border: 1px solid black;
813
+ border-color: #ffd20f;
814
+ }
815
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content h4 {
816
+ color: #ffd20f;
817
+ }
818
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header a {
819
+ color: #6fc992;
820
+ }
821
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading {
822
+ background-color: #f5e8e8;
823
+ border: 1px solid #e8c6c7;
824
+ }
825
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.http_method a {
826
+ text-transform: uppercase;
827
+ background-color: #a41e22;
828
+ }
829
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
830
+ border-right: 1px solid #dddddd;
831
+ border-right-color: #e8c6c7;
832
+ color: #a41e22;
833
+ }
834
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a {
835
+ color: #a41e22;
836
+ }
837
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
838
+ background-color: #f7eded;
839
+ border: 1px solid #e8c6c7;
840
+ }
841
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 {
842
+ color: #a41e22;
843
+ }
844
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a {
845
+ color: #c8787a;
846
+ }
847
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading {
848
+ background-color: #e7f6ec;
849
+ border: 1px solid #c3e8d1;
850
+ }
851
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a {
852
+ background-color: #10a54a;
853
+ }
854
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
855
+ border-right: 1px solid #dddddd;
856
+ border-right-color: #c3e8d1;
857
+ color: #10a54a;
858
+ }
859
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a {
860
+ color: #10a54a;
861
+ }
862
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content {
863
+ background-color: #ebf7f0;
864
+ border: 1px solid #c3e8d1;
865
+ }
866
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 {
867
+ color: #10a54a;
868
+ }
869
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a {
870
+ color: #6fc992;
871
+ }
872
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading {
873
+ background-color: #FCE9E3;
874
+ border: 1px solid #F5D5C3;
875
+ }
876
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.http_method a {
877
+ background-color: #D38042;
878
+ }
879
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li {
880
+ border-right: 1px solid #dddddd;
881
+ border-right-color: #f0cecb;
882
+ color: #D38042;
883
+ }
884
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a {
885
+ color: #D38042;
886
+ }
887
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content {
888
+ background-color: #faf0ef;
889
+ border: 1px solid #f0cecb;
890
+ }
891
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h4 {
892
+ color: #D38042;
893
+ }
894
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header a {
895
+ color: #dcb67f;
896
+ }
897
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading {
898
+ background-color: #e7f0f7;
899
+ border: 1px solid #c3d9ec;
900
+ }
901
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.http_method a {
902
+ background-color: #0f6ab4;
903
+ }
904
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
905
+ border-right: 1px solid #dddddd;
906
+ border-right-color: #c3d9ec;
907
+ color: #0f6ab4;
908
+ }
909
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a {
910
+ color: #0f6ab4;
911
+ }
912
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content {
913
+ background-color: #ebf3f9;
914
+ border: 1px solid #c3d9ec;
915
+ }
916
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 {
917
+ color: #0f6ab4;
918
+ }
919
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a {
920
+ color: #6fa5d2;
921
+ }
922
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content,
923
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content,
924
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content,
925
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content,
926
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content,
927
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
928
+ border-top: none;
929
+ }
930
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:last-child,
931
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child,
932
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li:last-child,
933
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:last-child,
934
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:last-child,
935
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:last-child,
936
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last,
937
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last,
938
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li.last,
939
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last,
940
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.last,
941
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last {
942
+ padding-right: 0;
943
+ border-right: none;
944
+ }
945
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:hover,
946
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:active,
947
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a.active {
948
+ text-decoration: underline;
949
+ }
950
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li:first-child,
951
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li.first {
952
+ padding-left: 0;
953
+ }
954
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations:first-child,
955
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations.first {
956
+ padding-left: 0;
957
+ }
958
+ .swagger-ui-wrap p#colophon {
959
+ margin: 0 15px 40px 15px;
960
+ padding: 10px 0;
961
+ font-size: 0.8em;
962
+ border-top: 1px solid #dddddd;
963
+ font-family: "Droid Sans", sans-serif;
964
+ color: #999999;
965
+ font-style: italic;
966
+ }
967
+ .swagger-ui-wrap p#colophon a {
968
+ text-decoration: none;
969
+ color: #547f00;
970
+ }
971
+ .swagger-ui-wrap h3 {
972
+ color: black;
973
+ font-size: 1.1em;
974
+ padding: 10px 0 10px 0;
975
+ }
976
+ .swagger-ui-wrap .markdown ol,
977
+ .swagger-ui-wrap .markdown ul {
978
+ font-family: "Droid Sans", sans-serif;
979
+ margin: 5px 0 10px;
980
+ padding: 0 0 0 18px;
981
+ list-style-type: disc;
982
+ }
983
+ .swagger-ui-wrap form.form_box {
984
+ background-color: #ebf3f9;
985
+ border: 1px solid #c3d9ec;
986
+ padding: 10px;
987
+ }
988
+ .swagger-ui-wrap form.form_box label {
989
+ color: #0f6ab4 !important;
990
+ }
991
+ .swagger-ui-wrap form.form_box input[type=submit] {
992
+ display: block;
993
+ padding: 10px;
994
+ }
995
+ .swagger-ui-wrap form.form_box p.weak {
996
+ font-size: 0.8em;
997
+ }
998
+ .swagger-ui-wrap form.form_box p {
999
+ font-size: 0.9em;
1000
+ padding: 0 0 15px;
1001
+ color: #7e7b6d;
1002
+ }
1003
+ .swagger-ui-wrap form.form_box p a {
1004
+ color: #646257;
1005
+ }
1006
+ .swagger-ui-wrap form.form_box p strong {
1007
+ color: black;
1008
+ }
1009
+ #header {
1010
+ background-color: #89bf04;
1011
+ padding: 14px;
1012
+ }
1013
+ #header a#logo {
1014
+ font-size: 1.5em;
1015
+ font-weight: bold;
1016
+ text-decoration: none;
1017
+ background: transparent url(asset/logo_small.png) no-repeat left center;
1018
+ padding: 20px 0 20px 40px;
1019
+ color: white;
1020
+ }
1021
+ #header form#api_selector {
1022
+ display: block;
1023
+ clear: none;
1024
+ float: right;
1025
+ }
1026
+ #header form#api_selector .input {
1027
+ display: block;
1028
+ clear: none;
1029
+ float: left;
1030
+ margin: 0 10px 0 0;
1031
+ }
1032
+ #header form#api_selector .input input#input_apiKey {
1033
+ width: 200px;
1034
+ }
1035
+ #header form#api_selector .input input#input_baseUrl {
1036
+ width: 400px;
1037
+ }
1038
+ #header form#api_selector .input a#explore {
1039
+ display: block;
1040
+ text-decoration: none;
1041
+ font-weight: bold;
1042
+ padding: 6px 8px;
1043
+ font-size: 0.9em;
1044
+ color: white;
1045
+ background-color: #547f00;
1046
+ -moz-border-radius: 4px;
1047
+ -webkit-border-radius: 4px;
1048
+ -o-border-radius: 4px;
1049
+ -ms-border-radius: 4px;
1050
+ -khtml-border-radius: 4px;
1051
+ border-radius: 4px;
1052
+ }
1053
+ #header form#api_selector .input a#explore:hover {
1054
+ background-color: #547f00;
1055
+ }
1056
+ #header form#api_selector .input input {
1057
+ font-size: 0.9em;
1058
+ padding: 3px;
1059
+ margin: 0;
1060
+ }
1061
+ #content_message {
1062
+ margin: 10px 15px;
1063
+ font-style: italic;
1064
+ color: #999999;
1745
1065
  }
1746
-
1747
1066
  #message-bar {
1748
1067
  min-height: 30px;
1749
1068
  text-align: center;
1750
1069
  padding-top: 10px;
1751
- }
1752
-
1753
- .message-success {
1754
- color: #89BF04;
1755
- }
1756
-
1757
- .message-fail {
1758
- color: #cc0000;
1759
1070
  }