Modes
Get a Location's Current Mode
Changed onGet the current Mode of a Location.
get/locations/{locationId}/modes/current
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:locations:*, r:service:locations:modes
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Accept-Languagestring
Language header representing the client's preferred language. The format of the Accept-Language header follows what is defined in RFC 7231, section 5.3.5
Response
The Mode.
Example response
{
"id": "9206ea57-2e2e-414c-a792-9087117ca3d8",
"label": "Vacation",
"name": "Home"
}Changes
- info
endpoint added
- info