Get Devices By InstalledSchemaApp ID
Changed onGet devices and app related info for a given isaId. If relogin is not required, the pageType will be set to "loggedIn" and SmartThings will return the isaId, devices, partnerName, appName and icons. If relogin is needed, the pageType will be set to "requiresLogin" and the "oauthLink" value will be populated in the response. For both pageTypes, if the integration is LAN-hybrid, driverId is also returned.
Request
- Base URLhttps://api.smartthings.com/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Response of getOauthCallback API depends on this query parameter. If true, returns an HTML page with redirect link else returns an HTML page with "connection successful/failed" text.
This parameter supersedes the redirectRequested parameter if both are provided. If true, the API call to getOauthCallback requires an "Authorization" header with the same permission(s) as the one used in the call to this API. The response from getOauthCallback will also be a json object instead of an html page.
Response
Success
Changes
- info
added the new optional
queryrequest parameterjsonRspRequested
- info
- info
added the new optional
queryrequest parameterredirectRequested
- info