current-time Method
Retrieve the current system time.
Example Request
https://api.pugetsound.onebusaway.org/api/where/current-time.json?key=TEST
Example Response
{"code":200,"currentTime":1710960121182,"data":{"entry":{"readableTime":"2024-03-20T11:42:01-07:00","time":1710960121182},"references":{"agencies":[],"routes":[],"situations":[],"stopTimes":[],"stops":[],"trips":[]}},"text":"OK","version":2}
Response
time
- current system time as milliseconds since the Unix epochreadableTime
- current system time in ISO 8601 format