{
  "host": "connect.athom.com",
  "basePath": "/api/",
  "operations": {
    "ping": {
      "path": "/homey/{homeyId}/ping",
      "method": "get",
      "parameters": {
        "homeyId": {
          "in": "path",
          "type": "string",
          "required": true
        }
      }
    },
    "acceptSharingRequest": {
      "path": "/homey/{homeyId}/invite/accept",
      "method": "post",
      "parameters": {
        "homeyId": {
          "in": "path",
          "type": "string",
          "required": true
        },
        "athomId": {
          "type": "string",
          "in": "body"
        },
        "inviteToken": {
          "type": "string",
          "in": "body"
        }
      }
    },
    "confirmPushNotification": {
      "path": "/homey/{homeyId}/push/confirm/{pushId}",
      "method": "post",
      "parameters": {
        "homeyId": {
          "in": "path",
          "type": "string",
          "required": true
        },
        "pushId": {
          "in": "path",
          "type": "string",
          "required": true
        },
        "choice": {
          "type": "string",
          "in": "body"
        }
      }
    },
    "sendMobileEvent": {
      "path": "/mobile/event",
      "method": "post",
      "parameters": {
        "homeyId": {
          "in": "query",
          "type": "string"
        },
        "deviceId": {
          "type": "string",
          "in": "body"
        },
        "userId": {
          "type": "string",
          "in": "body"
        },
        "message": {
          "type": "string",
          "in": "body"
        },
        "signature": {
          "type": "string",
          "in": "body"
        }
      }
    },
    "sendOAuth2Callback": {
      "path": "/homey/{homeyId}/callback/oauth2",
      "method": "post",
      "parameters": {
        "homeyId": {
          "in": "path",
          "type": "string",
          "required": true
        },
        "code": {
          "type": "string",
          "in": "body"
        },
        "token": {
          "type": "string",
          "in": "body"
        }
      }
    },
    "sendWebhook": {
      "path": "/homey/{homeyId}/webhook/{webhookId}",
      "method": "post",
      "parameters": {
        "homeyId": {
          "in": "path",
          "type": "string",
          "required": true
        },
        "webhookId": {
          "in": "path",
          "type": "string",
          "required": true
        },
        "args": {
          "type": "object",
          "in": "body"
        }
      }
    }
  }
}