Modes
Get a Mode
Changed onGet a specific Mode from a Location, including the Mode's client-facing permissions (if any), id, label, and name.
get/locations/{locationId}/modes/{modeId}
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:locations:*
- 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