Skip to main content
Plugin SDK
Auto
Light
Dark
Main navigation
Plugin SDK
Auto
Light
Dark
Close navigation
Main
Main
Using the SDK
Design Guidelines
Feature Pages
Sample Plugins
Release Notes
Plugin Portal
JSON API
Getting Started
controldevicebycontroluse
controldevicebylabel
controldevicebyindex
controldevicebyvalue
getcameras
getcamerasnapshot
getcategories
getcontrol
getcontrol2
getcounter
getdeviceinfo
getdeviceschanged
getevents
getimage
getlocations
getsessionconfig
getsetting
getstatus
getsystems
hsversion
pancamera
pluginfunction
pluginlist
pluginversion
register
removecamera
runevent
setdeviceproperty
setdevicestatus
speak
updateplugin
voicecommand
Breadcrumbs
Home
Plugin SDK
JSON API
On this Page
getlocations
/JSON?request=getlocations
Returns all the location names for location 1 and location 2