JMRI: Tables Servlet
The JMRI Tables Servlet provides web access to information about JMRI objects such as Turnouts and Sensors.
This servlet responds to the following URL patterns:
- /tables/
- /tables/type
- Lists all potentially supported data types (in a table).
- /tables/<type>
- Displays an operating list of objects of that type (or "No data for this table." in
case of an empty list).
The table updates dynamically to reflect changes in JMRI. Click the State column entry to toggle the state of that item in JMRI.
<type> is one of: turnout, sensor, route, reporter etc. - /tables/<type>?<key1>=<value1>&<key2>=<value2>...
- Query string of key=value pairs, where the specified column (key) value must match the
specified value. For example,
/tables/car?trainId=12&location=Lakeviewwill only show cars which have trainID of 12 and location of Lakeview. Use?to start the query string and separate multiple parameters with&. Any columns in the table can be used as a filter. Note: Both key and value are case-sensitive.