Abstract:
Systems and Methods disclosed herein relate to providing a message to an application programming interface (API). The message includes a request for data from a data model, a submission of data to the data model, or both; and a host selection between: a representational state transfer (REST) host and a subscription-based application programming interface (API) host, wherein the REST host receives REST-based messages and the subscription-based API host receives messages in accordance with a standard of the subscription-based API host; wherein the request for data, the submission of data, or both are configured to create, delete, modify, or any combination thereof data related to a smart-device environment structure, a thermostat, a hazard detector, or any combination thereof stored in a data model accessible by the API.
Abstract:
In one embodiment, one or more non-transitory, tangible, machine-readable media includes instructions to send one or more requests to retrieve, access, view, subscribe, or modify data in a data model representative of one or more smart environments. The data model includes a metadata object that includes an access token used to identify which user the data is associated with in the data model, a devices object that includes information related to one or more electronic devices, and a structures object that includes one or more references to the one or more electronic devices in the one or more smart environments.
Abstract:
In one embodiments, a method for authorizing access for an application programming interface (API) client or API client device to data of one or more data models of one or more smart devices includes retrieving a number of access tokens from an authorization server, and providing, via a single connection, the number of access tokens in a request made by the API client or the API client device to the API, wherein the number of access tokens are used to verify access rights of the API client or the API client device to read data for a number of users associated with the one or more data models of the one or more smart devices.
Abstract:
In one embodiment, a tangible, non-transitory computer-readable media stores computer instructions. The computer instructions, when executed by a processor, are configured to send one or more requests including an access token to retrieve, access, view, subscribe, or modify data elements of a data model representative of one or more smart environments. The access token is associated with at least an application programming interface (API) client or API client device and one or more scopes granted to the API client or API client device. The one or more scopes provide one or more access rights to one or more of the data elements of the data model defined by a hierarchical position of the data elements in the data model represented by a respective path to the data elements.
Abstract:
In one embodiment, a tangible, non-transitory computer-readable media stores computer instructions. The computer instructions, when executed by a processor, are configured to send one or more requests including an access token to retrieve, access, view, subscribe, or modify data elements of a data model representative of one or more smart environments. The access token is associated with at least an application programming interface (API) client or API client device and one or more scopes granted to the API client or API client device. The one or more scopes provide one or more access rights to one or more of the data elements of the data model defined by a hierarchical position of the data elements in the data model represented by a respective path to the data elements.
Abstract:
Systems and Methods disclosed herein relate to providing a message to an application programming interface (API). The message includes a request for data from a data model, a submission of data to the data model, or both; and a host selection between: a representational state transfer (REST) host and a subscription-based application programming interface (API) host, wherein the REST host receives REST-based messages and the subscription-based API host receives messages in accordance with a standard of the subscription-based API host; wherein the request for data, the submission of data, or both are configured to create, delete, modify, or any combination thereof data related to a smart-device environment structure, a thermostat, a hazard detector, or any combination thereof stored in a data model accessible by the API.
Abstract:
In one embodiments, a method for authorizing access for an application programming interface (API) client or API client device to data of one or more data models of one or more smart devices includes retrieving a number of access tokens from an authorization server, and providing, via a single connection, the number of access tokens in a request made by the API client or the API client device to the API, wherein the number of access tokens are used to verify access rights of the API client or the API client device to read data for a number of users associated with the one or more data models of the one or more smart devices.