{
  "host": "infrared-api.athom.com",
  "basePath": "/api/v1/",
  "operations": {
    "getBrands": {
      "path": "/brand",
      "method": "get",
      "parameters": {
        "type": {
          "in": "query",
          "type": "string"
        }
      }
    },
    "getTypes": {
      "path": "/type",
      "method": "get",
      "parameters": {
        "brand": {
          "in": "query",
          "type": "string"
        }
      }
    },
    "searchDevices": {
      "path": "/device/search",
      "method": "get",
      "parameters": {
        "query": {
          "in": "query",
          "type": "string",
          "required": true
        }
      }
    },
    "getDevices": {
      "path": "/device",
      "method": "get",
      "parameters": {
        "name": {
          "in": "query",
          "type": "string"
        },
        "type": {
          "in": "query",
          "type": "string"
        },
        "brand": {
          "in": "query",
          "type": "string"
        }
      }
    },
    "getDevice": {
      "path": "/device/{deviceId}",
      "method": "get",
      "parameters": {
        "deviceId": {
          "in": "path",
          "type": "string",
          "required": true
        },
        "secret": {
          "in": "query",
          "type": "string",
          "required": true
        }
      }
    }
  }
}