opt-cc/server/config/api-url.js

23 lines
694 B
JavaScript
Raw Normal View History

const rootRoute = '/api';
module.exports = {
2017-08-12 16:28:18 +02:00
account: rootRoute + '/account',
auth: rootRoute + '/authenticate',
awards: rootRoute + '/awardings',
2017-08-12 16:28:18 +02:00
campaigns: rootRoute + '/campaigns',
cmdCreateSig: rootRoute + '/cmd/createSignature',
2017-08-12 16:28:18 +02:00
command: rootRoute + '/cmd',
decorations: rootRoute + '/decorations',
logs: rootRoute + '/logs',
overview: rootRoute + '/overview',
2017-10-01 13:12:55 +02:00
players: rootRoute + '/players',
ranks: rootRoute + '/ranks',
2017-08-12 16:28:18 +02:00
request: rootRoute + '/request',
signatures: '/signatures',
2017-08-12 16:28:18 +02:00
signUp: rootRoute + '/authenticate/signup',
2018-10-20 20:00:36 +02:00
slotting: rootRoute + '/slotting',
squads: rootRoute + '/squads',
users: rootRoute + '/users',
2018-03-12 09:26:44 +01:00
wars: rootRoute + '/wars',
};