-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from OneBusAway/more-apis
More apis
- Loading branch information
Showing
9 changed files
with
29 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"code":200,"currentTime":1710960036523,"data":{"entry":{"gitProperties":{"git.branch":"d600e47ead0928a9e1bd76af9f16c12294d3782c","git.build.host":"swdev31","git.build.time":"23.01.2024 @ 16:01:10 EST","git.build.user.email":"[email protected]","git.build.user.name":"sheldonabrown","git.build.version":"2.5.2-cs","git.closest.tag.commit.count":"0","git.closest.tag.name":"onebusaway-application-modules-2.5.2-cs","git.commit.id":"d600e47ead0928a9e1bd76af9f16c12294d3782c","git.commit.id.abbrev":"d600e47","git.commit.id.describe":"onebusaway-application-modules-2.5.2-cs","git.commit.id.describe-short":"onebusaway-application-modules-2.5.2-cs","git.commit.message.full":"[maven-release-plugin] prepare release onebusaway-application-modules-2.5.2-cs","git.commit.message.short":"[maven-release-plugin] prepare release onebusaway-application-modules-2.5.2-cs","git.commit.time":"23.01.2024 @ 15:48:19 EST","git.commit.user.email":"[email protected]","git.commit.user.name":"sheldonabrown","git.dirty":"false","git.remote.origin.url":"[email protected]:camsys/onebusaway-application-modules.git","git.tags":"onebusaway-application-modules-2.5.2-cs"},"id":"b6bff432-3b99-4f75-8834-4b0c6969fb3f","name":"FEB24_2_4","serviceDateFrom":"1709280000000","serviceDateTo":"1722409200000"},"references":{"agencies":[],"routes":[],"situations":[],"stopTimes":[],"stops":[],"trips":[]}},"text":"OK","version":2} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"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} |
1 change: 1 addition & 0 deletions
1
src/api/example_responses/report-problem-with-stop-1_75403.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"code":200,"currentTime":1710960205535,"data":{},"text":"OK","version":2} |
1 change: 1 addition & 0 deletions
1
src/api/example_responses/report-problem-with-trip-1_79430293.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"code":200,"currentTime":1710960426279,"data":{},"text":"OK","version":2} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,11 @@ | ||
--- | ||
layout: page | ||
title: config.json Method | ||
layout: rest_api | ||
title: config Method | ||
description: Get access to configuration information about the OBA server. | ||
sample_request_url: https://api.pugetsound.onebusaway.org/api/where/config.json?key=TEST | ||
example_response_file: config.json | ||
--- | ||
|
||
Access to configuration information. | ||
|
||
## Sample Request | ||
|
||
[https://api.pugetsound.onebusaway.org/api/where/config.json?key=TEST](https://api.pugetsound.onebusaway.org/api/where/config.json?key=TEST) | ||
|
||
|
||
## Sample Response | ||
|
||
``` | ||
{ | ||
"code": 200, | ||
"currentTime": 1709665910298, | ||
"data": { | ||
"entry": { | ||
"gitProperties": { | ||
"git.branch": "d600e47ead0928a9e1bd76af9f16c12294d3782c", | ||
"git.build.host": "swdev31", | ||
"git.build.time": "23.01.2024 @ 16:01:10 EST", | ||
"git.build.user.email": "[email protected]", | ||
"git.build.user.name": "sheldonabrown", | ||
"git.build.version": "2.5.2-cs", | ||
"git.closest.tag.commit.count": "0", | ||
"git.closest.tag.name": "onebusaway-application-modules-2.5.2-cs", | ||
"git.commit.id": "d600e47ead0928a9e1bd76af9f16c12294d3782c", | ||
"git.commit.id.abbrev": "d600e47", | ||
"git.commit.id.describe": "onebusaway-application-modules-2.5.2-cs", | ||
"git.commit.id.describe-short": "onebusaway-application-modules-2.5.2-cs", | ||
"git.commit.message.full": "[maven-release-plugin] prepare release onebusaway-application-modules-2.5.2-cs", | ||
"git.commit.message.short": "[maven-release-plugin] prepare release onebusaway-application-modules-2.5.2-cs", | ||
"git.commit.time": "23.01.2024 @ 15:48:19 EST", | ||
"git.commit.user.email": "[email protected]", | ||
"git.commit.user.name": "sheldonabrown", | ||
"git.dirty": "false", | ||
"git.remote.origin.url": "[email protected]:camsys/onebusaway-application-modules.git", | ||
"git.tags": "onebusaway-application-modules-2.5.2-cs" | ||
}, | ||
"id": "b6bff432-3b99-4f75-8834-4b0c6969fb3f", | ||
"name": "FEB24_2_4", | ||
"serviceDateFrom": "1709280000000", | ||
"serviceDateTo": "1722409200000" | ||
}, | ||
"references": { | ||
"agencies": [], | ||
"routes": [], | ||
"situations": [], | ||
"stopTimes": [], | ||
"stops": [], | ||
"trips": [] | ||
} | ||
}, | ||
"text": "OK", | ||
"version": 2 | ||
} | ||
``` | ||
|
||
## Request Parameters | ||
|
||
* key - API key for authentication. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters