{"info":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","description":"<html><head></head><body><p>This is the documentation for the Flair API. In this document, we will go over authorization and authentication, dive into a typical user setup and how to navigate and interact with it, and also provide a reference for all supported endpoints and their corresponding attributes.</p>\n<p>You may find your Flair API OAuth 2.0 credentials inside of your Flair App under the Account Settings menu, at the bottom, under Developer Settings. If you have any questions or comments, please reach out to <a href=\"https://mailto:support@flair.co\">support@flair.co</a>.</p>\n<p>Flair has also published a rudimentary python interface for faster development:<br><a href=\"https://github.com/flair-systems/flair-api-client-py\">https://github.com/flair-systems/flair-api-client-py</a></p>\n<blockquote>\n<p>A python client supporting OAuth 2.0 is currently in preview and can be installed using:<br><code>pip install git+https://github.com/flair-systems/flair-api-client-py.git@refs/pull/9/head</code><br>The new Python client includes a special fallback mechanism that supports both OAuth 2.0 and OAuth 1.0 (legacy) credentials without additional configuration, prioritizing OAuth 2.0. This fallback behavior can be adjusted. </p>\n</blockquote>\n<p><strong>Please remember to keep your credentials safe.</strong></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5353571","collectionId":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","publishedId":"TzsbKTAG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-07-26T21:09:19.000Z"},"item":[{"name":"Getting Started","item":[],"id":"cb0e8d10-6085-455b-9dd1-366d5d1cce15","description":"<p>Here is a small guide on how to get started interfacing with the Flair API:</p>\n<ol>\n<li><p>Create a Flair account with a developer email address at</p>\n<p> <a href=\"https://my.flair.co\">my.flair.co</a></p>\n<p> .</p>\n</li>\n<li><p>Personal credentials can be access through the Flair App's Account Settings (at the bottom) - these are OAuth 2.0 credentials.</p>\n<ol>\n<li>If you are a professional / business, please reach out to <a href=\"https://mailto:partners@flair.co\">partners@flair.co</a> to discuss advanced options.</li>\n</ol>\n</li>\n<li><p>OAuth 1.0 credentials are being depcreated in favor of OAuth 2.0 and our SDKs will be updated soon to reflect this. Check out</p>\n<p> <a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#877503a1-9e0b-41de-91e8-f857175e0a00\">Flair API Authorization</a></p>\n<p> for details on how to get started.</p>\n</li>\n<li><p>With your access token, you can check out some examples:</p>\n<ol>\n<li><p><a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#304a9f67-9660-40b6-a9c5-d958aa8db763\">Vent control example</a></p>\n</li>\n<li><p><a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#ff426410-8ac9-4e3a-80ba-4e39f2b18f5e\">Minisplit control example</a></p>\n</li>\n<li><p><a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#b2bc9a20-2ea2-488b-b27a-46d7588b8d4f\">Webhook registration example</a></p>\n</li>\n</ol>\n</li>\n</ol>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"3142e8ac-956b-4b52-980d-bdeca301f868"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"20bfe345-3ac8-4ddd-8ac2-7b8de22421af"}}],"_postman_id":"cb0e8d10-6085-455b-9dd1-366d5d1cce15","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}},{"name":"JSON API","item":[],"id":"d2ae125c-3bdb-478e-9741-d08b8464d120","description":"<p><a href=\"http://jsonapi.org/\">JSON API</a> is a specification for HATEOAS APIs using JSON as their base media type. It uses the application/vnd.api+json as its media type and clients SHOULD set both their Accept and Content-Type headers to that media type, though the Flair API will be more lax than the specification on this count.</p>\n<p>JSON API describes a standard method for CRUD actions against API resources and how to describe and modify relationships between resources using hypermedia. The full spec is available <a href=\"http://jsonapi.org/format/\">here</a>, but people interacting with the the API will probably want to use a <a href=\"http://jsonapi.org/implementations/\">pre-existing client implementation</a>.</p>\n<p>Error Objects look like:</p>\n<p>{\n    \"errors\": {\n        \"title\": \"Not Found\",\n        \"code\": \"404\",\n        \"detail\": \"users resource with id 2 was not found\"\n    }\n}</p>\n<p>A request to create a resource:</p>\n<p>POST /api/structures</p>\n<p>{\n    \"data\": {\n        \"type\": \"structures\",\n        \"attributes\": {\n            \"name\": \"Winter Home\"\n        },\n        \"relationships\": {\n            \"admin-users\": [{\n                \"id\": \"1\",\n                \"type\": \"users\"\n            }]\n        }\n    }\n}</p>\n<p>A request to update a resource:</p>\n<p>PUT /api/users/2</p>\n<p>{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"users\",\n        \"attributes\": {\n            \"name\": \"Will Paget\"\n        }\n    }\n}</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"98bde631-8144-445f-9354-dcaea6c3e83c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"82eab1b3-1e01-4e43-be67-0ae02fe5d4c6"}}],"_postman_id":"d2ae125c-3bdb-478e-9741-d08b8464d120","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}},{"name":"Authorization (OAuth 2.0)","item":[{"name":"Authorize","id":"d97b4490-a95c-415b-ab44-bf6fad687235","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.flair.co/oauth2/authorize?client_id=CLIENT_ID&redirect_uri=https://redirect_uri.fake&response_type=code&state=FAKESTATEID&scope=structures.edit structures.view","description":"<p>Third parties can request authorization here by redirecting the user to a url like /oauth2/authorize?client_id={application id}&amp;redirect_uri={uri to return the user to}&amp;scope={' ' (space) separated list of scopes}&amp;response_type=code&amp;state={state to verify the request wasnt tampered with}.</p>\n<p>Here is an example for the scope parameter:</p>\n<p>scope=thermostats.view structures.edit structures.view</p>\n","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth2","authorize"],"host":["api","flair","co"],"query":[{"key":"client_id","value":"CLIENT_ID"},{"key":"redirect_uri","value":"https://redirect_uri.fake"},{"key":"response_type","value":"code"},{"key":"state","value":"FAKESTATEID"},{"key":"scope","value":"structures.edit structures.view"}],"variable":[]}},"response":[],"_postman_id":"d97b4490-a95c-415b-ab44-bf6fad687235"}],"id":"877503a1-9e0b-41de-91e8-f857175e0a00","description":"<p>The Flair API uses OAuth2 for Authorization. We support all OAuth workflows. Only Authorized Users, 'Partners', may register OAuth clients with the API. Contact <a href=\"mailto:partners@flair.co\">partners@flair.co</a> for more information.</p>\n<p>All scopes are divided into '.view' and '.edit' varities. Clients with view permissions may only make GET requests for the resources, while those with both the view and edit scopes may make any kind of request for scopes. A Resources's required scopes are noted in the resource documentation below.</p>\n<p>Clients using the implicit grant may only request '.view' scopes.</p>\n<p>Here is an example for the scope parameter:\nscope=thermostats.view structures.edit structures.view</p>\n<p>The most common scopes include:</p>\n<ul>\n<li>users: this let's you view user names and settings</li>\n<li>structures: this let's you view the user's Flair home setup and configuration</li>\n<li>rooms: rooms are the backbone of the Flair system and let you see each room in a home (permissions for this scope fall under the structures permission, you will have access to rooms as long as have access to structures)</li>\n<li>pucks: this shows what Pucks are associated with this user</li>\n<li>vents: this shows what Vents are associated with this user</li>\n<li>thermostats: this shows what smart thermostats are associated with this user</li>\n<li>hvac-units: this shows what IR HVAC devices are associated with this user (permissions for this scope fall under the structures permission, you will have access to hvac-units as long as have access to structures)</li>\n</ul>\n<p><b>/oauth2/authorize</b></p>\n<p>Third parties can request authorization here by redirecting the user to a url like /oauth2/authorize?client_id={application id}&amp;redirect_uri={uri to return the user to}&amp;scope={' ' (space) separated list of scopes}&amp;response_type=code&amp;state={state to verify the request wasn't tampered with}.  Third parties must register their redirect URIs with Flair. Please email your Flair contact or <a href=\"mailto:partners@flair.co\">partners@flair.co</a> to register your URI.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1bb266b8-751b-4947-a4c7-3d2f17934111"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"cf009251-f631-4cc8-9896-f0732d2fbb8f"}}],"_postman_id":"877503a1-9e0b-41de-91e8-f857175e0a00","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}},{"name":"Authentication (OAuth 2.0)","item":[{"name":"Client Credentials","id":"679ceae1-61d3-4306-88ed-1c1d87426576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"CLIENT_ID","type":"text","uuid":"175cddf8-8efd-4b5b-8a0e-3faa7ff921f3"},{"key":"client_secret","value":"CLIENT_SECRET","type":"text","uuid":"d577b7b8-ff24-4cdb-9bb4-29a0b8d98ccd"},{"key":"scope","value":"thermostats.view structures.view structures.edit","type":"text","uuid":"c4584d07-82a2-486d-a11a-f98ed5f84de2"},{"key":"grant_type","value":"client_credentials","type":"text","uuid":"80f4e9c4-ac9c-4506-9fdf-a51c2607f678"}]},"url":"https://api.flair.co/oauth2/token","description":"<h2 id=\"oauth2-token-endpoint\">OAuth2 Token Endpoint</h2>\n<p>This endpoint is used to obtain an access token for authenticating API requests. It follows the OAuth2 protocol, allowing clients to securely access resources.</p>\n<h3 id=\"request\">Request</h3>\n<p><strong>Method:</strong> POST<br /><strong>URL:</strong> <code>https://api.flair.co/oauth2/token</code><br /><strong>Content-Type:</strong> <code>application/x-www-form-urlencoded</code></p>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<ul>\n<li><p><strong>client_id</strong> (text): The unique identifier for the client application requesting the token.</p>\n</li>\n<li><p><strong>client_secret</strong> (text): The secret key associated with the client application, used for authentication.</p>\n</li>\n<li><p><strong>scope</strong> (text): A space-separated list of scopes that define the access level requested by the client.</p>\n</li>\n<li><p><strong>grant_type</strong> (text): The type of grant being requested.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p><strong>Status Code:</strong> 200<br /><strong>Content-Type:</strong> <code>application/json</code></p>\n<h4 id=\"response-parameters\">Response Parameters</h4>\n<ul>\n<li><p><strong>access_token</strong>: The token that can be used to authenticate subsequent API requests.</p>\n</li>\n<li><p><strong>expires_in</strong>: The duration in seconds for which the access token is valid.</p>\n</li>\n<li><p><strong>token_type</strong>: The type of token returned, typically \"Bearer\".</p>\n</li>\n<li><p><strong>scope</strong>: The scopes that the access token is granted for.</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the <code>client_id</code> and <code>client_secret</code> are kept confidential to maintain security.</p>\n</li>\n<li><p>The access token should be included in the Authorization header of subsequent requests to access protected resources.</p>\n</li>\n<li><p>The <code>expires_in</code> value indicates how long the token is valid; clients should handle token expiration appropriately.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["oauth2","token"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"f0696748-55c1-4875-a4be-b93945c7c590","name":"Client Credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"uI4b0yVHgp3QsNukLvRCQ8E8PZ03lJGRxcarPBDQ","type":"text","uuid":"2c31bcbd-fbba-4642-ba74-a3325154eae0"},{"key":"client_secret","value":"YguVLkupBz8BRl6p6kCgNOqkVEmgbXrr48sCSfH6bw5sbZtXpee5HJN7AxQD","type":"text","uuid":"16e5361a-7e65-4bbc-af22-4ebdd5182e0e"},{"key":"scope","value":"thermostats.view structures.view structures.edit","type":"text","uuid":"465c69d6-c433-4185-91d3-e5c12ff43e93"},{"key":"grant_type","value":"client_credentials","type":"text","uuid":"f57b229d-1f9a-4659-be69-695b0215943c"}]},"url":"https://api.flair.co/oauth2/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store"},{"key":"Content-Type","value":"application/json"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"155"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"thermostats.view structures.view structures.edit\"\n}"}],"_postman_id":"679ceae1-61d3-4306-88ed-1c1d87426576"},{"name":"Resource Owner Credentials","id":"41d11d77-6c0f-4253-98c0-7299e62b2f8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"CLIENT_ID","type":"text"},{"key":"client_secret","value":"CLIENT_SECRET","type":"text"},{"key":"username","value":"USERNAME","type":"text"},{"key":"password","value":"PASSWORD","type":"text"},{"key":"grant_type","value":"password","type":"text"},{"key":"scope","value":"structures.view structures.edit","type":"text"}]},"url":"https://api.flair.co/oauth2/token","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth2","token"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"b4c96447-0745-42fd-b071-ad7f134dd9c2","name":"Resource Owner Credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"CLIENT_ID","type":"text"},{"key":"client_secret","value":"CLIENT_SECRET","type":"text"},{"key":"username","value":"USERNAME","type":"text"},{"key":"password","value":"PASSWORD","type":"text"},{"key":"grant_type","value":"password","type":"text"},{"key":"scope","value":"structures.view structures.edit","type":"text"}]},"url":"https://api.flair.co/oauth2/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store"},{"key":"Content-Type","value":"application/json"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"189"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"structures.view structures.edit\",\n    \"refresh_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}"}],"_postman_id":"41d11d77-6c0f-4253-98c0-7299e62b2f8d"},{"name":"Access Grant","id":"1d5fa38e-e6c8-4db8-88f9-2813bacf09cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"CLIENT_ID","type":"text"},{"key":"client_secret","value":"CLIENT_SECRET","type":"text"},{"key":"code","value":"CODE_FROM_OAUTH_AUTHORIZE","type":"text"},{"key":"grant_type","value":"authorization_code","type":"text"},{"key":"scope","value":"structures.view structures.edit","type":"text"},{"key":"state","value":"FAKESTATEID","type":"text"},{"key":"redirect_uri","value":"https://redirect_uri.fake","type":"text"}]},"url":"https://api.flair.co/oauth2/token","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth2","token"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"f2bcc8c2-3053-49bd-aee0-a5979c3e6034","name":"Access Grant","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"CLIENT_ID","type":"text"},{"key":"client_secret","value":"CLIENT_SECRET","type":"text"},{"key":"code","value":"CODE_FROM_OAUTH_AUTHORIZE","type":"text"},{"key":"grant_type","value":"authorization_code","type":"text"},{"key":"scope","value":"structures.view structures.edit","type":"text"},{"key":"state","value":"FAKESTATEID","type":"text"},{"key":"redirect_uri","value":"https://redirect_uri.fake","type":"text"}]},"url":"https://api.flair.co/oauth2/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store"},{"key":"Content-Type","value":"application/json"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"189"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"structures.edit structures.view\",\n    \"refresh_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}"}],"_postman_id":"1d5fa38e-e6c8-4db8-88f9-2813bacf09cc"},{"name":"Token Refresh","id":"fbcaa699-3294-4ce1-abe2-a72681a9324d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"CLIENT_ID","type":"text"},{"key":"client_secret","value":"CLIENT_SECRET","type":"text"},{"key":"grant_type","value":"refresh_token","type":"text"},{"key":"scope","value":"structures.edit structures.view","type":"text"},{"key":"refresh_token","value":"REFRESH_TOKEN","type":"text"}]},"url":"https://api.flair.co/oauth2/token","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth2","token"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"d0d8b8ea-1808-4a08-8e90-cf6de67d6318","name":"Token Refresh","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"CLIENT_ID","type":"text"},{"key":"client_secret","value":"CLIENT_SECRET","type":"text"},{"key":"grant_type","value":"refresh_token","type":"text"},{"key":"scope","value":"structures.edit structures.view","type":"text"},{"key":"refresh_token","value":"REFRESH_TOKEN","type":"text"}]},"url":"https://api.flair.co/oauth2/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store"},{"key":"Content-Type","value":"application/json"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"189"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"structures.view structures.edit\",\n    \"refresh_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}"}],"_postman_id":"fbcaa699-3294-4ce1-abe2-a72681a9324d"}],"id":"45e25295-ff0a-40bf-ae42-4f37a0c1819d","description":"<p><b>/oauth/token</b></p>\n<p>Registered clients may request credentials through this endpoint.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"554783f0-cf98-4ebb-8079-bc4d3c94aa48"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"cfd6dba9-25eb-4803-9857-6aa01387d4a3"}}],"_postman_id":"45e25295-ff0a-40bf-ae42-4f37a0c1819d","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}},{"name":"Authentication (Legacy OAuth 1.0)","item":[{"name":"Client Credentials","id":"a1e88d3c-c234-4fd6-9a5f-f00a89b591cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"https://api.flair.co/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&scope=thermostats.view+structures.view+structures.edit&grant_type=client_credentials","description":"<p>This endpoint is used to obtain an access token for authenticating API requests.</p>\n<p>Make sure to handle the access token securely and refresh it as needed based on the <code>expires_in</code> value.</p>\n","urlObject":{"protocol":"https","path":["oauth","token"],"host":["api","flair","co"],"query":[{"key":"client_id","value":"CLIENT_ID"},{"key":"client_secret","value":"CLIENT_SECRET"},{"key":"scope","value":"thermostats.view+structures.view+structures.edit"},{"key":"grant_type","value":"client_credentials"}],"variable":[]}},"response":[{"id":"1ceed618-475a-41cc-8382-78850e307f55","name":"Client Credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":{"raw":"https://api.flair.co/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&scope=thermostats.view+structures.view+structures.edit&grant_type=client_credentials","protocol":"https","host":["api","flair","co"],"path":["oauth","token"],"query":[{"key":"client_id","value":"CLIENT_ID"},{"key":"client_secret","value":"CLIENT_SECRET"},{"key":"scope","value":"thermostats.view+structures.view+structures.edit"},{"key":"grant_type","value":"client_credentials"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store"},{"key":"Content-Type","value":"application/json"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"155"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"thermostats.view structures.view structures.edit\"\n}"}],"_postman_id":"a1e88d3c-c234-4fd6-9a5f-f00a89b591cc"},{"name":"Resource Owner Credentials","id":"8da02623-cf40-400b-b508-a658ea736e9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"https://api.flair.co/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&username=USERNAME&password=PASSWORD&grant_type=password&scope=structures.view+structures.edit","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth","token"],"host":["api","flair","co"],"query":[{"key":"client_id","value":"CLIENT_ID"},{"key":"client_secret","value":"CLIENT_SECRET"},{"key":"username","value":"USERNAME"},{"key":"password","value":"PASSWORD"},{"key":"grant_type","value":"password"},{"key":"scope","value":"structures.view+structures.edit"}],"variable":[]}},"response":[{"id":"3891c51a-4536-47b0-bf18-a1b6a7fe7819","name":"Resource Owner Credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":{"raw":"https://api.flair.co/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&username=USERNAME&password=PASSWORD&grant_type=password&scope=structures.view+structures.edit","protocol":"https","host":["api","flair","co"],"path":["oauth","token"],"query":[{"key":"client_id","value":"CLIENT_ID"},{"key":"client_secret","value":"CLIENT_SECRET"},{"key":"username","value":"USERNAME"},{"key":"password","value":"PASSWORD"},{"key":"grant_type","value":"password"},{"key":"scope","value":"structures.view+structures.edit"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store"},{"key":"Content-Type","value":"application/json"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"189"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"structures.view structures.edit\",\n    \"refresh_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}"}],"_postman_id":"8da02623-cf40-400b-b508-a658ea736e9a"},{"name":"Access Grant","id":"07b536ba-5d7e-4e71-b164-0cb50745ed54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"https://api.flair.co/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&code=CODE_FROM_OAUT_AUTHORIZE&grant_type=authorization_code&scope=structures.view+structures.edit&state=FAKESTATEID&redirect_uri=https://redirect_uri.fake","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth","token"],"host":["api","flair","co"],"query":[{"key":"client_id","value":"CLIENT_ID"},{"key":"client_secret","value":"CLIENT_SECRET"},{"key":"code","value":"CODE_FROM_OAUT_AUTHORIZE"},{"key":"grant_type","value":"authorization_code"},{"key":"scope","value":"structures.view+structures.edit"},{"key":"state","value":"FAKESTATEID"},{"key":"redirect_uri","value":"https://redirect_uri.fake"}],"variable":[]}},"response":[{"id":"f44bdb57-71d6-4dd1-88e9-2f7683bd39f8","name":"Access Grant","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":{"raw":"https://api.flair.co/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&code=CODE_FROM_OAUT_AUTHORIZE&grant_type=authorization_code&scope=structures.view+structures.edit&state=FAKESTATEID&redirect_uri=https://redirect_uri.fake","protocol":"https","host":["api","flair","co"],"path":["oauth","token"],"query":[{"key":"client_id","value":"CLIENT_ID"},{"key":"client_secret","value":"CLIENT_SECRET"},{"key":"code","value":"CODE_FROM_OAUT_AUTHORIZE"},{"key":"grant_type","value":"authorization_code"},{"key":"scope","value":"structures.view+structures.edit"},{"key":"state","value":"FAKESTATEID"},{"key":"redirect_uri","value":"https://redirect_uri.fake"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store"},{"key":"Content-Type","value":"application/json"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"189"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"structures.edit structures.view\",\n    \"refresh_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}"}],"_postman_id":"07b536ba-5d7e-4e71-b164-0cb50745ed54"},{"name":"Token Refresh","id":"03221add-00c5-4eb4-a1c8-d2e69ed77545","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"https://api.flair.co/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&grant_type=refresh_token&scope=structures.view+structures.edit&refresh_token=REFRESH_TOKEN","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth","token"],"host":["api","flair","co"],"query":[{"key":"client_id","value":"CLIENT_ID"},{"key":"client_secret","value":"CLIENT_SECRET"},{"key":"grant_type","value":"refresh_token"},{"key":"scope","value":"structures.view+structures.edit"},{"key":"refresh_token","value":"REFRESH_TOKEN"}],"variable":[]}},"response":[{"id":"8b14edac-c474-4b41-8ee8-f2f0ce984c34","name":"Token Refresh","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":{"raw":"https://api.flair.co/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&grant_type=refresh_token&scope=structures.view+structures.edit&refresh_token=REFRESH_TOKEN","protocol":"https","host":["api","flair","co"],"path":["oauth","token"],"query":[{"key":"client_id","value":"CLIENT_ID"},{"key":"client_secret","value":"CLIENT_SECRET"},{"key":"grant_type","value":"refresh_token"},{"key":"scope","value":"structures.view+structures.edit"},{"key":"refresh_token","value":"REFRESH_TOKEN"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store"},{"key":"Content-Type","value":"application/json"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"189"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"structures.view structures.edit\",\n    \"refresh_token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}"}],"_postman_id":"03221add-00c5-4eb4-a1c8-d2e69ed77545"}],"id":"b2c4553b-ffe1-4eef-9e6e-10ee5848253d","description":"<p><strong><code>/oauth/token</code></strong></p>\n<p>Registered clients may request credentials through this endpoint. <em>This endpoint may be removed in the future. If you are having trouble with OAuth 1.0 (legacy), please obtain your OAuth 2.0 credentials from the Flair App and switch to using OAuth 2.0 endpoints.</em></p>\n<h3 id=\"rate-limiting\">Rate Limiting</h3>\n<p>Please note that this endpoint is subject to a rate limit of <strong>50 requests per day</strong>. Exceeding this limit may result in requests being denied until the limit resets.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"caf397f2-6483-41af-870a-079b14b108fa"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5a56fa18-5aa1-4237-b9e9-902c65a31bce"}}],"_postman_id":"b2c4553b-ffe1-4eef-9e6e-10ee5848253d","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}},{"name":"Example: Vent Control","item":[],"id":"304a9f67-9660-40b6-a9c5-d958aa8db763","description":"<p>There are two main ways to currently interact with Flair: Manual mode, and Auto mode.  In Manual mode, all Vent operations must be controlled by the user, or a third party application.  In Auto mode, Flair will automatically adjust Vents to achieve certain set points.  Please check the mode first using the <a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#3366b193-a4b1-4ee9-81f2-ae1cccb6b471\">/structures endpoint</a>, and evaluating the \"mode\" attribute.</p>\n<p><b>Manual mode:</b></p>\n<p>If the user's structure is using mode \"Manual\", then Vents will simply follow user commands or third party application commands.  This mode is meant for testing devices easily, and for users who want direct, manual control over their devices.</p>\n<p>In manual mode, commands sent by third party applications will stay in effect until changed by either the user, or by the third party application.</p>\n<p>For instance, if your app wants complete control of whether Vent is open or closed, then set the structure mode to manual, and control the Vent position directly as shown below in section <a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#5efedb8c-21b2-47ac-a9fb-6ffa469badfa\">PATCH Open or Close a Vent</a>.</p>\n<p><b>Auto mode:</b></p>\n<p>If a user's structure has mode set to \"Auto\", then Flair will automatically adjust Vent positions to achieve the set points in the rooms.  This mode is meant for users who want to set the temperature, and have Flair run.  This mode is also the only mode that supports Flair scheduling and Flair Home/Away.</p>\n<p>In this mode, commands sent by third party applications or the user may be overwritten by the Flair Auto algorithm.  For instance, a third party application may set the Vents in the bedroom to closed, but Flair will evaluate the temperature in that room, determine that it is too cold, and open the Vents again to let more heat in.</p>\n<p>In Auto mode, we suggest interacting with user structures by adjusting the room set points.  Please see below under <a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#82c81f39-f270-4eb2-a48f-2c6170c63933\">PATCH Adjust Room Set Point</a>.  This will tell Flair what set point to target, and Flair will adjust the Vents automatically.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"f2c377ed-3037-4594-a693-3d14a22f5af0"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"1700160b-e20a-4086-a476-ec173a29cab1"}}],"_postman_id":"304a9f67-9660-40b6-a9c5-d958aa8db763","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}},{"name":"Example: Minisplit Control","item":[],"id":"ff426410-8ac9-4e3a-80ba-4e39f2b18f5e","description":"<p>There are two main ways to currently interact with Flair: Manual mode, and Auto mode.  In Manual mode, all minisplit operations must be controlled by the user, or a third party application.  In Auto mode, Flair will automatically adjust minisplits to achieve certain set points.   Please check the mode first using the <a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#3366b193-a4b1-4ee9-81f2-ae1cccb6b471\">/structures endpoint</a> endpoint, and evaluating the \"mode\" attribute.</p>\n<p><b>Manual mode:</b></p>\n<p>If the user's structure is using mode \"Manual\", then minisplits will simply follow user commands or third party application commands.  This mode is meant for testing devices easily, and for users who want direct, manual control over their devices.</p>\n<p>In manual mode, commands sent by third party applications will stay in effect until changed by either the user, or by the third party application.</p>\n<p>If your app wants complete control of what temperature, fan, swing, etc, a minisiplit is set to, then set the structure mode to manual, and control the minisplit directly as shown below in section <a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#fe425e22-bc80-4ca0-a909-e25257025d9d\">PATCH Change Minisplit Settings</a>.</p>\n<p><b>Auto mode:</b></p>\n<p>If a user's structure has mode set to \"Auto\", then Flair will automatically adjust minisplit settings to achieve the set points in the rooms.  This mode is meant for users who want to set the temperature, and have Flair run.  This mode is also the only mode that supports Flair scheduling and Flair Home/Away.</p>\n<p>In this mode, commands sent by third party applications or the user may be overwritten by the Flair Auto algorithm.  For instance, a third party application may set the minisplit in the bedroom set to 70, Cooling, but Flair will evaluate the temperature in that room, determine that it is too cold, and set it to 74, Heating.</p>\n<p>In Auto mode, we suggest interacting with user structures by adjusting the room set points.  Please see below under <a href=\"https://documenter.getpostman.com/view/5353571/TzsbKTAG#82c81f39-f270-4eb2-a48f-2c6170c63933\">PATCH Adjust Room Set Point</a>.  This way, your application can adjust the room set point, and Flair will automatically adjust the minisplit to follow the updated set point.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b9ccec74-9986-4e56-8d19-8765c2c3eb9b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"56ac66d9-6897-429d-9497-9ad6c4be6ab6"}}],"_postman_id":"ff426410-8ac9-4e3a-80ba-4e39f2b18f5e","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}},{"name":"Example: Change Schedule","item":[{"name":"Structure PATCH","id":"85b85bcc-02eb-4fba-a9ac-a9fb0e4327f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\"data\":{\"type\":\"structures\",\"attributes\":{\"active-schedule-id\":\"e569ca11-643d-499d-8090-c3e4902d1cb9\"}}}"},"url":"https://api.flair.co/api/structures/4351","description":"<p>Change the active schedule in a structure</p>\n","urlObject":{"protocol":"https","path":["api","structures","4351"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"b1ae9637-238b-4666-b365-42637892e0d1","name":"Structure PATCH","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\"data\":{\"type\":\"structures\",\"attributes\":{\"active-schedule-id\":\"e569ca11-643d-499d-8090-c3e4902d1cb9\"}}}"},"url":"https://api.flair.co/api/structures/4351"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Apr 2020 21:31:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/20.0.4"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode, user-agent"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"self\": \"/api/structures/4351\"\n    },\n    \"data\": {\n        \"type\": \"structures\",\n        \"relationships\": {\n            \"geofences\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/geofences\",\n                    \"related\": \"/api/structures/4351/geofences\"\n                }\n            },\n            \"thermostats\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/thermostats\",\n                    \"related\": \"/api/structures/4351/thermostats\"\n                }\n            },\n            \"zones\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/zones\",\n                    \"related\": \"/api/structures/4351/zones\"\n                }\n            },\n            \"viewer-users\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/viewer-users\",\n                    \"related\": \"/api/structures/4351/viewer-users\"\n                }\n            },\n            \"admin-users\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/admin-users\",\n                    \"related\": \"/api/structures/4351/admin-users\"\n                }\n            },\n            \"hvac-units\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/hvac-units\",\n                    \"related\": \"/api/structures/4351/hvac-units\"\n                }\n            },\n            \"remote-sensors\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/remote-sensors\",\n                    \"related\": \"/api/structures/4351/remote-sensors\"\n                }\n            },\n            \"current-state\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/current-state\"\n                },\n                \"data\": {\n                    \"type\": \"structure-states\",\n                    \"id\": \"d53c3a13-b9a7-44f6-8140-fbf26b1391c5\"\n                }\n            },\n            \"alerts\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/alerts\"\n                }\n            },\n            \"supported-device-brands\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/supported-device-brands\"\n                }\n            },\n            \"beacon-sightings\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/beacon-sightings\",\n                    \"related\": \"/api/structures/4351/beacon-sightings\"\n                }\n            },\n            \"schedules\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/schedules\",\n                    \"related\": \"/api/structures/4351/schedules\"\n                }\n            },\n            \"releases\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/releases\",\n                    \"related\": \"/api/structures/4351/releases\"\n                }\n            },\n            \"default-zone\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/default-zone\",\n                    \"related\": \"/api/structures/4351/default-zone\"\n                }\n            },\n            \"occupancy-conclusions\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/occupancy-conclusions\"\n                }\n            },\n            \"editor-users\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/editor-users\",\n                    \"related\": \"/api/structures/4351/editor-users\"\n                }\n            },\n            \"integration-structures\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/integration-structures\",\n                    \"related\": \"/api/structures/4351/integration-structures\"\n                }\n            },\n            \"rooms\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/rooms\",\n                    \"related\": \"/api/structures/4351/rooms\"\n                }\n            },\n            \"pucks\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/pucks\",\n                    \"related\": \"/api/structures/4351/pucks\"\n                }\n            },\n            \"current-weather\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/current-weather\"\n                }\n            },\n            \"invitations\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/invitations\",\n                    \"related\": \"/api/structures/4351/invitations\"\n                }\n            },\n            \"weather-readings\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/weather-readings\"\n                }\n            },\n            \"vents\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/vents\",\n                    \"related\": \"/api/structures/4351/vents\"\n                }\n            },\n            \"active-schedule\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/active-schedule\",\n                    \"related\": \"/api/structures/4351/active-schedule\"\n                },\n                \"data\": {\n                    \"type\": \"schedules\",\n                    \"id\": \"e569ca11-643d-499d-8090-c3e4902d1cb9\"\n                }\n            },\n            \"geofence-events\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/geofence-events\",\n                    \"related\": \"/api/structures/4351/geofence-events\"\n                }\n            },\n            \"current-conclusions\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/current-conclusions\"\n                }\n            },\n            \"structure-states\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/structure-states\"\n                }\n            }\n        },\n        \"attributes\": {\n            \"mode\": \"auto\",\n            \"setup-mode\": false,\n            \"hysteresis-b\": 200,\n            \"hysteresis-heat-cool-mode\": 300,\n            \"structure-heat-cool-mode-popup-resolved-at\": null,\n            \"temp-away-min-c\": 12.2,\n            \"structure-heat-cool-mode\": \"cool\",\n            \"home-away-mode\": \"Manual\",\n            \"name\": \"My Home\",\n            \"puck-client-id\": \"HhodCMXGiM3rPzvkpJ6O8Pcuzb4kLKSMMDfeZF2Z\",\n            \"setup-complete\": true,\n            \"setup-mode-first-time\": true,\n            \"hold-reason\": null,\n            \"longitude\": -122.408842,\n            \"updated-at\": \"2020-04-14T21:31:03.633676+00:00\",\n            \"state-updated-at\": \"2020-04-14T21:31:03.631447+00:00\",\n            \"hold-until-schedule-event\": true,\n            \"set-point-mode\": \"Home Evenness For Active Rooms Flair Setpoint\",\n            \"structure-heat-cool-mode-calculated\": null,\n            \"setup-step\": \"step-five-puck\",\n            \"use-remote-sensor-occupancy\": null,\n            \"preheat-precool\": false,\n            \"frozen-pipe-pet-protect\": true,\n            \"home\": true,\n            \"active-schedule-id\": \"e569ca11-643d-499d-8090-c3e4902d1cb9\",\n            \"location\": \"684 Peralta Ave\",\n            \"puck-client-secret\": \"q2nYKegoHIz0GQvBcRFj6mQMwHRC3nmDOJAJeVXzKaWBCxTaj5oSv5gabp2v\",\n            \"country\": \"US\",\n            \"temperature-scale\": \"F\",\n            \"latitude\": 37.741657,\n            \"created-at\": \"2018-03-09T23:44:02.180249+00:00\",\n            \"hold-until\": null,\n            \"default-hold-duration\": \"Until\",\n            \"release-channel\": \"production\",\n            \"humidity-away-max\": 80,\n            \"structure-away-mode\": \"Off Only\",\n            \"state\": \"CA\",\n            \"reporting-gateway\": true,\n            \"set-point-temperature-c\": 20.56,\n            \"is-active\": false,\n            \"time-zone\": \"America/Los_Angeles\",\n            \"location-type\": \"address\",\n            \"hysteresis-a\": 50,\n            \"structure-type\": null,\n            \"city\": \"San Francisco\",\n            \"licensed-features\": [],\n            \"temp-away-max-c\": 30.9,\n            \"humidity-away-min\": 10,\n            \"zip-code\": \"94110\"\n        },\n        \"id\": \"4351\"\n    }\n}"}],"_postman_id":"85b85bcc-02eb-4fba-a9ac-a9fb0e4327f0"}],"id":"ca663d78-0c97-4943-b535-9d542db54c25","description":"<p>You can change settings in a Flair home by sending a PATCH to structure attributes.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"27d51a04-4699-46d5-9fd1-6cf7ddef748e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"bf3e9927-6d4c-421a-8946-28aa9df5b668"}}],"_postman_id":"ca663d78-0c97-4943-b535-9d542db54c25","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}},{"name":"Example: Webhook Registration","item":[{"name":"Structure PATCH","id":"b2bc9a20-2ea2-488b-b27a-46d7588b8d4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\"data\":{\"type\":\"structures\",\"attributes\":{\"callback-url\":\"https://your-domain.example/callback\"}}}"},"url":"https://api.flair.co/api/structures/4351","description":"<h2 id=\"callback-triggers\">Callback Triggers</h2>\n<p>Triggers that would execute a callback:</p>\n<ul>\n<li><p>Structure Mode Change</p>\n</li>\n<li><p>Room Set Point Change</p>\n</li>\n<li><p>Room Active/Inactive Change</p>\n</li>\n<li><p>Room Temperature / Humidity Change</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes:</h3>\n<p><strong>heat_cool_mode</strong> can be either:<br />- COOL (if cooling)<br />- HEAT (if heating)<br />- FLOAT (if idle/off)</p>\n<p><strong>structure_heat_cool_mode</strong> can be either:<br />- COOL (if desire to cool)<br />- HEAT (if desire to heat)<br />- AUTO (to determine the ideal mode automatically)<br />- FLOAT (to have everything turned off/idle)</p>\n<p><em>If you have multiple structures, you may want to append a query (?structure=1234), or similar method, to be able to identify what structure a callback is originating from.</em></p>\n<h3 id=\"callback-response-example\">Callback Response Example:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"room_id\": 7821, \"heat_cool_mode\": \"COOL\", \"structure_heat_cool_mode\": \"AUTO\", \"occupied\": true, \"set_point\": 16.67, \"temperature\": 22.153938888888888, \"humidity\": 39.5}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","structures","4351"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"76f2f804-6a46-43fc-8bbc-85f4e0a130e8","name":"Structure PATCH","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\"data\":{\"type\":\"structures\",\"attributes\":{\"callback-url\":\"https://your-domain.example/callback\"}}}"},"url":"https://api.flair.co/api/structures/4351"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Apr 2020 21:31:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/20.0.4"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode, user-agent"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"self\": \"/api/structures/4351\"\n    },\n    \"data\": {\n        \"type\": \"structures\",\n        \"relationships\": {\n            \"geofences\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/geofences\",\n                    \"related\": \"/api/structures/4351/geofences\"\n                }\n            },\n            \"thermostats\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/thermostats\",\n                    \"related\": \"/api/structures/4351/thermostats\"\n                }\n            },\n            \"zones\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/zones\",\n                    \"related\": \"/api/structures/4351/zones\"\n                }\n            },\n            \"viewer-users\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/viewer-users\",\n                    \"related\": \"/api/structures/4351/viewer-users\"\n                }\n            },\n            \"admin-users\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/admin-users\",\n                    \"related\": \"/api/structures/4351/admin-users\"\n                }\n            },\n            \"hvac-units\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/hvac-units\",\n                    \"related\": \"/api/structures/4351/hvac-units\"\n                }\n            },\n            \"remote-sensors\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/remote-sensors\",\n                    \"related\": \"/api/structures/4351/remote-sensors\"\n                }\n            },\n            \"current-state\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/current-state\"\n                },\n                \"data\": {\n                    \"type\": \"structure-states\",\n                    \"id\": \"d53c3a13-b9a7-44f6-8140-fbf26b1391c5\"\n                }\n            },\n            \"alerts\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/alerts\"\n                }\n            },\n            \"supported-device-brands\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/supported-device-brands\"\n                }\n            },\n            \"beacon-sightings\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/beacon-sightings\",\n                    \"related\": \"/api/structures/4351/beacon-sightings\"\n                }\n            },\n            \"schedules\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/schedules\",\n                    \"related\": \"/api/structures/4351/schedules\"\n                }\n            },\n            \"releases\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/releases\",\n                    \"related\": \"/api/structures/4351/releases\"\n                }\n            },\n            \"default-zone\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/default-zone\",\n                    \"related\": \"/api/structures/4351/default-zone\"\n                }\n            },\n            \"occupancy-conclusions\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/occupancy-conclusions\"\n                }\n            },\n            \"editor-users\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/editor-users\",\n                    \"related\": \"/api/structures/4351/editor-users\"\n                }\n            },\n            \"integration-structures\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/integration-structures\",\n                    \"related\": \"/api/structures/4351/integration-structures\"\n                }\n            },\n            \"rooms\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/rooms\",\n                    \"related\": \"/api/structures/4351/rooms\"\n                }\n            },\n            \"pucks\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/pucks\",\n                    \"related\": \"/api/structures/4351/pucks\"\n                }\n            },\n            \"current-weather\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/current-weather\"\n                }\n            },\n            \"invitations\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/invitations\",\n                    \"related\": \"/api/structures/4351/invitations\"\n                }\n            },\n            \"weather-readings\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/weather-readings\"\n                }\n            },\n            \"vents\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/vents\",\n                    \"related\": \"/api/structures/4351/vents\"\n                }\n            },\n            \"active-schedule\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/active-schedule\",\n                    \"related\": \"/api/structures/4351/active-schedule\"\n                },\n                \"data\": {\n                    \"type\": \"schedules\",\n                    \"id\": \"e569ca11-643d-499d-8090-c3e4902d1cb9\"\n                }\n            },\n            \"geofence-events\": {\n                \"links\": {\n                    \"self\": \"/api/structures/4351/relationships/geofence-events\",\n                    \"related\": \"/api/structures/4351/geofence-events\"\n                }\n            },\n            \"current-conclusions\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/current-conclusions\"\n                }\n            },\n            \"structure-states\": {\n                \"links\": {\n                    \"related\": \"/api/structures/4351/structure-states\"\n                }\n            }\n        },\n        \"attributes\": {\n            \"callback-url\": \"https://your-domain.example/callback\",\n            \"mode\": \"auto\",\n            \"setup-mode\": false,\n            \"hysteresis-b\": 200,\n            \"hysteresis-heat-cool-mode\": 300,\n            \"structure-heat-cool-mode-popup-resolved-at\": null,\n            \"temp-away-min-c\": 12.2,\n            \"structure-heat-cool-mode\": \"cool\",\n            \"home-away-mode\": \"Manual\",\n            \"name\": \"My Home\",\n            \"puck-client-id\": \"HhodCMXGiM3rPzvkpJ6O8Pcuzb4kLKSMMDfeZF2Z\",\n            \"setup-complete\": true,\n            \"setup-mode-first-time\": true,\n            \"hold-reason\": null,\n            \"longitude\": -122.408842,\n            \"updated-at\": \"2020-04-14T21:31:03.633676+00:00\",\n            \"state-updated-at\": \"2020-04-14T21:31:03.631447+00:00\",\n            \"hold-until-schedule-event\": true,\n            \"set-point-mode\": \"Home Evenness For Active Rooms Flair Setpoint\",\n            \"structure-heat-cool-mode-calculated\": null,\n            \"setup-step\": \"step-five-puck\",\n            \"use-remote-sensor-occupancy\": null,\n            \"preheat-precool\": false,\n            \"frozen-pipe-pet-protect\": true,\n            \"home\": true,\n            \"active-schedule-id\": \"e569ca11-643d-499d-8090-c3e4902d1cb9\",\n            \"location\": \"684 Peralta Ave\",\n            \"puck-client-secret\": \"q2nYKegoHIz0GQvBcRFj6mQMwHRC3nmDOJAJeVXzKaWBCxTaj5oSv5gabp2v\",\n            \"country\": \"US\",\n            \"temperature-scale\": \"F\",\n            \"latitude\": 37.741657,\n            \"created-at\": \"2018-03-09T23:44:02.180249+00:00\",\n            \"hold-until\": null,\n            \"default-hold-duration\": \"Until\",\n            \"release-channel\": \"production\",\n            \"humidity-away-max\": 80,\n            \"structure-away-mode\": \"Off Only\",\n            \"state\": \"CA\",\n            \"reporting-gateway\": true,\n            \"set-point-temperature-c\": 20.56,\n            \"is-active\": false,\n            \"time-zone\": \"America/Los_Angeles\",\n            \"location-type\": \"address\",\n            \"hysteresis-a\": 50,\n            \"structure-type\": null,\n            \"city\": \"San Francisco\",\n            \"licensed-features\": [],\n            \"temp-away-max-c\": 30.9,\n            \"humidity-away-min\": 10,\n            \"zip-code\": \"94110\"\n        },\n        \"id\": \"4351\"\n    }\n}"}],"_postman_id":"b2bc9a20-2ea2-488b-b27a-46d7588b8d4f"}],"id":"822f3953-4149-44e2-9f87-6c02687b41c8","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"27d51a04-4699-46d5-9fd1-6cf7ddef748e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"bf3e9927-6d4c-421a-8946-28aa9df5b668"}}],"_postman_id":"822f3953-4149-44e2-9f87-6c02687b41c8","description":"","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}},{"name":"API Endpoint Reference","item":[{"name":"Users","id":"160e8181-76b1-4241-a390-9868af77adf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/users","description":"<p>The /users endpoint provides user information, such as name, email, and user preferences for Fahrenheit or Celsius.</p>\n","urlObject":{"protocol":"https","path":["api","users"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"d3d607fa-a180-49ed-a190-485b43bb954f","name":"Users","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"2037"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"users\",\n            \"attributes\": {\n                \"name\": \"flairtest0001@flair.co\",\n                \"created-at\": \"2018-02-08T17:46:41.598046+00:00\",\n                \"firmware-emails\": true,\n                \"updated-at\": \"2018-02-10T00:48:40.215445+00:00\",\n                \"betas\": [\n                    \"flair-setpoint\",\n                    \"active-rooms\",\n                    \"honeywell-lyric\",\n                    \"third-party\"\n                ],\n                \"email\": \"flairtest0001@flair.co\",\n                \"default-temperature-preference-c\": 22.5,\n                \"role\": \"user\",\n                \"temperature-scale\": \"F\",\n                \"alert-emails\": true\n            },\n            \"id\": \"1859\",\n            \"relationships\": {\n                \"structures\": {\n                    \"links\": {\n                        \"self\": \"/api/users/1859/relationships/structures\",\n                        \"related\": \"/api/users/1859/structures\"\n                    }\n                },\n                \"default-structure\": {\n                    \"links\": {\n                        \"self\": \"/api/users/1859/relationships/default-structure\",\n                        \"related\": \"/api/users/1859/default-structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"unassigned-pucks\": {\n                    \"links\": {\n                        \"related\": \"/api/users/1859/unassigned-pucks\"\n                    },\n                    \"data\": []\n                },\n                \"received-invitations\": {\n                    \"links\": {\n                        \"self\": \"/api/users/1859/relationships/received-invitations\",\n                        \"related\": \"/api/users/1859/received-invitations\"\n                    }\n                },\n                \"adminable-structures\": {\n                    \"links\": {\n                        \"self\": \"/api/users/1859/relationships/adminable-structures\",\n                        \"related\": \"/api/users/1859/adminable-structures\"\n                    }\n                },\n                \"integrations\": {\n                    \"links\": {\n                        \"self\": \"/api/users/1859/relationships/integrations\",\n                        \"related\": \"/api/users/1859/integrations\"\n                    }\n                },\n                \"viewable-structures\": {\n                    \"links\": {\n                        \"self\": \"/api/users/1859/relationships/viewable-structures\",\n                        \"related\": \"/api/users/1859/viewable-structures\"\n                    }\n                },\n                \"editable-structures\": {\n                    \"links\": {\n                        \"self\": \"/api/users/1859/relationships/editable-structures\",\n                        \"related\": \"/api/users/1859/editable-structures\"\n                    }\n                },\n                \"primary-device\": {\n                    \"links\": {\n                        \"self\": \"/api/users/1859/relationships/primary-device\",\n                        \"related\": \"/api/users/1859/primary-device\"\n                    },\n                    \"data\": null\n                },\n                \"devices\": {\n                    \"links\": {\n                        \"related\": \"/api/users/1859/devices\"\n                    }\n                },\n                \"puck-oauth-apps\": {\n                    \"links\": {\n                        \"related\": \"/api/users/1859/puck-oauth-apps\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"self\": \"/api/users\",\n        \"first\": \"/api/users?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/users?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    }\n}"}],"_postman_id":"160e8181-76b1-4241-a390-9868af77adf0"},{"name":"Structures","id":"3366b193-a4b1-4ee9-81f2-ae1cccb6b471","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/structures","description":"<p>The /structures endpoint shows the user's main home ID, in this case, 4351.  The structure object shows information such as home name, address, temperature preferences, preferred hysteresis bounds, away mode, set point mode.  More importantly, this endpoint provides links to find all of the rooms, Pucks, Vents, thermostats, and minisplits associated with this home.</p>\n<p>For third party applications, the most useful items to note are:</p>\n<ul>\n<li>name: the name of the home</li>\n<li>temperature-scale: whether to use Celsius \"C\" or Fahrenheit \"F\"</li>\n<li>home: user is home (true) or away (false)</li>\n<li>structure-heat-cool-mode: whether home is set to \"heat\" only, \"cool\" only, or \"auto\" for heat and cool</li>\n<li>mode: \"auto\" means vents and minisplits are automatically controlled, \"manual\" means they are manually controlled by user or API</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","structures"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"4e1c8b6c-5b1c-4ff0-a3ba-e58dfca2c060","name":"Structures","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/structures"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"4651"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"structures\",\n            \"attributes\": {\n                \"temp-away-min-c\": 16.6,\n                \"frozen-pipe-pet-protect\": true,\n                \"temp-away-max-c\": 30.35,\n                \"puck-client-secret\": \"q2nYKegoHIz0GQvBcRFj6mQMwHRC3nmDOJAJeVXzKaWBCxTaj5oSv5gabp2v\",\n                \"structure-away-mode\": \"Smart Away\",\n                \"temperature-scale\": \"F\",\n                \"home\": true,\n                \"humidity-away-min\": 10,\n                \"name\": \"My Home\",\n                \"structure-type\": null,\n                \"default-hold-duration\": \"3h\",\n                \"structure-heat-cool-mode\": \"auto\",\n                \"longitude\": -122.442313,\n                \"hysteresis-b\": null,\n                \"zip-code\": \"94110\",\n                \"state\": \"CA\",\n                \"home-away-mode\": \"Manual\",\n                \"puck-client-id\": \"HhodCMXGiM3rPzvkpJ6O8Pcuzb4kLKSMMDfeZF2Z\",\n                \"mode\": \"auto\",\n                \"preheat-precool\": false,\n                \"release-channel\": \"production\",\n                \"latitude\": 37.757662,\n                \"created-at\": \"2018-03-09T23:44:02.180249+00:00\",\n                \"setup-mode-first-time\": true,\n                \"set-point-temperature-c\": 21.12,\n                \"setup-step\": \"step-five-puck\",\n                \"location\": \"123 My Street\",\n                \"hold-reason\": null,\n                \"updated-at\": \"2018-12-17T21:44:14.633595+00:00\",\n                \"setup-complete\": true,\n                \"location-type\": \"address\",\n                \"reporting-gateway\": true,\n                \"hysteresis-a\": 250,\n                \"active-schedule-id\": null,\n                \"setup-mode\": false,\n                \"country\": \"US\",\n                \"city\": \"San Francisco\",\n                \"is-active\": false,\n                \"humidity-away-max\": 80,\n                \"time-zone\": \"America/Los_Angeles\",\n                \"set-point-mode\": \"Home Evenness For Active Rooms Flair Setpoint\"\n            },\n            \"relationships\": {\n                \"geofence-events\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/geofence-events\",\n                        \"related\": \"/api/structures/4351/geofence-events\"\n                    }\n                },\n                \"hvac-units\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/hvac-units\",\n                        \"related\": \"/api/structures/4351/hvac-units\"\n                    }\n                },\n                \"editor-users\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/editor-users\",\n                        \"related\": \"/api/structures/4351/editor-users\"\n                    }\n                },\n                \"alerts\": {\n                    \"links\": {\n                        \"related\": \"/api/structures/4351/alerts\"\n                    }\n                },\n                \"zones\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/zones\",\n                        \"related\": \"/api/structures/4351/zones\"\n                    }\n                },\n                \"current-weather\": {\n                    \"links\": {\n                        \"related\": \"/api/structures/4351/current-weather\"\n                    }\n                },\n                \"structure-states\": {\n                    \"links\": {\n                        \"related\": \"/api/structures/4351/structure-states\"\n                    }\n                },\n                \"thermostats\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/thermostats\",\n                        \"related\": \"/api/structures/4351/thermostats\"\n                    }\n                },\n                \"current-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/structures/4351/current-conclusions\"\n                    }\n                },\n                \"schedules\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/schedules\",\n                        \"related\": \"/api/structures/4351/schedules\"\n                    }\n                },\n                \"geofences\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/geofences\",\n                        \"related\": \"/api/structures/4351/geofences\"\n                    }\n                },\n                \"remote-sensors\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/remote-sensors\",\n                        \"related\": \"/api/structures/4351/remote-sensors\"\n                    }\n                },\n                \"beacon-sightings\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/beacon-sightings\",\n                        \"related\": \"/api/structures/4351/beacon-sightings\"\n                    }\n                },\n                \"vents\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/vents\",\n                        \"related\": \"/api/structures/4351/vents\"\n                    }\n                },\n                \"default-zone\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/default-zone\",\n                        \"related\": \"/api/structures/4351/default-zone\"\n                    }\n                },\n                \"weather-readings\": {\n                    \"links\": {\n                        \"related\": \"/api/structures/4351/weather-readings\"\n                    }\n                },\n                \"supported-device-brands\": {\n                    \"links\": {\n                        \"related\": \"/api/structures/4351/supported-device-brands\"\n                    }\n                },\n                \"invitations\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/invitations\",\n                        \"related\": \"/api/structures/4351/invitations\"\n                    }\n                },\n                \"viewer-users\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/viewer-users\",\n                        \"related\": \"/api/structures/4351/viewer-users\"\n                    }\n                },\n                \"active-schedule\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/active-schedule\",\n                        \"related\": \"/api/structures/4351/active-schedule\"\n                    },\n                    \"data\": null\n                },\n                \"admin-users\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/admin-users\",\n                        \"related\": \"/api/structures/4351/admin-users\"\n                    }\n                },\n                \"releases\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/releases\",\n                        \"related\": \"/api/structures/4351/releases\"\n                    }\n                },\n                \"occupancy-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/structures/4351/occupancy-conclusions\"\n                    }\n                },\n                \"integration-structures\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/integration-structures\",\n                        \"related\": \"/api/structures/4351/integration-structures\"\n                    }\n                },\n                \"pucks\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/pucks\",\n                        \"related\": \"/api/structures/4351/pucks\"\n                    }\n                },\n                \"rooms\": {\n                    \"links\": {\n                        \"self\": \"/api/structures/4351/relationships/rooms\",\n                        \"related\": \"/api/structures/4351/rooms\"\n                    }\n                }\n            },\n            \"id\": \"4351\"\n        }\n    ],\n    \"meta\": {\n        \"self\": \"/api/structures\",\n        \"first\": \"/api/structures?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/structures?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    }\n}"}],"_postman_id":"3366b193-a4b1-4ee9-81f2-ae1cccb6b471"},{"name":"Rooms","id":"28ddff61-5e2b-409b-8b79-76d5948a2b5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/rooms","description":"<p>This endpoint lists out all the rooms associated with a home.  The main parameters are:</p>\n<ul>\n<li>name: name of the room</li>\n<li>set-point-c: what the room is set to, in Celsius</li>\n<li>active: some users set rooms to \"false\", or inactive, and in Auto mode, Flair will turn off the minisplit in that room, or close the vent in that room, this room is now ignored</li>\n<li>current-temperature-c: current temperature in the room, in Celsius, this is a 5 minute moving average that takes into accounts all temperature sensors in a room, including Pucks, thermostats, and ecobee room sensors.  Vents are not included in this calculation because their temnperatures are skewed due to the hot or cold air.</li>\n<li>current-humidity: humidity in the room, in %RH</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","rooms"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"a0eecfc0-ea0d-4f30-86f0-de53e0974170","name":"Rooms","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"},{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.flair.co/api/rooms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"7259"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"rooms\",\n            \"attributes\": {\n                \"preheat-precool\": true,\n                \"frozen-pipe-pet-protect\": true,\n                \"current-humidity\": 60,\n                \"current-temperature-c\": 20,\n                \"updated-at\": \"2018-12-17T22:15:41.759562+00:00\",\n                \"pucks-inactive\": \"Active\",\n                \"set-point-manual\": false,\n                \"humidity-away-max\": 80,\n                \"hold-reason\": null,\n                \"occupancy-mode\": \"Flair Auto\",\n                \"temp-away-max-c\": 22.5,\n                \"name\": \"Upstairs\",\n                \"windows\": null,\n                \"room-away-mode\": \"Smart Away\",\n                \"created-at\": \"2018-12-17T21:42:49.311698+00:00\",\n                \"air-return\": false,\n                \"set-point-c\": 21.12,\n                \"hold-until\": null,\n                \"humidity-away-min\": 10,\n                \"level\": null,\n                \"temp-away-min-c\": 16,\n                \"room-type\": null,\n                \"active\": true\n            },\n            \"relationships\": {\n                \"remote-sensors\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8844/relationships/remote-sensors\",\n                        \"related\": \"/api/rooms/8844/remote-sensors\"\n                    },\n                    \"data\": [\n                        {\n                            \"type\": \"remote-sensors\",\n                            \"id\": \"f64015e7-fb62-4e26-9cde-68ce8d61c83d\"\n                        }\n                    ]\n                },\n                \"pucks\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8844/relationships/pucks\",\n                        \"related\": \"/api/rooms/8844/pucks\"\n                    },\n                    \"data\": []\n                },\n                \"zones\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8844/relationships/zones\",\n                        \"related\": \"/api/rooms/8844/zones\"\n                    },\n                    \"data\": [\n                        {\n                            \"type\": \"zones\",\n                            \"id\": \"35941\"\n                        }\n                    ]\n                },\n                \"hvac-units\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8844/relationships/hvac-units\",\n                        \"related\": \"/api/rooms/8844/hvac-units\"\n                    },\n                    \"data\": []\n                },\n                \"current-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8844/current-conclusions\"\n                    }\n                },\n                \"occupants\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8844/relationships/occupants\",\n                        \"related\": \"/api/rooms/8844/occupants\"\n                    }\n                },\n                \"occupancy-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8844/occupancy-conclusions\"\n                    }\n                },\n                \"puck-apps\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8844/relationships/puck-apps\",\n                        \"related\": \"/api/rooms/8844/puck-apps\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8844/relationships/structure\",\n                        \"related\": \"/api/rooms/8844/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"thermostat\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8844/relationships/thermostat\",\n                        \"related\": \"/api/rooms/8844/thermostat\"\n                    },\n                    \"data\": {\n                        \"type\": \"thermostats\",\n                        \"id\": \"1c118d41-ea4d-406a-87c6-990cc0478bf5\"\n                    }\n                },\n                \"room-states\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8844/room-states\"\n                    }\n                },\n                \"room-auto-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8844/room-auto-conclusions\"\n                    }\n                },\n                \"vents\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8844/relationships/vents\",\n                        \"related\": \"/api/rooms/8844/vents\"\n                    },\n                    \"data\": []\n                }\n            },\n            \"id\": \"8844\"\n        },\n        {\n            \"type\": \"rooms\",\n            \"attributes\": {\n                \"preheat-precool\": true,\n                \"frozen-pipe-pet-protect\": true,\n                \"current-humidity\": 61,\n                \"current-temperature-c\": 21.8016666666667,\n                \"updated-at\": \"2018-12-17T22:15:41.928474+00:00\",\n                \"pucks-inactive\": \"Active\",\n                \"set-point-manual\": false,\n                \"humidity-away-max\": 80,\n                \"hold-reason\": null,\n                \"occupancy-mode\": \"Flair Auto\",\n                \"temp-away-max-c\": 22.5,\n                \"name\": \"Office\",\n                \"windows\": null,\n                \"room-away-mode\": \"Smart Away\",\n                \"created-at\": \"2018-12-06T20:28:39.423058+00:00\",\n                \"air-return\": false,\n                \"set-point-c\": 21.12,\n                \"hold-until\": null,\n                \"humidity-away-min\": 10,\n                \"level\": null,\n                \"temp-away-min-c\": 16,\n                \"room-type\": null,\n                \"active\": true\n            },\n            \"relationships\": {\n                \"remote-sensors\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8704/relationships/remote-sensors\",\n                        \"related\": \"/api/rooms/8704/remote-sensors\"\n                    },\n                    \"data\": []\n                },\n                \"pucks\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8704/relationships/pucks\",\n                        \"related\": \"/api/rooms/8704/pucks\"\n                    },\n                    \"data\": [\n                        {\n                            \"type\": \"pucks\",\n                            \"id\": \"3b186a59-5ec9-53e8-e662-29daf69dd897\"\n                        }\n                    ]\n                },\n                \"zones\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8704/relationships/zones\",\n                        \"related\": \"/api/rooms/8704/zones\"\n                    },\n                    \"data\": [\n                        {\n                            \"type\": \"zones\",\n                            \"id\": \"35941\"\n                        }\n                    ]\n                },\n                \"hvac-units\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8704/relationships/hvac-units\",\n                        \"related\": \"/api/rooms/8704/hvac-units\"\n                    },\n                    \"data\": []\n                },\n                \"current-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8704/current-conclusions\"\n                    }\n                },\n                \"occupants\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8704/relationships/occupants\",\n                        \"related\": \"/api/rooms/8704/occupants\"\n                    }\n                },\n                \"occupancy-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8704/occupancy-conclusions\"\n                    }\n                },\n                \"puck-apps\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8704/relationships/puck-apps\",\n                        \"related\": \"/api/rooms/8704/puck-apps\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8704/relationships/structure\",\n                        \"related\": \"/api/rooms/8704/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"thermostat\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8704/relationships/thermostat\",\n                        \"related\": \"/api/rooms/8704/thermostat\"\n                    },\n                    \"data\": {\n                        \"type\": \"thermostats\",\n                        \"id\": null\n                    }\n                },\n                \"room-states\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8704/room-states\"\n                    }\n                },\n                \"room-auto-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8704/room-auto-conclusions\"\n                    }\n                },\n                \"vents\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8704/relationships/vents\",\n                        \"related\": \"/api/rooms/8704/vents\"\n                    },\n                    \"data\": [\n                        {\n                            \"type\": \"vents\",\n                            \"id\": \"13c44351-5883-5cbe-52cf-da0c1a1505f7\"\n                        }\n                    ]\n                }\n            },\n            \"id\": \"8704\"\n        },\n        {\n            \"type\": \"rooms\",\n            \"attributes\": {\n                \"preheat-precool\": true,\n                \"frozen-pipe-pet-protect\": true,\n                \"current-humidity\": 61,\n                \"current-temperature-c\": 20.4808333333333,\n                \"updated-at\": \"2018-12-17T22:15:42.271387+00:00\",\n                \"pucks-inactive\": \"Active\",\n                \"set-point-manual\": false,\n                \"humidity-away-max\": 80,\n                \"hold-reason\": null,\n                \"occupancy-mode\": \"Flair Auto\",\n                \"temp-away-max-c\": 22.5,\n                \"name\": \"Bedroom\",\n                \"windows\": null,\n                \"room-away-mode\": \"Smart Away\",\n                \"created-at\": \"2018-11-09T18:47:10.089676+00:00\",\n                \"air-return\": false,\n                \"set-point-c\": 21.12,\n                \"hold-until\": null,\n                \"humidity-away-min\": 10,\n                \"level\": null,\n                \"temp-away-min-c\": 16,\n                \"room-type\": null,\n                \"active\": true\n            },\n            \"relationships\": {\n                \"remote-sensors\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8310/relationships/remote-sensors\",\n                        \"related\": \"/api/rooms/8310/remote-sensors\"\n                    },\n                    \"data\": []\n                },\n                \"pucks\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8310/relationships/pucks\",\n                        \"related\": \"/api/rooms/8310/pucks\"\n                    },\n                    \"data\": [\n                        {\n                            \"type\": \"pucks\",\n                            \"id\": \"46eb5eef-7324-5748-2384-3f9ff8996373\"\n                        }\n                    ]\n                },\n                \"zones\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8310/relationships/zones\",\n                        \"related\": \"/api/rooms/8310/zones\"\n                    },\n                    \"data\": [\n                        {\n                            \"type\": \"zones\",\n                            \"id\": \"35940\"\n                        }\n                    ]\n                },\n                \"hvac-units\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8310/relationships/hvac-units\",\n                        \"related\": \"/api/rooms/8310/hvac-units\"\n                    },\n                    \"data\": [\n                        {\n                            \"type\": \"hvac-units\",\n                            \"id\": \"3b369fae-cc16-452c-80d8-4525e89efa42\"\n                        }\n                    ]\n                },\n                \"current-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8310/current-conclusions\"\n                    }\n                },\n                \"occupants\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8310/relationships/occupants\",\n                        \"related\": \"/api/rooms/8310/occupants\"\n                    }\n                },\n                \"occupancy-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8310/occupancy-conclusions\"\n                    }\n                },\n                \"puck-apps\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8310/relationships/puck-apps\",\n                        \"related\": \"/api/rooms/8310/puck-apps\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8310/relationships/structure\",\n                        \"related\": \"/api/rooms/8310/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"thermostat\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8310/relationships/thermostat\",\n                        \"related\": \"/api/rooms/8310/thermostat\"\n                    },\n                    \"data\": {\n                        \"type\": \"thermostats\",\n                        \"id\": null\n                    }\n                },\n                \"room-states\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8310/room-states\"\n                    }\n                },\n                \"room-auto-conclusions\": {\n                    \"links\": {\n                        \"related\": \"/api/rooms/8310/room-auto-conclusions\"\n                    }\n                },\n                \"vents\": {\n                    \"links\": {\n                        \"self\": \"/api/rooms/8310/relationships/vents\",\n                        \"related\": \"/api/rooms/8310/vents\"\n                    },\n                    \"data\": []\n                }\n            },\n            \"id\": \"8310\"\n        }\n    ],\n    \"meta\": {\n        \"self\": \"/api/rooms\",\n        \"first\": \"/api/rooms?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/rooms?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    }\n}"}],"_postman_id":"28ddff61-5e2b-409b-8b79-76d5948a2b5e"},{"name":"Adjust Room Set Point","id":"82c81f39-f270-4eb2-a48f-2c6170c63933","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"rooms\",\n        \"attributes\": {\n            \"set-point-c\": 24.00,\n            \"hold-until\": \"2018-12-17T23:42:49.311698+00:00\"\n        },\n        \"relationships\": {}\n    }\n}"},"url":"https://api.flair.co/api/rooms/8310","description":"<p>You can use the API to adjust a room set point by setting set-point-c to a Celsius value. The link to use should be api/rooms/[ROOM_ID]. See the attached example on how to structure the JSON body.  There is also a hold-until parameter to designate how long the hold should last for.</p>\n<p>IMPORTANT: Please make sure structure mode is set to \"auto\".  In \"auto\" mode, Flair will adjust Vents or minisplits to match the room set point.  If not in \"auto\" mode, there will be no further action.</p>\n","urlObject":{"protocol":"https","path":["api","rooms","8310"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"ce9c60d4-09d2-4825-a043-2d78ba078512","name":"Adjust Room Set Point","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"rooms\",\n        \"attributes\": {\n            \"set-point-c\": 24.00,\n            \"hold-unitl\": \"2018-12-17T23:42:49.311698+00:00\"\n        },\n        \"relationships\": {}\n    }\n}"},"url":"https://api.flair.co/api/rooms/8310"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"2455"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"rooms\",\n        \"attributes\": {\n            \"preheat-precool\": true,\n            \"frozen-pipe-pet-protect\": true,\n            \"current-humidity\": 61,\n            \"current-temperature-c\": 20.1266666666667,\n            \"updated-at\": \"2018-12-17T23:18:03.680571+00:00\",\n            \"pucks-inactive\": \"Active\",\n            \"set-point-manual\": true,\n            \"humidity-away-max\": 80,\n            \"hold-reason\": \"ApiSetPointC\",\n            \"occupancy-mode\": \"Flair Auto\",\n            \"temp-away-max-c\": 22.5,\n            \"name\": \"Bedroom\",\n            \"windows\": null,\n            \"room-away-mode\": \"Smart Away\",\n            \"created-at\": \"2018-11-09T18:47:10.089676+00:00\",\n            \"air-return\": false,\n            \"set-point-c\": 24,\n            \"hold-until\": \"2018-12-18T02:18:02.724772+00:00\",\n            \"humidity-away-min\": 10,\n            \"level\": null,\n            \"temp-away-min-c\": 16,\n            \"room-type\": null,\n            \"active\": true\n        },\n        \"relationships\": {\n            \"remote-sensors\": {\n                \"links\": {\n                    \"self\": \"/api/rooms/8310/relationships/remote-sensors\",\n                    \"related\": \"/api/rooms/8310/remote-sensors\"\n                },\n                \"data\": []\n            },\n            \"pucks\": {\n                \"links\": {\n                    \"self\": \"/api/rooms/8310/relationships/pucks\",\n                    \"related\": \"/api/rooms/8310/pucks\"\n                },\n                \"data\": [\n                    {\n                        \"type\": \"pucks\",\n                        \"id\": \"46eb5eef-7324-5748-2384-3f9ff8996373\"\n                    }\n                ]\n            },\n            \"zones\": {\n                \"links\": {\n                    \"self\": \"/api/rooms/8310/relationships/zones\",\n                    \"related\": \"/api/rooms/8310/zones\"\n                },\n                \"data\": [\n                    {\n                        \"type\": \"zones\",\n                        \"id\": \"35940\"\n                    }\n                ]\n            },\n            \"hvac-units\": {\n                \"links\": {\n                    \"self\": \"/api/rooms/8310/relationships/hvac-units\",\n                    \"related\": \"/api/rooms/8310/hvac-units\"\n                },\n                \"data\": [\n                    {\n                        \"type\": \"hvac-units\",\n                        \"id\": \"3b369fae-cc16-452c-80d8-4525e89efa42\"\n                    }\n                ]\n            },\n            \"current-conclusions\": {\n                \"links\": {\n                    \"related\": \"/api/rooms/8310/current-conclusions\"\n                }\n            },\n            \"occupants\": {\n                \"links\": {\n                    \"self\": \"/api/rooms/8310/relationships/occupants\",\n                    \"related\": \"/api/rooms/8310/occupants\"\n                }\n            },\n            \"occupancy-conclusions\": {\n                \"links\": {\n                    \"related\": \"/api/rooms/8310/occupancy-conclusions\"\n                }\n            },\n            \"puck-apps\": {\n                \"links\": {\n                    \"self\": \"/api/rooms/8310/relationships/puck-apps\",\n                    \"related\": \"/api/rooms/8310/puck-apps\"\n                }\n            },\n            \"structure\": {\n                \"links\": {\n                    \"self\": \"/api/rooms/8310/relationships/structure\",\n                    \"related\": \"/api/rooms/8310/structure\"\n                },\n                \"data\": {\n                    \"type\": \"structures\",\n                    \"id\": \"4351\"\n                }\n            },\n            \"thermostat\": {\n                \"links\": {\n                    \"self\": \"/api/rooms/8310/relationships/thermostat\",\n                    \"related\": \"/api/rooms/8310/thermostat\"\n                },\n                \"data\": {\n                    \"type\": \"thermostats\",\n                    \"id\": null\n                }\n            },\n            \"room-states\": {\n                \"links\": {\n                    \"related\": \"/api/rooms/8310/room-states\"\n                }\n            },\n            \"room-auto-conclusions\": {\n                \"links\": {\n                    \"related\": \"/api/rooms/8310/room-auto-conclusions\"\n                }\n            },\n            \"vents\": {\n                \"links\": {\n                    \"self\": \"/api/rooms/8310/relationships/vents\",\n                    \"related\": \"/api/rooms/8310/vents\"\n                },\n                \"data\": []\n            }\n        },\n        \"id\": \"8310\"\n    },\n    \"meta\": {\n        \"self\": \"/api/rooms/8310\"\n    }\n}"}],"_postman_id":"82c81f39-f270-4eb2-a48f-2c6170c63933"},{"name":"Pucks","id":"95f3da1f-99f0-4bce-a8e5-0031ebab4fa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/pucks","description":"<p>The Puck endpoint lists all the Flair Pucks associated with the home.  Useful parameters are:</p>\n<ul>\n<li>name: the user assigned name of the Puck</li>\n<li>puck-display-color: this is the color of the background of the Puck, usually \"black\" refers to a black Puck, and \"white\" refers to a white Puck, although the user may have changed the display color</li>\n<li>is-gateway: this is \"true\" if this Puck is plugged in, and is a WiFi gateway for the Flair system</li>\n<li>current-temperature-c: this is the instantaneous temperature of the Puck</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","pucks"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"c8e0791d-9fdd-45ce-94ff-a4818ce0d37f","name":"Pucks","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/pucks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"4089"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"pucks\",\n            \"attributes\": {\n                \"puck-display-color\": \"white\",\n                \"name\": \"Bedroom Puck\",\n                \"bluetooth-tx-power-mw\": 500,\n                \"sub-ghz-radio-tx-power-mw\": null,\n                \"beacon-interval-ms\": 4095,\n                \"ir-download\": false,\n                \"created-at\": \"2018-12-06T20:21:56.607171+00:00\",\n                \"is-gateway\": true,\n                \"drop-rate\": 1.02708333333333,\n                \"current-humidity\": 61,\n                \"temperature-offset-override-c\": null,\n                \"orientation\": \"standing\",\n                \"temperature-offset-c\": null,\n                \"updated-at\": \"2018-12-17T21:57:25.423970+00:00\",\n                \"current-rssi\": 0,\n                \"current-temperature-c\": 20.4766666666667,\n                \"ir-setup-enabled\": null,\n                \"demo-mode\": 0,\n                \"humidity-offset\": null,\n                \"display-number\": \"46eb\",\n                \"reporting-interval-ds\": 255,\n                \"inactive\": false,\n                \"oauth-app-assigned-at\": null\n            },\n            \"id\": \"46eb5eef-7324-5748-2384-3f9ff8996373\",\n            \"relationships\": {\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/relationships/room\",\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/room\"\n                    },\n                    \"data\": {\n                        \"type\": \"rooms\",\n                        \"id\": \"8310\"\n                    }\n                },\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/current-state\"\n                    }\n                },\n                \"closest-vents\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/closest-vents\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/relationships/structure\",\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"hardware-version\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/hardware-version\"\n                    },\n                    \"data\": {\n                        \"type\": \"hardware-versions\",\n                        \"id\": \"ac5e0121-3917-44f2-a66b-6888961495ef\"\n                    }\n                },\n                \"puck-states\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/puck-states\"\n                    }\n                },\n                \"sensor-readings\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/sensor-readings\"\n                    }\n                },\n                \"beacon-sightings\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/beacon-sightings\"\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"pucks\",\n            \"attributes\": {\n                \"puck-display-color\": \"white\",\n                \"name\": \"Office Puck\",\n                \"bluetooth-tx-power-mw\": 500,\n                \"sub-ghz-radio-tx-power-mw\": null,\n                \"beacon-interval-ms\": 4095,\n                \"ir-download\": false,\n                \"created-at\": \"2017-08-03T23:01:07.781904+00:00\",\n                \"is-gateway\": false,\n                \"drop-rate\": 1.02,\n                \"current-humidity\": 61,\n                \"temperature-offset-override-c\": null,\n                \"orientation\": \"standing\",\n                \"temperature-offset-c\": null,\n                \"updated-at\": \"2018-12-17T21:44:14.851239+00:00\",\n                \"current-rssi\": -20,\n                \"current-temperature-c\": 21.805,\n                \"ir-setup-enabled\": null,\n                \"demo-mode\": 0,\n                \"humidity-offset\": null,\n                \"display-number\": \"3b18\",\n                \"reporting-interval-ds\": 255,\n                \"inactive\": false,\n                \"oauth-app-assigned-at\": \"2017-08-03T23:01:07.757427+00:00\"\n            },\n            \"id\": \"3b186a59-5ec9-53e8-e662-29daf69dd897\",\n            \"relationships\": {\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/relationships/room\",\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/room\"\n                    },\n                    \"data\": {\n                        \"type\": \"rooms\",\n                        \"id\": \"8704\"\n                    }\n                },\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/current-state\"\n                    }\n                },\n                \"closest-vents\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/closest-vents\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/relationships/structure\",\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"hardware-version\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/hardware-version\"\n                    },\n                    \"data\": {\n                        \"type\": \"hardware-versions\",\n                        \"id\": \"ac5e0121-3917-44f2-a66b-6888961495ef\"\n                    }\n                },\n                \"puck-states\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/puck-states\"\n                    }\n                },\n                \"sensor-readings\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/sensor-readings\"\n                    }\n                },\n                \"beacon-sightings\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/beacon-sightings\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"self\": \"/api/pucks\",\n        \"first\": \"/api/pucks?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/pucks?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    }\n}"}],"_postman_id":"95f3da1f-99f0-4bce-a8e5-0031ebab4fa8"},{"name":"Puck Current Reading","id":"ae64c44f-188d-4169-8004-0e2fce8c182e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/pucks/cadb1a39-59e0-5f39-9ae8-44aafcfa18f2/current-reading","description":"<p>The Puck endpoint will have a link to the Puck current-reading endpoint.  Here you will find the latest set of sensor readings for this device, with additional information such as:</p>\n<ul>\n<li>created_at: date and time of this reading, in GMT</li>\n<li>room-temperature-c: the temperature read by this Puck, in Celsius</li>\n<li>room-pressure: the pressure read by this Puck, in kPA</li>\n<li>humidity: the humidity read by this Puck, in %RH</li>\n<li>system-voltage: if a Puck is battery powered, this will display the battery voltage in V</li>\n<li>rssi: the 915MHz radio signal strength</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","pucks","cadb1a39-59e0-5f39-9ae8-44aafcfa18f2","current-reading"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"6bd57a02-6e61-4a5c-b46f-d8a3ae501f9f","name":"Pucks","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/pucks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"4089"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"pucks\",\n            \"attributes\": {\n                \"puck-display-color\": \"white\",\n                \"name\": \"Bedroom Puck\",\n                \"bluetooth-tx-power-mw\": 500,\n                \"sub-ghz-radio-tx-power-mw\": null,\n                \"beacon-interval-ms\": 4095,\n                \"ir-download\": false,\n                \"created-at\": \"2018-12-06T20:21:56.607171+00:00\",\n                \"is-gateway\": true,\n                \"drop-rate\": 1.02708333333333,\n                \"current-humidity\": 61,\n                \"temperature-offset-override-c\": null,\n                \"orientation\": \"standing\",\n                \"temperature-offset-c\": null,\n                \"updated-at\": \"2018-12-17T21:57:25.423970+00:00\",\n                \"current-rssi\": 0,\n                \"current-temperature-c\": 20.4766666666667,\n                \"ir-setup-enabled\": null,\n                \"demo-mode\": 0,\n                \"humidity-offset\": null,\n                \"display-number\": \"46eb\",\n                \"reporting-interval-ds\": 255,\n                \"inactive\": false,\n                \"oauth-app-assigned-at\": null\n            },\n            \"id\": \"46eb5eef-7324-5748-2384-3f9ff8996373\",\n            \"relationships\": {\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/relationships/room\",\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/room\"\n                    },\n                    \"data\": {\n                        \"type\": \"rooms\",\n                        \"id\": \"8310\"\n                    }\n                },\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/current-state\"\n                    }\n                },\n                \"closest-vents\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/closest-vents\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/relationships/structure\",\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"hardware-version\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/hardware-version\"\n                    },\n                    \"data\": {\n                        \"type\": \"hardware-versions\",\n                        \"id\": \"ac5e0121-3917-44f2-a66b-6888961495ef\"\n                    }\n                },\n                \"puck-states\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/puck-states\"\n                    }\n                },\n                \"sensor-readings\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/sensor-readings\"\n                    }\n                },\n                \"beacon-sightings\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/46eb5eef-7324-5748-2384-3f9ff8996373/beacon-sightings\"\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"pucks\",\n            \"attributes\": {\n                \"puck-display-color\": \"white\",\n                \"name\": \"Office Puck\",\n                \"bluetooth-tx-power-mw\": 500,\n                \"sub-ghz-radio-tx-power-mw\": null,\n                \"beacon-interval-ms\": 4095,\n                \"ir-download\": false,\n                \"created-at\": \"2017-08-03T23:01:07.781904+00:00\",\n                \"is-gateway\": false,\n                \"drop-rate\": 1.02,\n                \"current-humidity\": 61,\n                \"temperature-offset-override-c\": null,\n                \"orientation\": \"standing\",\n                \"temperature-offset-c\": null,\n                \"updated-at\": \"2018-12-17T21:44:14.851239+00:00\",\n                \"current-rssi\": -20,\n                \"current-temperature-c\": 21.805,\n                \"ir-setup-enabled\": null,\n                \"demo-mode\": 0,\n                \"humidity-offset\": null,\n                \"display-number\": \"3b18\",\n                \"reporting-interval-ds\": 255,\n                \"inactive\": false,\n                \"oauth-app-assigned-at\": \"2017-08-03T23:01:07.757427+00:00\"\n            },\n            \"id\": \"3b186a59-5ec9-53e8-e662-29daf69dd897\",\n            \"relationships\": {\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/relationships/room\",\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/room\"\n                    },\n                    \"data\": {\n                        \"type\": \"rooms\",\n                        \"id\": \"8704\"\n                    }\n                },\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/current-state\"\n                    }\n                },\n                \"closest-vents\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/closest-vents\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/relationships/structure\",\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"hardware-version\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/hardware-version\"\n                    },\n                    \"data\": {\n                        \"type\": \"hardware-versions\",\n                        \"id\": \"ac5e0121-3917-44f2-a66b-6888961495ef\"\n                    }\n                },\n                \"puck-states\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/puck-states\"\n                    }\n                },\n                \"sensor-readings\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/sensor-readings\"\n                    }\n                },\n                \"beacon-sightings\": {\n                    \"links\": {\n                        \"related\": \"/api/pucks/3b186a59-5ec9-53e8-e662-29daf69dd897/beacon-sightings\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"self\": \"/api/pucks\",\n        \"first\": \"/api/pucks?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/pucks?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    }\n}"},{"id":"1a0f105c-a483-42fb-96d5-241f248edf35","name":"Puck Current Reading","originalRequest":{"method":"GET","header":[],"url":"https://api.flair.co/api/pucks/cadb1a39-59e0-5f39-9ae8-44aafcfa18f2/current-reading"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Oct 2019 16:30:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"self\": \"/api/pucks/cadb1a39-59e0-5f39-9ae8-44aafcfa18f2/current-reading\"\n    },\n    \"data\": {\n        \"type\": \"sensor-readings\",\n        \"attributes\": {\n            \"firmware-version-w\": 116,\n            \"rssi\": -65,\n            \"button-pushes\": 0,\n            \"die-temperature\": 4108,\n            \"is-gateway\": true,\n            \"system-voltage\": 3.4,\n            \"desired-temperature-c\": 18.33,\n            \"room-pressure\": 101.56175,\n            \"firmware-version-b\": 0,\n            \"humidity\": 46,\n            \"room-temperature-c\": 25.99,\n            \"current-offset\": -500,\n            \"message-version\": 0,\n            \"rotary-encoded-clicks\": 0,\n            \"firmware-version-s\": 132,\n            \"created-at\": \"2019-10-01T21:01:06.581746+00:00\",\n            \"light\": 599,\n            \"temperature\": 3099\n        },\n        \"relationships\": {\n            \"puck\": {\n                \"links\": {\n                    \"related\": \"/api/sensor-readings/941d6f2f-7186-41d0-8876-5d90187d3cfd/puck\"\n                },\n                \"data\": {\n                    \"type\": \"pucks\",\n                    \"id\": \"cadb1a39-59e0-5f39-9ae8-44aafcfa18f2\"\n                }\n            }\n        },\n        \"id\": \"941d6f2f-7186-41d0-8876-5d90187d3cfd\"\n    }\n}"}],"_postman_id":"ae64c44f-188d-4169-8004-0e2fce8c182e"},{"name":"Vents","id":"cba2e861-f4b4-416f-a887-eea07c8f4223","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/vents","description":"<p>The vents endpoint lists all associated Vents in the home.  The most useful parameters are:</p>\n<ul>\n<li>name: user assigned name of the Vent</li>\n<li>percent-open: 0 for closed, 100 for open</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","vents"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"5b3f7d40-6514-469e-9577-4ad02866d0ee","name":"Vents","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/vents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"1326"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"vents\",\n            \"relationships\": {\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/current-state\"\n                    }\n                },\n                \"closest-puck\": {\n                    \"links\": {\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/closest-pucks\"\n                    }\n                },\n                \"vent-states\": {\n                    \"links\": {\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/vent-states\"\n                    }\n                },\n                \"sensor-readings\": {\n                    \"links\": {\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/sensor-readings\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/relationships/structure\",\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/relationships/room\",\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/room\"\n                    },\n                    \"data\": {\n                        \"type\": \"rooms\",\n                        \"id\": \"8704\"\n                    }\n                }\n            },\n            \"attributes\": {\n                \"percent-open\": 0,\n                \"setup-lightstrip\": 1,\n                \"created-at\": \"2017-08-03T01:06:38.367916+00:00\",\n                \"name\": \"Office Vent\",\n                \"updated-at\": \"2018-12-17T21:44:16.360362+00:00\",\n                \"inactive\": false\n            },\n            \"id\": \"13c44351-5883-5cbe-52cf-da0c1a1505f7\"\n        }\n    ],\n    \"meta\": {\n        \"self\": \"/api/vents\",\n        \"first\": \"/api/vents?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/vents?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    }\n}"}],"_postman_id":"cba2e861-f4b4-416f-a887-eea07c8f4223"},{"name":"Vent Current Reading","id":"d694a628-61c5-44c6-a938-9ee6f0828e57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/vents/53d69ae0-59d4-5de0-4a86-4d468cacda63/current-reading","description":"<p>The Vent endpoint will have a link to the Vent current-reading endpoint. Here you will find the latest set of sensor readings for this device, with information such as:</p>\n<ul>\n<li>created_at: date and time of this reading, in GMT</li>\n<li>duct-temperature-c: the temperature read by this Vent, in Celsius</li>\n<li>duct-pressure: the pressure read by this Vent, in kPA</li>\n<li>percent-open: the status of this Vent (100 refers to 100% open, 0 refers to closed)</li>\n<li>system-voltage: the battery voltage, in V</li>\n<li>rssi: the 915MHz radio signal strength</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","vents","53d69ae0-59d4-5de0-4a86-4d468cacda63","current-reading"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"2882d492-2fbf-4572-a821-14e5a68f4254","name":"Vents","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/vents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"1326"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"vents\",\n            \"relationships\": {\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/current-state\"\n                    }\n                },\n                \"closest-puck\": {\n                    \"links\": {\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/closest-pucks\"\n                    }\n                },\n                \"vent-states\": {\n                    \"links\": {\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/vent-states\"\n                    }\n                },\n                \"sensor-readings\": {\n                    \"links\": {\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/sensor-readings\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/relationships/structure\",\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/relationships/room\",\n                        \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/room\"\n                    },\n                    \"data\": {\n                        \"type\": \"rooms\",\n                        \"id\": \"8704\"\n                    }\n                }\n            },\n            \"attributes\": {\n                \"percent-open\": 0,\n                \"setup-lightstrip\": 1,\n                \"created-at\": \"2017-08-03T01:06:38.367916+00:00\",\n                \"name\": \"Office Vent\",\n                \"updated-at\": \"2018-12-17T21:44:16.360362+00:00\",\n                \"inactive\": false\n            },\n            \"id\": \"13c44351-5883-5cbe-52cf-da0c1a1505f7\"\n        }\n    ],\n    \"meta\": {\n        \"self\": \"/api/vents\",\n        \"first\": \"/api/vents?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/vents?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    }\n}"},{"id":"e31cf119-2106-4f3a-a6d4-46626dc60b55","name":"Vent Current Reading","originalRequest":{"method":"GET","header":[],"url":"https://api.flair.co/api/vents/53d69ae0-59d4-5de0-4a86-4d468cacda63/current-reading"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Oct 2019 16:36:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"self\": \"/api/vents/53d69ae0-59d4-5de0-4a86-4d468cacda63/current-reading\"\n    },\n    \"data\": {\n        \"type\": \"vent-sensor-readings\",\n        \"attributes\": {\n            \"lights\": null,\n            \"system-voltage\": 3.02,\n            \"rssi\": -81,\n            \"duct-pressure\": 101.2985,\n            \"created-at\": \"2019-09-26T23:31:18.133106+00:00\",\n            \"duct-temperature-c\": 26.08,\n            \"percent-open\": 100,\n            \"firmware-version-s\": 119,\n            \"motor-run-time\": 1000\n        },\n        \"relationships\": {\n            \"vent\": {\n                \"links\": {\n                    \"related\": \"/api/vent-sensor-readings/ae29aa57-3ffc-4141-a5d2-82a4550d5e65/vent\"\n                },\n                \"data\": {\n                    \"type\": \"vents\",\n                    \"id\": \"53d69ae0-59d4-5de0-4a86-4d468cacda63\"\n                }\n            }\n        },\n        \"id\": \"ae29aa57-3ffc-4141-a5d2-82a4550d5e65\"\n    }\n}"}],"_postman_id":"d694a628-61c5-44c6-a938-9ee6f0828e57"},{"name":"Open or Close a Vent","id":"5efedb8c-21b2-47ac-a9fb-6ffa469badfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"vents\",\n        \"attributes\": {\n            \"percent-open\": 100\n        },\n        \"relationships\": {}\n    }\n}"},"url":"https://api.flair.co/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7","description":"<p>You can use the API to open and close a vent by setting percent-open to 100 or 0, respectively.  The link to use should be api/vents/[VENT_ID].  See the attached example on how to structure the JSON body.</p>\n<p>IMPORTANT: Please make sure structure mode is set to \"manual\". In \"auto\" mode, Flair will automatically adjust Vents to match the room set point, so your Vent command will get overwritten.  In \"manual\" mode, there will be no further changes to the Vent position unless application or user makes an adjustment.</p>\n","urlObject":{"protocol":"https","path":["api","vents","13c44351-5883-5cbe-52cf-da0c1a1505f7"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"f75b8938-d365-45eb-9fd1-9d22b8166a14","name":"Open or Close a Vent","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"vents\",\n        \"attributes\": {\n            \"percent-open\": 100\n        },\n        \"relationships\": {}\n    }\n}"},"url":"https://api.flair.co/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"1220"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"vents\",\n        \"relationships\": {\n            \"closest-puck\": {\n                \"links\": {\n                    \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/closest-pucks\"\n                }\n            },\n            \"structure\": {\n                \"links\": {\n                    \"self\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/relationships/structure\",\n                    \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/structure\"\n                },\n                \"data\": {\n                    \"type\": \"structures\",\n                    \"id\": \"4351\"\n                }\n            },\n            \"vent-states\": {\n                \"links\": {\n                    \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/vent-states\"\n                }\n            },\n            \"room\": {\n                \"links\": {\n                    \"self\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/relationships/room\",\n                    \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/room\"\n                },\n                \"data\": {\n                    \"type\": \"rooms\",\n                    \"id\": \"8704\"\n                }\n            },\n            \"current-state\": {\n                \"links\": {\n                    \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/current-state\"\n                }\n            },\n            \"sensor-readings\": {\n                \"links\": {\n                    \"related\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7/sensor-readings\"\n                }\n            }\n        },\n        \"attributes\": {\n            \"created-at\": \"2017-08-03T01:06:38.367916+00:00\",\n            \"name\": \"Office Vent\",\n            \"setup-lightstrip\": 1,\n            \"inactive\": false,\n            \"percent-open\": 100,\n            \"updated-at\": \"2018-12-17T23:16:44.130172+00:00\"\n        },\n        \"id\": \"13c44351-5883-5cbe-52cf-da0c1a1505f7\"\n    },\n    \"meta\": {\n        \"self\": \"/api/vents/13c44351-5883-5cbe-52cf-da0c1a1505f7\"\n    }\n}"}],"_postman_id":"5efedb8c-21b2-47ac-a9fb-6ffa469badfa"},{"name":"Thermostats","id":"7f78c7c6-e713-4567-9227-7a456d48b592","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/thermostats","description":"<p>The thermostats endpoint lists the thermostats associated with the home.  The important parameters are the \"name\", as well as \"static-vents\".  The number of static vents is a user-provided estimate of how many vents (both Flair and non-Flair) are serviced by this thermostat.</p>\n","urlObject":{"protocol":"https","path":["api","thermostats"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"19f33e3c-03e3-41a2-94bb-9c5e9c344b63","name":"Thermostats","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/thermostats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"3680"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"thermostats\",\n            \"relationships\": {\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/relationships/structure\",\n                        \"related\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"remote-sensor\": {\n                    \"links\": {\n                        \"related\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/remote-sensor\"\n                    }\n                },\n                \"integration-structure\": {\n                    \"links\": {\n                        \"self\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/relationships/integration_structures\",\n                        \"related\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/integration_structures\"\n                    },\n                    \"data\": {\n                        \"type\": \"integration-structures\",\n                        \"id\": \"ed85df89-2fcc-4e19-a6e3-1dd47cf13294\"\n                    }\n                },\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/relationships/room\",\n                        \"related\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/room\"\n                    },\n                    \"data\": {\n                        \"type\": \"rooms\",\n                        \"id\": \"8844\"\n                    }\n                },\n                \"thermostat-states\": {\n                    \"links\": {\n                        \"related\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/thermostat-states\"\n                    }\n                },\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/current-state\"\n                    }\n                },\n                \"zone\": {\n                    \"links\": {\n                        \"self\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/relationships/zone\",\n                        \"related\": \"/api/thermostats/1c118d41-ea4d-406a-87c6-990cc0478bf5/zone\"\n                    },\n                    \"data\": {\n                        \"type\": \"zones\",\n                        \"id\": \"35941\"\n                    }\n                }\n            },\n            \"attributes\": {\n                \"source-id\": \"UyjfvFApM1H-1m3bZDb-4JHVt2k_js9E\",\n                \"thermostat-model\": null,\n                \"created-at\": \"2018-12-17T21:42:20.450662+00:00\",\n                \"capabilities\": \"Both\",\n                \"disabled\": false,\n                \"name\": \"Upstairs Thermostat\",\n                \"enable-room-tile-set-point-adjust\": true,\n                \"make\": \"nest\",\n                \"static-vents\": 16,\n                \"updated-at\": \"2018-12-17T21:43:19.482052+00:00\"\n            },\n            \"id\": \"1c118d41-ea4d-406a-87c6-990cc0478bf5\"\n        },\n        {\n            \"type\": \"thermostats\",\n            \"relationships\": {\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/relationships/structure\",\n                        \"related\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/structure\"\n                    },\n                    \"data\": null\n                },\n                \"remote-sensor\": {\n                    \"links\": {\n                        \"related\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/remote-sensor\"\n                    }\n                },\n                \"integration-structure\": {\n                    \"links\": {\n                        \"self\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/relationships/integration_structures\",\n                        \"related\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/integration_structures\"\n                    },\n                    \"data\": {\n                        \"type\": \"integration-structures\",\n                        \"id\": \"5da88405-068c-4ac8-bfc9-4718450aa64d\"\n                    }\n                },\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/relationships/room\",\n                        \"related\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/room\"\n                    },\n                    \"data\": null\n                },\n                \"thermostat-states\": {\n                    \"links\": {\n                        \"related\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/thermostat-states\"\n                    }\n                },\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/current-state\"\n                    }\n                },\n                \"zone\": {\n                    \"links\": {\n                        \"self\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/relationships/zone\",\n                        \"related\": \"/api/thermostats/56e38150-8da8-48e0-a467-3235fbd4932a/zone\"\n                    },\n                    \"data\": {\n                        \"type\": \"zones\",\n                        \"id\": \"9494\"\n                    }\n                }\n            },\n            \"attributes\": {\n                \"source-id\": \"511829661106\",\n                \"thermostat-model\": \"apolloSmart\",\n                \"created-at\": \"2018-02-13T06:00:56.835670+00:00\",\n                \"capabilities\": \"Both\",\n                \"disabled\": false,\n                \"name\": \"Ecobeeeee\",\n                \"enable-room-tile-set-point-adjust\": null,\n                \"make\": \"ecobee\",\n                \"static-vents\": null,\n                \"updated-at\": \"2018-02-13T06:00:56.853091+00:00\"\n            },\n            \"id\": \"56e38150-8da8-48e0-a467-3235fbd4932a\"\n        }\n    ],\n    \"meta\": {\n        \"self\": \"/api/thermostats\",\n        \"first\": \"/api/thermostats?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/thermostats?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    }\n}"}],"_postman_id":"7f78c7c6-e713-4567-9227-7a456d48b592"},{"name":"HVAC-Units","id":"4f2f09fc-d7fc-418f-a84e-e84847e97484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/hvac-units","description":"<p>The HVAC-Units endpoint shows the current state of the minisplit, as well as the possible states supported by this minisplit.  HVAC-Unit and minisplit are both terms referring to the same thing and is used interchangeably.</p>\n<p>The attributes are:</p>\n<ul>\n<li>name: the user assigned name of the minisplit</li>\n<li>temperature: the temperature the unit was last set to by Flair, in F or C, depending on the \"temperature-scale\" constraint</li>\n<li>constraints: the possible states supported</li>\n<li>fan-speed: the fan speed last set by Flair \"High\", \"Medium\", \"Low\", \"Auto\"</li>\n<li>swing: \"On\" for swing, \"Off\" for no swing, if available</li>\n<li>mode: \"Heat\", \"Cool\", \"Fan\", \"Dry\" or \"Auto\", depending on availability</li>\n<li>power: the last power state set by Flair \"On\" or \"Off\"</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","hvac-units"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"90f5f2f1-ff73-4d60-9c59-e6d27a955843","name":"HVAC-Units","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/hvac-units"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"6957"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"hvac-units\",\n            \"attributes\": {\n                \"incremental\": false,\n                \"temperature\": 75,\n                \"button-presses\": [],\n                \"type\": \"MiniSplit\",\n                \"temperature-compensation\": \"THIRD PARTY\",\n                \"constraints\": {\n                    \"ON\": {\n                        \"DRY\": {\n                            \"OFF\": {\n                                \"FAN AUTO\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ]\n                            }\n                        },\n                        \"FAN\": {\n                            \"OFF\": {\n                                \"FAN HI\": [\n                                    \"--\"\n                                ],\n                                \"FAN LOW\": [\n                                    \"--\"\n                                ],\n                                \"FAN MID\": [\n                                    \"--\"\n                                ],\n                                \"FAN AUTO\": [\n                                    \"--\"\n                                ]\n                            }\n                        },\n                        \"AUTO\": {\n                            \"OFF\": {\n                                \"FAN AUTO\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ]\n                            }\n                        },\n                        \"COOL\": {\n                            \"OFF\": {\n                                \"FAN HI\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ],\n                                \"FAN LOW\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ],\n                                \"FAN MID\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ],\n                                \"FAN AUTO\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ]\n                            }\n                        },\n                        \"HEAT\": {\n                            \"OFF\": {\n                                \"FAN HI\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ],\n                                \"FAN LOW\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ],\n                                \"FAN MID\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ],\n                                \"FAN AUTO\": [\n                                    \"62\",\n                                    \"63\",\n                                    \"64\",\n                                    \"65\",\n                                    \"66\",\n                                    \"67\",\n                                    \"68\",\n                                    \"69\",\n                                    \"70\",\n                                    \"71\",\n                                    \"72\",\n                                    \"73\",\n                                    \"74\",\n                                    \"75\",\n                                    \"76\",\n                                    \"77\",\n                                    \"78\",\n                                    \"79\",\n                                    \"80\",\n                                    \"81\",\n                                    \"82\",\n                                    \"83\",\n                                    \"84\",\n                                    \"85\",\n                                    \"86\"\n                                ]\n                            }\n                        }\n                    },\n                    \"OFF\": {\n                        \"AUTO\": {\n                            \"OFF\": {\n                                \"FAN AUTO\": [\n                                    \"72\"\n                                ]\n                            }\n                        }\n                    },\n                    \"temperature-scale\": \"F\"\n                },\n                \"model-id\": \"2efdce3c-4034-4901-96ca-cdecd546b3d4\",\n                \"quiet-hours-end\": null,\n                \"to-download\": false,\n                \"fan-speed\": \"Auto\",\n                \"default-fan-speed\": \"AUTO\",\n                \"swing-auto\": true,\n                \"make-name\": \"LENNOX\",\n                \"mode\": \"Heat\",\n                \"ir-device-model-id\": null,\n                \"codesets\": [\n                    {\n                        \"id\": 11,\n                        \"codeset-id\": \"ab48bedc-069c-46e6-bc3c-9a48bbad3d5b\",\n                        \"capabilities\": \"Both\",\n                        \"rank\": 1\n                    }\n                ],\n                \"quiet-hours-start\": null,\n                \"swing\": \"Off\",\n                \"name\": \"New HVAC Device\",\n                \"make-id\": \"a3a2ea6d-4ebf-4357-98c3-21f18b567b44\",\n                \"codeset-id\": \"ab48bedc-069c-46e6-bc3c-9a48bbad3d5b\",\n                \"capabilities\": \"Both\",\n                \"power\": \"On\"\n            },\n            \"relationships\": {\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/structure\",\n                        \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"4351\"\n                    }\n                },\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/room\",\n                        \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/room\"\n                    },\n                    \"data\": {\n                        \"type\": \"rooms\",\n                        \"id\": \"8310\"\n                    }\n                },\n                \"make\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/make\",\n                        \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/make\"\n                    }\n                },\n                \"puck\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/puck\",\n                        \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/puck\"\n                    },\n                    \"data\": {\n                        \"type\": \"pucks\",\n                        \"id\": \"46eb5eef-7324-5748-2384-3f9ff8996373\"\n                    }\n                },\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/current-state\"\n                    },\n                    \"data\": {\n                        \"type\": \"hvac-unit-states\",\n                        \"id\": \"dd4c1d7d-b333-4418-8837-57adc36030ab\"\n                    }\n                },\n                \"zone\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/zone\",\n                        \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/zone\"\n                    },\n                    \"data\": {\n                        \"type\": \"zones\",\n                        \"id\": \"35940\"\n                    }\n                },\n                \"hvac-unit-states\": {\n                    \"links\": {\n                        \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/hvac-unit-states\"\n                    }\n                }\n            },\n            \"id\": \"3b369fae-cc16-452c-80d8-4525e89efa42\"\n        },\n        {\n            \"type\": \"hvac-units\",\n            \"attributes\": {\n                \"incremental\": false,\n                \"temperature\": null,\n                \"button-presses\": null,\n                \"type\": \"MiniSplit\",\n                \"temperature-compensation\": null,\n                \"constraints\": {},\n                \"model-id\": null,\n                \"quiet-hours-end\": null,\n                \"to-download\": null,\n                \"fan-speed\": null,\n                \"default-fan-speed\": null,\n                \"swing-auto\": true,\n                \"make-name\": \"GE (GENERAL ELECTRIC)\",\n                \"mode\": null,\n                \"ir-device-model-id\": null,\n                \"codesets\": [\n                    {\n                        \"id\": 3,\n                        \"codeset-id\": \"7593da1e-bc50-4b86-8576-02dc1bd1fa13\",\n                        \"capabilities\": \"Fan Only\",\n                        \"rank\": 1\n                    },\n                    {\n                        \"id\": 2,\n                        \"codeset-id\": \"292\",\n                        \"capabilities\": \"Both\",\n                        \"rank\": 4\n                    },\n                    {\n                        \"id\": 5,\n                        \"codeset-id\": \"a680ed8a-0c53-4ea7-af5a-7d87f8299d96\",\n                        \"capabilities\": \"Fan Only\",\n                        \"rank\": 1\n                    },\n                    {\n                        \"id\": 6,\n                        \"codeset-id\": \"1a9c3ff0-1b7d-4b8a-8b4f-a2759cd693e6\",\n                        \"capabilities\": \"Fan Only\",\n                        \"rank\": 1\n                    },\n                    {\n                        \"id\": 7,\n                        \"codeset-id\": \"28566893-f929-45d1-acf2-eb91284668a9\",\n                        \"capabilities\": \"Fan Only\",\n                        \"rank\": 1\n                    },\n                    {\n                        \"id\": 8,\n                        \"codeset-id\": \"aae58e41-5046-4e4b-8453-e5f1e5423049\",\n                        \"capabilities\": \"Fan Only\",\n                        \"rank\": 1\n                    },\n                    {\n                        \"id\": 1,\n                        \"codeset-id\": \"40\",\n                        \"capabilities\": \"Both\",\n                        \"rank\": 3\n                    },\n                    {\n                        \"id\": 9,\n                        \"codeset-id\": \"40\",\n                        \"capabilities\": null,\n                        \"rank\": null\n                    },\n                    {\n                        \"id\": 4,\n                        \"codeset-id\": \"637\",\n                        \"capabilities\": \"Both\",\n                        \"rank\": 4\n                    }\n                ],\n                \"quiet-hours-start\": null,\n                \"swing\": null,\n                \"name\": \"Minisplit\",\n                \"make-id\": \"226e310b-07fa-48e9-8ac6-af8a025b5935\",\n                \"codeset-id\": null,\n                \"capabilities\": \"Both\",\n                \"power\": null\n            },\n            \"relationships\": {\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/relationships/structure\",\n                        \"related\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/structure\"\n                    },\n                    \"data\": null\n                },\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/relationships/room\",\n                        \"related\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/room\"\n                    },\n                    \"data\": null\n                },\n                \"make\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/relationships/make\",\n                        \"related\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/make\"\n                    }\n                },\n                \"puck\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/relationships/puck\",\n                        \"related\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/puck\"\n                    },\n                    \"data\": null\n                },\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/current-state\"\n                    },\n                    \"data\": null\n                },\n                \"zone\": {\n                    \"links\": {\n                        \"self\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/relationships/zone\",\n                        \"related\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/zone\"\n                    },\n                    \"data\": {\n                        \"type\": \"zones\",\n                        \"id\": \"15033\"\n                    }\n                },\n                \"hvac-unit-states\": {\n                    \"links\": {\n                        \"related\": \"/api/hvac-units/af66f947-e9e2-4a39-a0bd-e0f4e0ab6956/hvac-unit-states\"\n                    }\n                }\n            },\n            \"id\": \"af66f947-e9e2-4a39-a0bd-e0f4e0ab6956\"\n        }\n    ],\n    \"meta\": {\n        \"self\": \"/api/hvac-units\",\n        \"first\": \"/api/hvac-units?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/hvac-units?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    }\n}"}],"_postman_id":"4f2f09fc-d7fc-418f-a84e-e84847e97484"},{"name":"Change Minisplit Settings","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"acb5668e-35d7-4744-91f2-a1c16222b3b5"}}],"id":"fe425e22-bc80-4ca0-a909-e25257025d9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"hvac-units\",\n        \"attributes\": {\n            \"temperature\": 70,\n            \"fan-speed\": \"High\",\n            \"swing\": \"Off\",\n            \"mode\": \"Heat\",\n            \"power\": \"On\"\n        },\n        \"relationships\": {}\n    }\n}"},"url":"https://api.flair.co/api/hvac-units/d5edfafc-34d2-4096-9519-b2280288f855","description":"<p>Use PATCH commands to api/hvac-units/[HVACUNIT_ID] to adjust minisplit settings.  See the attached example on how to structure the JSON body.  Power can be \"On\" or \"Off\".  Mode is \"Heat\" or \"Cool\".  Fan speed is \"High\", \"Mid\", \"Low\".  Swing is either \"On\" or \"Off\".  Temperature may only be the same units as listed in the constraints field.  If the constraints are in Fahrenheit, please only send Fahrenheit requests, and vice versa.</p>\n<p>IMPORTANT: Please make sure structure mode is set to \"manual\". In \"auto\" mode, Flair will automatically adjust minisplits to match the room set point, so your minisplit command will get overwritten. In \"manual\" mode, there will be no further changes to the minisplit settings unless application or user makes an adjustment.</p>\n<p>IMPORTANT: Please check the constraints field to determine what states are allowable, as well as if you need to use Fahrenheit or Celsius.  If you provide a state that is not support in the contraints object, Flair will do it's best to find the closest fit.  To ensure deterministic behavior, please follow the constraints closely.</p>\n","urlObject":{"protocol":"https","path":["api","hvac-units","d5edfafc-34d2-4096-9519-b2280288f855"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"9ebc5d59-3efa-42c7-bc7a-84b59c119ec2","name":"Change Minisplit Settings","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"hvac-units\",\n        \"attributes\": {\n            \"temperature\": 70,\n            \"fan-speed\": \"High\"\n        },\n        \"relationships\": {}\n    }\n}"},"url":"https://api.flair.co/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Content-Length","value":"4188"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"hvac-units\",\n        \"attributes\": {\n            \"swing-auto\": true,\n            \"make-id\": \"a3a2ea6d-4ebf-4357-98c3-21f18b567b44\",\n            \"codeset-id\": \"ab48bedc-069c-46e6-bc3c-9a48bbad3d5b\",\n            \"quiet-hours-end\": null,\n            \"quiet-hours-start\": null,\n            \"power\": \"On\",\n            \"temperature-compensation\": \"THIRD PARTY\",\n            \"codesets\": [\n                {\n                    \"id\": 11,\n                    \"codeset-id\": \"ab48bedc-069c-46e6-bc3c-9a48bbad3d5b\",\n                    \"capabilities\": \"Both\",\n                    \"rank\": 1\n                }\n            ],\n            \"to-download\": false,\n            \"name\": \"New HVAC Device\",\n            \"constraints\": {\n                \"ON\": {\n                    \"DRY\": {\n                        \"OFF\": {\n                            \"FAN AUTO\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ]\n                        }\n                    },\n                    \"FAN\": {\n                        \"OFF\": {\n                            \"FAN HI\": [\n                                \"--\"\n                            ],\n                            \"FAN LOW\": [\n                                \"--\"\n                            ],\n                            \"FAN MID\": [\n                                \"--\"\n                            ],\n                            \"FAN AUTO\": [\n                                \"--\"\n                            ]\n                        }\n                    },\n                    \"AUTO\": {\n                        \"OFF\": {\n                            \"FAN AUTO\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ]\n                        }\n                    },\n                    \"COOL\": {\n                        \"OFF\": {\n                            \"FAN HI\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ],\n                            \"FAN LOW\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ],\n                            \"FAN MID\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ],\n                            \"FAN AUTO\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ]\n                        }\n                    },\n                    \"HEAT\": {\n                        \"OFF\": {\n                            \"FAN HI\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ],\n                            \"FAN LOW\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ],\n                            \"FAN MID\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ],\n                            \"FAN AUTO\": [\n                                \"62\",\n                                \"63\",\n                                \"64\",\n                                \"65\",\n                                \"66\",\n                                \"67\",\n                                \"68\",\n                                \"69\",\n                                \"70\",\n                                \"71\",\n                                \"72\",\n                                \"73\",\n                                \"74\",\n                                \"75\",\n                                \"76\",\n                                \"77\",\n                                \"78\",\n                                \"79\",\n                                \"80\",\n                                \"81\",\n                                \"82\",\n                                \"83\",\n                                \"84\",\n                                \"85\",\n                                \"86\"\n                            ]\n                        }\n                    }\n                },\n                \"OFF\": {\n                    \"AUTO\": {\n                        \"OFF\": {\n                            \"FAN AUTO\": [\n                                \"72\"\n                            ]\n                        }\n                    }\n                },\n                \"temperature-scale\": \"F\"\n            },\n            \"fan-speed\": \"High\",\n            \"temperature\": 70,\n            \"ir-device-model-id\": null,\n            \"swing\": \"Off\",\n            \"incremental\": false,\n            \"make-name\": \"LENNOX\",\n            \"mode\": \"Heat\",\n            \"button-presses\": [],\n            \"model-id\": \"2efdce3c-4034-4901-96ca-cdecd546b3d4\",\n            \"capabilities\": \"Both\",\n            \"type\": \"MiniSplit\",\n            \"default-fan-speed\": \"AUTO\"\n        },\n        \"relationships\": {\n            \"hvac-unit-states\": {\n                \"links\": {\n                    \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/hvac-unit-states\"\n                }\n            },\n            \"puck\": {\n                \"links\": {\n                    \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/puck\",\n                    \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/puck\"\n                },\n                \"data\": {\n                    \"type\": \"pucks\",\n                    \"id\": \"46eb5eef-7324-5748-2384-3f9ff8996373\"\n                }\n            },\n            \"room\": {\n                \"links\": {\n                    \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/room\",\n                    \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/room\"\n                },\n                \"data\": {\n                    \"type\": \"rooms\",\n                    \"id\": \"8310\"\n                }\n            },\n            \"make\": {\n                \"links\": {\n                    \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/make\",\n                    \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/make\"\n                }\n            },\n            \"zone\": {\n                \"links\": {\n                    \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/zone\",\n                    \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/zone\"\n                },\n                \"data\": {\n                    \"type\": \"zones\",\n                    \"id\": \"35940\"\n                }\n            },\n            \"structure\": {\n                \"links\": {\n                    \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/relationships/structure\",\n                    \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/structure\"\n                },\n                \"data\": {\n                    \"type\": \"structures\",\n                    \"id\": \"4351\"\n                }\n            },\n            \"current-state\": {\n                \"links\": {\n                    \"related\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42/current-state\"\n                },\n                \"data\": {\n                    \"type\": \"hvac-unit-states\",\n                    \"id\": \"ce1d512c-20af-478e-90fe-ab97f0628761\"\n                }\n            }\n        },\n        \"id\": \"3b369fae-cc16-452c-80d8-4525e89efa42\"\n    },\n    \"meta\": {\n        \"self\": \"/api/hvac-units/3b369fae-cc16-452c-80d8-4525e89efa42\"\n    }\n}"}],"_postman_id":"fe425e22-bc80-4ca0-a909-e25257025d9d"},{"name":"Bridges","id":"596214b5-c354-4e9d-9439-5bc2ea20fc15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"tokenType":"<token-type>","accessToken":"<access-token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/bridges","description":"<p>The Bridge endpoint lists all the Flair Bridges associated with the home. Useful parameters are:</p>\n<ul>\n<li><p>name: the Flair-generated name of the Bridge</p>\n</li>\n<li><p>current-rssi: the current 915MHz radio signal strength</p>\n</li>\n<li><p>display-number: the 4-character code identifying this bridge during setup</p>\n</li>\n<li><p>led-brightness: the brightness level of the Bridge LEDs</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","bridges"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"d0c79a8e-3bee-4c15-bd1e-c06e47b1730f","name":"Bridges","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/bridges"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"self\": \"/api/bridges\",\n        \"first\": \"/api/bridges?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"last\": \"/api/bridges?page%5Bsize%5D=50&page%5Bpage%5D=1\",\n        \"next\": null,\n        \"prev\": null\n    },\n    \"data\": [\n        {\n            \"type\": \"bridges\",\n            \"attributes\": {\n                \"inactive\": false,\n                \"led-brightness\": 100,\n                \"features\": null,\n                \"name\": \"Bridge-0088\",\n                \"updated-at\": \"2024-05-30T22:04:25.485114+00:00\",\n                \"reporting-interval-ds\": 255,\n                \"display-number\": \"0088\",\n                \"current-rssi\": -34,\n                \"created-at\": \"2024-05-14T22:07:37.983599+00:00\"\n            },\n            \"relationships\": {\n                \"bridge-states\": {\n                    \"links\": {\n                        \"related\": \"/api/bridges/0088858b-a8f9-5165-f57e-d694ff7b283f/bridge-states\"\n                    }\n                },\n                \"room\": {\n                    \"links\": {\n                        \"self\": \"/api/bridges/0088858b-a8f9-5165-f57e-d694ff7b283f/relationships/room\",\n                        \"related\": \"/api/bridges/0088858b-a8f9-5165-f57e-d694ff7b283f/room\"\n                    },\n                    \"data\": {\n                        \"type\": \"rooms\",\n                        \"id\": null\n                    }\n                },\n                \"hardware-version\": {\n                    \"links\": {\n                        \"related\": \"/api/bridge/0088858b-a8f9-5165-f57e-d694ff7b283f/hardware-version\"\n                    },\n                    \"data\": {\n                        \"type\": \"hardware-versions\",\n                        \"id\": \"620a685e-846a-4d91-8ae3-894c966a13f3\"\n                    }\n                },\n                \"current-reading\": {\n                    \"links\": {\n                        \"related\": \"/api/bridges/0088858b-a8f9-5165-f57e-d694ff7b283f/current-reading\"\n                    }\n                },\n                \"current-state\": {\n                    \"links\": {\n                        \"related\": \"/api/bridges/0088858b-a8f9-5165-f57e-d694ff7b283f/current-state\"\n                    }\n                },\n                \"structure\": {\n                    \"links\": {\n                        \"self\": \"/api/bridge/0088858b-a8f9-5165-f57e-d694ff7b283f/relationships/structure\",\n                        \"related\": \"/api/bridge/0088858b-a8f9-5165-f57e-d694ff7b283f/structure\"\n                    },\n                    \"data\": {\n                        \"type\": \"structures\",\n                        \"id\": \"38938\"\n                    }\n                },\n                \"sensor-readings\": {\n                    \"links\": {\n                        \"related\": \"/api/bridges/0088858b-a8f9-5165-f57e-d694ff7b283f/sensor-readings\"\n                    }\n                }\n            },\n            \"id\": \"0088858b-a8f9-5165-f57e-d694ff7b283f\"\n        }\n    ]\n}"}],"_postman_id":"596214b5-c354-4e9d-9439-5bc2ea20fc15"},{"name":"Bridge Current Reading","id":"3f506654-a380-4121-b08e-ec7e853ec719","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"tokenType":"<token-type>","accessToken":"<access-token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/bridges/0088858b-a8f9-5165-f57e-d694ff7b283f/current-reading","description":"<p>The Bridge endpoint will have a link to the Bridge current-reading endpoint. Here you will find the latest set of sensor readings for this device, with information such as:</p>\n<ul>\n<li><p>created_at: date and time of this reading, in GMT</p>\n</li>\n<li><p>die-temperature: not currently implemented</p>\n</li>\n<li><p>rssi: the WiFi radio signal strength (integer). 0 if Bridge is connected via Ethernet</p>\n</li>\n<li><p>system-voltage: not currently implemented</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","bridges","0088858b-a8f9-5165-f57e-d694ff7b283f","current-reading"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"64b43715-0507-4fc5-9024-40926b8fe814","name":"Bridge Current Reading","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ACCESS_TOKEN","type":"text"}],"url":"https://api.flair.co/api/bridges/3f1fe85d-e9a1-52c0-b224-e48590fe8aa5/current-reading"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"self\": \"/api/bridges/3f1fe85d-e9a1-52c0-b224-e48590fe8aa5/current-reading\"\n    },\n    \"data\": {\n        \"type\": \"bridge-sensor-readings\",\n        \"relationships\": {\n            \"bridge\": {\n                \"links\": {\n                    \"related\": \"/api/bridge-sensor-readings/28d0b26f-26e0-436a-9f32-10959f4ac8dd/bridge\"\n                },\n                \"data\": {\n                    \"type\": \"bridges\",\n                    \"id\": \"3f1fe85d-e9a1-52c0-b224-e48590fe8aa5\"\n                }\n            }\n        },\n        \"attributes\": {\n            \"system-voltage\": null,\n            \"die-temperature\": null,\n            \"message-version\": 0,\n            \"rssi\": 0,\n            \"firmware-version-w\": 276,\n            \"created-at\": \"2024-05-31T20:37:06.020518+00:00\"\n        },\n        \"id\": \"28d0b26f-26e0-436a-9f32-10959f4ac8dd\"\n    }\n}"}],"_postman_id":"3f506654-a380-4121-b08e-ec7e853ec719"},{"name":"Remote Sensor Current Reading","id":"e74a29aa-f1e3-45f8-888b-a054ceb40f8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"tokenType":"<token-type>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.flair.co/api/remote-sensors/6cb639a3-6372-48fc-8624-704ba812cae0/current-reading","urlObject":{"protocol":"https","path":["api","remote-sensors","6cb639a3-6372-48fc-8624-704ba812cae0","current-reading"],"host":["api","flair","co"],"query":[],"variable":[]}},"response":[{"id":"b41df500-54fd-4766-8437-bf539af88760","name":"Remote Sensor Current Reading","originalRequest":{"method":"GET","header":[],"url":"https://api.flair.co/api/remote-sensors/ee0f9a3f-31c2-46aa-b573-6c3b30923fa4/current-reading"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"21600"},{"key":"Access-Control-Allow-Headers","value":"authorization, content-type, accept, x-admin-mode, user-agent"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Connection","value":"close"},{"key":"Server","value":"Werkzeug/0.14.1 Python/3.9.19"},{"key":"Date","value":"Fri, 05 Jul 2024 14:56:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"self\": \"/api/remote-sensors/ee0f9a3f-31c2-46aa-b573-6c3b30923fa4/current-reading\"\n    },\n    \"data\": {\n        \"type\": \"remote-sensor-readings\",\n        \"attributes\": {\n            \"occupied\": null,\n            \"humidity\": null,\n            \"temperature-c\": 27.222222222222225,\n            \"created-at\": \"2024-07-05T02:00:36.322347+00:00\"\n        },\n        \"relationships\": {\n            \"remote-sensor\": {\n                \"links\": {\n                    \"related\": \"/api/remote-sensor-readings/7db825e3-4d34-499b-9199-5439ba27aa9e/remote-sensor\"\n                },\n                \"data\": {\n                    \"type\": \"remote-sensors\",\n                    \"id\": \"ee0f9a3f-31c2-46aa-b573-6c3b30923fa4\"\n                }\n            }\n        },\n        \"id\": \"7db825e3-4d34-499b-9199-5439ba27aa9e\"\n    }\n}"}],"_postman_id":"e74a29aa-f1e3-45f8-888b-a054ceb40f8e"}],"id":"525999d7-48dd-4d17-a3f1-f09a3581cbb9","description":"<p>The following section is a reference of all Flair API endpoints, and their associated data.</p>\n","_postman_id":"525999d7-48dd-4d17-a3f1-f09a3581cbb9","auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"},"isInherited":true,"source":{"_postman_id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","id":"63cd472d-6aa5-428e-9c3f-b7e975f896a4","name":"Flair API","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"accessToken":"<access-token>","tokenType":"<token-type>"}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a3ed1e62-2f91-4d2c-9d4c-64ccfc825ae5"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"28ae1744-bcb3-47f7-9a92-f6c5282e6c68"}}]}