Version Information API
Command: ver
Inputs
Parameter | Description |
---|---|
None | The version command does not take any parameters |
json=y | Returns API output in JSON format. Default output is XML if parameter not specified. (Optional) |
Results
XML Sample
<?xml version="1.0" encoding="utf-8"?> <root> <uri> <![CDATA[https://api.bart.gov/api/version.aspx]]> </uri> <apiVersion>3.00</apiVersion> <copyright>Copyright 2016 Bay Area Rapid Transit District</copyright> <license>https://www.bart.gov/schedules/developers/developer-license-agreement</license> <message></message> </root>
JSON Sample
{ "?xml":{ "@version":"1.0", "@encoding":"utf-8" }, "root":{ "uri":{ "#cdata-section":"https://api.bart.gov/api/version.aspx" }, "apiVersion":"3.10", "copyright":"Copyright 2017 Bay Area Rapid Transit District", "license":"https://www.bart.gov/schedules/developers/developer-license-agreement", "message":"" } }
Notes
None.
Usage
XML: https://api.bart.gov/api/version.aspx
JSON: https://api.bart.gov/api/version.aspx?json=y