2 "_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
3 "_author": "Kevin Harwell <kharwell@digium.com>",
4 "_svn_revision": "$Revision$",
6 "swaggerVersion": "1.1",
7 "basePath": "http://localhost:8088/stasis",
8 "resourcePath": "/api-docs/deviceStates.{format}",
11 "path": "/deviceStates",
12 "description": "Device states",
16 "summary": "List all ARI controlled device states.",
18 "responseClass": "List[DeviceState]"
23 "path": "/deviceStates/{deviceName}",
24 "description": "Device state",
28 "summary": "Retrieve the current state of a device.",
30 "responseClass": "DeviceState",
34 "description": "Name of the device",
37 "allowMultiple": false,
44 "summary": "Change the state of a device controlled by ARI. (Note - implicitly creates the device state).",
46 "responseClass": "void",
50 "description": "Name of the device",
53 "allowMultiple": false,
57 "name": "deviceState",
58 "description": "Device state value",
61 "allowMultiple": false,
82 "reason": "Device name is missing"
86 "reason": "Uncontrolled device specified"
91 "httpMethod": "DELETE",
92 "summary": "Destroy a device-state controlled by ARI.",
94 "responseClass": "void",
98 "description": "Name of the device",
101 "allowMultiple": false,
108 "reason": "Device name is missing"
112 "reason": "Uncontrolled device specified"
122 "description": "Represents the state of a device.",
126 "description": "Name of the device.",
131 "description": "Device's state",