Skip to content
This repository was archived by the owner on Mar 2, 2021. It is now read-only.

Commit eb1f98e

Browse files
authored
Merge pull request #53 from internet4000/feat/add-url-docs-api
add more documentation urls for better exploration
2 parents 25f6a0a + 951a799 commit eb1f98e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ app.get('/', function (req, res) {
1919
res.json({
2020
message: 'Welcome to the Radio4000 api',
2121
documentationUrl: 'https://github.com/internet4000/radio4000-api',
22-
databaseUrl: config.databaseURL
22+
databaseUrl: config.databaseURL,
23+
channelsUrl: `${config.databaseURL}channels.json`,
24+
channelUrl: `${config.databaseURL}channels/{id}.json`,
25+
tracksUrl: `${config.databaseURL}tracks.json`,
26+
TrackUrl: `${config.databaseURL}tracks/{id}.json`
2327
})
2428
})
2529
app.use('/billings', billings)

0 commit comments

Comments
 (0)