WingifyGuides

Get configuration details of a specific website

#OpenAPI definition

{
  "openapi": "3.1.0",
  "info": {
    "title": "api",
    "version": "4"
  },
  "servers": [
    {
      "url": "https://app.wingify.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/accounts/{account_id}/websites/{website_id}/smartcode/configuration": {
      "get": {
        "summary": "Get configuration details of a specific website",
        "description": "",
        "operationId": "get-configuration-details-of-a-specific-website",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Use 'current' keyword to refer to the Main Workspace or the Integer Workspace Id",
            "schema": {
              "type": "string",
              "default": "current"
            },
            "required": true
          },
          {
            "name": "website_id",
            "in": "path",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"_data\": {\n        \"codeType\": \"async\",\n        \"settingsTimeout\": 2100,\n        \"libraryTimeout\": 2508,\n        \"useJquery\": false,\n        \"rocketLoader\": false,\n        \"hideBodyHtml\": false,\n        \"id\": 2\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "_data": {
                      "type": "object",
                      "properties": {
                        "codeType": {
                          "type": "string",
                          "example": "async"
                        },
                        "settingsTimeout": {
                          "type": "integer",
                          "example": 2100,
                          "default": 0
                        },
                        "libraryTimeout": {
                          "type": "integer",
                          "example": 2508,
                          "default": 0
                        },
                        "useJquery": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "rocketLoader": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "hideBodyHtml": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "id": {
                          "type": "integer",
                          "example": 2,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}