Last modified 3 years ago
Get All Devices
This method returns all the device_id's for the user account associated with your API key.
Path: /dev/api/devices/
Parameters
- api_key (required)
- output (optional)
Example Request(json output)
http://moostrax.com/dev/api/devices/?api_key=myapikey&output=json
{"status": "ok", "response": {"devices": ["device", "2340",
"2341"]}}
Example Request(xml output)
http://moostrax.com/dev/api/devices/?api_key=myapikey
<?xml version="1.0" ?> <moostrax><status>ok</status><response><devices><device>2340</device><device>2341</device></devices></response></moostrax>
![(please configure the [header_logo] section in trac.ini)](/img/logo.png)