-
Notifications
You must be signed in to change notification settings - Fork 87
/
routes.js
executable file
·450 lines (405 loc) · 22.4 KB
/
routes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
/*
* Copyright (C) 2013 - 2016 TopCoder Inc., All Rights Reserved.
*
* @version 1.69
* @author vangavroche, Sky_, muzehyun, kurtrips, Ghost_141, ecnu_haozi, hesibo, LazyChild, isv, flytoj2ee,
* @author panoptimum, bugbuka, Easyhard, TCASSEMBLER,TCSCODER
*
* Changes in 1.1:
* - add routes for search challenges
* Changes in 1.2:
* - add route for top
* Changes in 1.3:
* - add routes for all stub methods
* - add routes for cache test
* Changes in 1.4:
* - reorder route for studio contest details
* Changes in 1.5:
* - add routes for software rating history and distribution
* - reorder route for studio challenge details
* Changes in 1.6:
* - add route oauth, oauth test
* Changes in 1.7:
* - added routes for challenge results
* Changes in 1.8:
* - add route for bugs
* Changes in 1.9:
* - add route for client challenge costs
* Changes in 1.10:
* - added routes for terms api
* Changes in 1.11:
* - add invoice history api.
* - added route for dev download submission api
* Changes in 1.12:
* - added route for dev upload submission api
* - added route for create customer
* Changes in 1.13:
* - added route for create billing api
* - added register challenge for a given user api.
* Changes in 1.14:
* - added route for active billing accounts
* - added routes for terms api
* Changes in 1.15:
* - added routes for getting studio and software checkpoints
* Changes in 1.16:
* - added routes for validate handle
* - added route for downloading design submissions
* changes in 1.17:
* - Combine Challenge Registration API(BUGR-11058)
* changes in 1.18:
* - added routes for data platforms and technologies
* Changes in 1.19:
* - added route for agree term of use api.
* Changes in 1.20:
* - update get review opportunity api name to getSoftwareReviewOpportunity.
* - Update path to use challengeId which is more clear.
* changes in 1.21:
* - added route for recent winning design submissions api
* changes in 1.22
* - added route for member search api
* changes in 1.23
* - added route for check email availability api
* changes in 1.24
* - added stub api for reset token and reset password
* changes in 1.25
* - add route for register marathon match challenge api.
* - added api for docusign callback
* changes in 1.26:
* - added route for handling design submission
* changes in 1.27
* - separate basic user profile api into my profile api and public profile api
* changes in 1.28
* - added route for Dosusign get recipient view url
* changes in 1.29
* - added route for activate user api
* changes in 1.30
* - added route for getting marathon match challenge register info api
* Changes in 1.31:
* - add route for challenge rss output api.
* changes in 1.32:
* - added route for Challenge Unregistration API
* Changes in 1.33:
* - add route for apply develop review opportunities api.
* changes in 1.34:
* - added route for client active challenge costs
* changes in 1.35:
* - added route for auth0 callback api
* Changes in 1.36
* - add route for get payment list api.
* Changes in 1.37:
* - add route for track statistics API.
* Changes in 1.38:
* - add route for upload member photo API.
* Changes in 1.39:
* - add routes for payment preference api.
* Changes in 1.40:
* - Add routes for new split challenges API.
* Changes in 1.41:
* - add route for challenge analyze api.
* Changes in 1.42:
* - add routes for update user profile api.
* Changes in 1.43:
* - add route for top track members api.
* changes in 1.44:
* - added routes for testing the designImageFileGenerator
* - added routes for testing the unifiedSubmissionValidator
* - add routes for apply design review api.
* Changes in 1.45:
* - Add route for get user submissions api.
* Changes in 1.46:
* - Add route for submitting develop challenge by direct file upload.
* Changes in 1.47:
* - Add routes for SRM Contest Management APIs
* Changes in 1.48:
* - Add route for billing account permission api.
* Changes in 1.49:
* - Add contest rounds management APIs (list, modify, create and delete)
* Changes in 1.50:
* - Add route for srm round questions / answers / survey api.
* Changes in 1.51:
* - Add routes for SRM Round Problems and Components APIs
* Changes in 1.52:
* - Add route for generic leaderboard api
* Changes in 1.53:
* - Add routes for:
* - Set Round Room Assignment API
* - Set Round Language API
* - Set Round Events API
* - Load Round Access API
* Changes in 1.54:
* - Add a line for NewRelic
* Changes in 1.55:
* - Add routes for set round components and terms.
* Changes in 1.56:
* - Add route for Data Science Past Challenges API.
* Changes in 1.57 (Module Assembly - Topcoder NodeJS Active and Upcoming Data Science Challenge API):
* - Added route for Active / Upcoming Data Science Challenges API.
* Changes in 1.58:
* - Add routes for SRM practice problems API.
* Changes in 1.59:
* - Add route for user activation email api.
* Changes in 1.60:
* - Add route for get user identity api.
* Changes in 1.61:
* - Added routes for modifying/deleting round question answers.
* Changes in 1.62:
* - Added route for src2image api.
* Changes in 1.63:
* - Add route for get user marathon matches api.
* Changes in 1.64:
* - Add route for get user algorithm challenges api.
* Changes in 1.65:
* - Added route for Rounds For Problem API
* Changes in 1.66:
* - Added get user design challenges api.
* Changed in 1.67:
* - Added get user develop challenges api.
* Changed in 1.68:
* - Added get rounds api.
* Changed in 1.69:
* - Added routes for reviewer management api:
* - Add Reviewer
* - Remove Reviewer
* - Get All Reviewers
* - Add Copilot
* - Remove Copilot
* - Get All Copilots
* - Create Admin
* - Remove Admin
* - Get All Admins
*/
/*jslint node:true, nomen: true */
"use strict";
/* use NewRelic */
try {
require('newrelic');
} catch (ignore) { }
/* ---------------------
routes.js
For web clients (http and https) you can define an optional RESTful mapping to help route requests to actions.
If the client doesn't specify and action in a param, and the base route isn't a named action,
the action will attempt to be discerned from this routes.js file.
- routes remain optional
- actions defiend in params directly `action=theAction` or hitting the named URL for an action `/api/theAction`
will always override RESTful routing
- you can mix explicitly defined params with route-defined params. If there is an overlap, the route-defined params win
- IE: /api/user/123?userId=456 => `connection.userId = 123`
- this is a change from previous versions
- routes defined with the "all" method will be duplicated to "get", "put", "post", and "delete"
- use ":variable" to defined "variable"
- undefined ":variable" will match
- IE: "/api/user/" WILL match "/api/user/:userId"
- routes are matched as defined here top-down
- you can optionally define a regex match along with your route variable
- IE: { path:"/game/:id(^[a-z]{0,10}$)", action: "gamehandler" }
- be sure to double-escape when needed: { path: "/login/:userID(^\\d{3}$)", action: "login" }
example:
{
get: [
{ path: "/users", action: "usersList" }, // (GET) /api/users
{ path: "/search/:term/limit/:limit/offset/:offset", action: "search" }, // (GET) /api/search/car/limit/10/offset/1
],
post: [
{ path: "/login/:userID(^\\d{3}$)", action: "login" } // (POST) /api/login/123
],
all: [
{ path: "/user/:userID", action: "user" } // (*) / /api/user/123
]
}
---------------------- */
/**
* Methods that are used only in test cases.
*/
var testMethods = {
get: [
{path: "/test/cache/oauth", action: "cacheTestOAuth"},
{path: "/test/cache/error", action: "cacheTestError"},
{path: "/test/cache/hits", action: "cacheTestGetHits"},
{path: "/test/cache/reset", action: "cacheTestResetHits"},
{path: "/test/cache/disabled", action: "cacheDisabled"},
{path: "/test/cache", action: "cacheTest"},
{path: "/test/oauth", action: "oauthTest"},
{path: "/test/usv/getFileType", action: "usvGetFileType"},
{path: "/test/usv/getBundledFileParser", action: "usvGetBundledFileParser"},
{path: "/test/usv/validate", action: "usvValidate"},
{path: "/test/usv/getFiles", action: "usvGetFiles"}
],
post: [
{path: "/test/generateFiles", action: "generateFiles"}
]
};
////////////
// ROUTES //
////////////
exports.routes = {
get: [
{ path: "/:apiVersion/logs", action: "getLogTail" },
{ path: "/:apiVersion/challenges/registrants/:challengeId", action: "getRegistrants" },
{ path: "/:apiVersion/challenges/submissions/:challengeId/mySubmissions", action: "getUserSubmissions" },
{ path: "/:apiVersion/challenges/submissions/:challengeId", action: "getSubmissions" },
{ path: "/:apiVersion/challenges/phases/:challengeId", action: "getPhases" },
//{ path: "/:apiVersion/challenges/rss", action: "getChallengesRSS" },
{ path: "/:apiVersion/challenges/active", action: "getActiveChallenges" },
{ path: "/:apiVersion/challenges/open", action: "getOpenChallenges" },
{ path: "/:apiVersion/challenges/upcoming", action: "getUpcomingChallenges" },
{ path: "/:apiVersion/challenges/past", action: "getPastChallenges" },
{ path: "/:apiVersion/challenges/:challengeId", action: "getChallenge" },
{ path: "/:apiVersion/challenges", action: "searchSoftwareAndStudioChallenges" },
{ path: "/:apiVersion/develop/challenges/checkpoint/:challengeId", action: "getSoftwareCheckpoint" },
{ path: "/:apiVersion/design/challenges/checkpoint/:challengeId", action: "getStudioCheckpoint" },
{ path: "/:apiVersion/develop/challengetypes", action: "softwareTypes" },
{ path: "/:apiVersion/develop/challenges/result/:challengeId", action: "getSoftwareChallengeResults" },
{ path: "/:apiVersion/develop/challenges/:challengeId", action: "getSoftwareChallenge" },
{ path: "/:apiVersion/develop/statistics/tops/:contestType", action: "getTops" },
{ path: "/:apiVersion/develop/statistics/:handle/:challengeType", action: "getSoftwareRatingHistoryAndDistribution" },
{ path: "/:apiVersion/develop/challenges", action: "searchSoftwareChallenges" },
{ path: "/:apiVersion/develop/reviewOpportunities/:challengeId", action: "getSoftwareReviewOpportunity" },
{ path: "/:apiVersion/develop/reviewOpportunities", action: "searchReviewOpportunities" },
{ path: "/:apiVersion/develop/download/:submissionId", action: "downloadDevSubmission" },
{ path: "/:apiVersion/design/challengetypes", action: "studioTypes" },
{ path: "/:apiVersion/design/challenges/result/:challengeId", action: "getStudioChallengeResults" },
{ path: "/:apiVersion/design/reviewOpportunities/:id", action: "getStudioReviewOpportunity" },
{ path: "/:apiVersion/design/challenges/:challengeId", action: "getStudioChallenge" },
{ path: "/:apiVersion/design/challenges", action: "searchStudioChallenges" },
{ path: "/:apiVersion/design/reviewOpportunities", action: "getStudioReviewOpportunities" },
{ path: "/:apiVersion/design/download/:submissionId", action: "downloadDesignSubmission" },
{ path: "/:apiVersion/user/:handle/challenges/design", action: "getUserDesignChallenges" },
{ path: "/:apiVersion/user/:handle/challenges/develop", action: "getUserDevelopChallenges" },
{ path: "/:apiVersion/user/challenges", action: "getMyChallenges" },
{ path: "/:apiVersion/user/activation-email", action: "userActivationEmail" },
{ path: "/:apiVersion/user/tcid/:id", action: "getUserIdentityByAuth0Id" },
{ path: "/:apiVersion/user/email/:handle", action: "getEmailByHandle" },
{ path: "/:apiVersion/user/identity", action: "getUserIdentity" },
{ path: "/:apiVersion/user/:handle/challenges/marathon", action: "getUserMarathonMatches" },
{ path: "/:apiVersion/user/:handle/challenges/algo", action: "getUserAlgorithmChallenges" },
{ path: "/:apiVersion/users/tops/:trackType", action: "getTopTrackMembers" },
{ path: "/:apiVersion/users/resetToken", action: "generateResetToken" },
{ path: "/:apiVersion/users/validateEmail", action: "emailValidation" },
{ path: "/:apiVersion/users/validate/:handle", action: "validateHandle" },
{ path: "/:apiVersion/users/validateSocial", action: "validateSocial" },
{ path: "/:apiVersion/users/activate", action: "activateUser" },
{ path: "/:apiVersion/users/search", action: "searchUsers" },
{ path: "/:apiVersion/users/:handle/statistics/develop", action: "getSoftwareStatistics" },
{ path: "/:apiVersion/users/:handle/statistics/design/recentWins", action: "getRecentWinningDesignSubmissions" },
{ path: "/:apiVersion/users/:handle/statistics/design", action: "getStudioStatistics" },
{ path: "/:apiVersion/users/:handle/statistics/data/marathon", action: "getMarathonStatistics" },
{ path: "/:apiVersion/users/:handle/statistics/data/srm", action: "getAlgorithmStatistics" },
{ path: "/:apiVersion/users/:handle", action: "getBasicUserProfile" },
{ path: "/:apiVersion/user/profile", action: "getMyProfile" },
{ path: "/:apiVersion/copilots/:handle/statistics/develop", action: "getCopilotStatistics" },
{ path: "/:apiVersion/data/srm/challenges/:id", action: "getSRMChallenge" },
{ path: "/:apiVersion/data/srm/challenges", action: "searchSRMChallenges" },
{ path: "/:apiVersion/data/srm/roundAccess", action: "loadRoundAccess"},
{ path: "/:apiVersion/data/srm/schedule", action: "getSRMSchedule"},
{ path: "/:apiVersion/data/srm/practice/problems", action: "getPracticeProblems" },
{ path: "/:apiVersion/data/srm/problems/:problemId/rounds", action: "getSrmRoundsForProblem" },
{ path: "/:apiVersion/data/marathon/challenges/:roundId/regInfo", action: "getMarathonChallengeRegInfo" },
{ path: "/:apiVersion/data/marathon/challenges/:id", action: "getMarathonChallenge" },
{ path: "/:apiVersion/data/marathon/challenges", action: "searchMarathonChallenges" },
{ path: "/:apiVersion/data/marathon/statistics/tops", action: "getMarathonTops" },
{ path: "/:apiVersion/data/srm/statistics/tops", action: "getSRMTops" },
{ path: "/:apiVersion/data/countries", action: "countries" },
{ path: "/:apiVersion/data/platforms", action: "getPlatforms" },
{ path: "/:apiVersion/data/technologies", action: "getTechnologies" },
{ path: "/:apiVersion/terms/:challengeId(\\d+)", action: "getChallengeTerms"},
{ path: "/:apiVersion/terms/detail/:termsOfUseId", action: "getTermsOfUse"},
{ path: "/:apiVersion/data/srm/contests", action: "listSRMContests"},
{ path: "/:apiVersion/dataScience/challenges/past", action: "pastDataScienceChallenges"},
{ path: "/:apiVersion/dataScience/challenges/active", action: "activeDataScienceChallenges"},
{ path: "/:apiVersion/dataScience/challenges/upcoming", action: "upcomingDataScienceChallenges"},
//example secure route using oauth. for future reference.
{ path: "/:apiVersion/secure/challengetypes", action: "softwareTypesSecured" },
{ path: "/:apiVersion/platform/statistics/:track", action: "getTrackStatistics" },
{ path: "/:apiVersion/platform/statistics", action: "tcDirectFacts" },
{ path: "/:apiVersion/platform/activeBillingAccounts", action: "getActiveBillingAccounts" },
{ path: "/:apiVersion/platform/leaderboard", action: "getLeaderboard"},
{ path: "/:apiVersion/download/document/:docId", action: "downloadDocument" },
//{ path: "/:apiVersion/reports/analyze", action: "getChallengeAnalyze" },
{ path: "/:apiVersion/reports/client/costs", action: "getClientChallengeCosts" },
{ path: "/:apiVersion/reports/client/challenges", action: "clientChallengeCosts" },
{ path: "/:apiVersion/reports/client/activeChallenges", action: "getClientActiveChallengeCosts" },
{ path: "/:apiVersion/reports/costs/:startDate/:endDate", action: "getChallengeCosts" },
{ path: "/:apiVersion/bugs/:jiraProjectId/:status", action: "bugs" },
{ path: "/:apiVersion/bugs/:jiraProjectId", action: "bugs" },
{ path: "/:apiVersion/bugs", action: "bugs" },
{ path: "/:apiVersion/validation/sso", action: "ssoValidation" },
{ path: "/:apiVersion/payments/preference", action: "getPaymentPreference" },
{ path: "/:apiVersion/payments", action: "getPaymentList" },
{ path: "/:apiVersion/data/srm/rounds/:roundId/questions", action: "getRoundQuestions" },
{ path: "/:apiVersion/data/srm/rounds/:questionId/answers", action: "getRoundQuestionAnswers" },
{ path: "/:apiVersion/data/srm/problems", action: "listSRMProblems" },
{ path: "/:apiVersion/data/srm/rounds/:roundId/problems", action: "listRoundProblems" },
{ path: "/:apiVersion/data/srm/rounds/:roundId/:problemId/:divisionId/components", action: "listRoundProblemComponents" },
{ path: "/:apiVersion/data/srm/rounds/:roundId/components", action: "listRoundProblemComponents" },
{ path: "/:apiVersion/data/srm/rounds/:roundId/terms", action: "getRoundTerms" },
{ path: "/:apiVersion/data/srm/rounds/:contestId", action: "listSRMContestRounds" },
{ path: "/:apiVersion/auth0/callback", action: "auth0Callback" },
{ path: "/:apiVersion/data/rounds", action: "getRounds" },
//Admin App - TC API Reviewer Management API
{ path: "/:apiVersion/admin/admins", action: "admins" },
{ path: "/:apiVersion/admin/copilots", action: "copilots" },
{ path: "/:apiVersion/admin/reviewers", action: "reviewers" },
//Stubs APIs
{ path: "/:apiVersion/data/reviewOpportunities/:id", action: "getAlgorithmsReviewOpportunity" },
{ path: "/:apiVersion/data/reviewOpportunities", action: "getAlgorithmsReviewOpportunities" },
{ path: "/:apiVersion/software/reviewers/:contestType", action: "getChallengeReviewers" },
{ path: "/:apiVersion/design/statistics/tops/:challengeType", action: "getStudioTops" },
{ path: "/:apiVersion/data/challengetypes", action: "algorithmsChallengeTypes" }
].concat(testMethods.get),
post: [
{ path: "/:apiVersion/users/resetPassword/:handle", action: "resetPassword" },
{ path: "/:apiVersion/users/password", action: "updatePassword" },
{ path: "/:apiVersion/develop/reviewOpportunities/:challengeId/apply", action: "applyDevelopReviewOpportunity" },
{ path: "/:apiVersion/terms/docusignCallback", action: "docusignCallback" },
{ path: "/:apiVersion/terms/:termsOfUseId/agree", action: "agreeTermsOfUse" },
{ path: "/:apiVersion/users/photo", action: "uploadMemberPhoto" },
{ path: "/:apiVersion/users", action: "memberRegister" },
{ path: "/:apiVersion/develop/challenges/:challengeId/submit", action: "submitForDevelopChallenge" },
{ path: "/:apiVersion/develop/challenges/:challengeId/upload", action: "uploadForDevelopChallenge" },
{ path: "/:apiVersion/design/challenges/:challengeId/submit", action: "submitForDesignChallenge" },
{ path: "/:apiVersion/challenges/:challengeId/register", action: "registerChallenge" },
{ path: "/:apiVersion/challenges/:challengeId/unregister", action: "unregisterChallenge" },
{ path: "/:apiVersion/auth", action: "generateJwt" },
{ path: "/:apiVersion/reauth", action: "refreshJwt" },
{ path: "/:apiVersion/platform/billings/users", action: "billingAccountsPermission" },
{ path: "/:apiVersion/platform/billing", action: "createBilling" },
{ path: "/:apiVersion/platform/customer", action: "createCustomer" },
{ path: "/:apiVersion/data/marathon/challenges/:roundId/register", action: "registerMarathonChallenge" },
{ path: "/:apiVersion/terms/docusign/viewURL", action: "generateDocusignViewURL"},
{ path: "/:apiVersion/payments/preference", action: "setPaymentPreference" },
{ path: "/:apiVersion/user/profile", action: "updateMyProfile" },
{ path: "/:apiVersion/design/reviewOpportunities/:challengeId/apply", action: "applyDesignReviewOpportunity" },
{ path: "/:apiVersion/data/srm/contests", action: "createSRMContest"},
{ path: "/:apiVersion/data/srm/rounds/:roundId/roomAssignment", action: "setRoundRoomAssignment"},
{ path: "/:apiVersion/data/srm/rounds/:roundId/languages", action: "setRoundLanguages"},
{ path: "/:apiVersion/data/srm/rounds/:roundId/events", action: "setRoundEvents"},
{ path: "/:apiVersion/data/srm/rounds/:roundId/questions", action: "addRoundQuestion"},
{ path: "/:apiVersion/data/srm/rounds/:roundId/segments", action: "setRoundSegments"},
{ path: "/:apiVersion/data/srm/rounds/:roundId/survey", action: "setRoundSurvey"},
{ path: "/:apiVersion/data/srm/questions/:questionId/answers", action: "addRoundQuestionAnswer"},
{ path: "/:apiVersion/data/srm/rounds/:questionId/question", action: "modifyRoundQuestion"},
{ path: "/:apiVersion/data/srm/rounds/:roundId/components", action: "setRoundComponents"},
{ path: "/:apiVersion/data/srm/rounds/:roundId/terms", action: "setRoundTerms"},
{ path: "/:apiVersion/data/srm/rounds", action: "createSRMContestRound" },
{ path: "/:apiVersion/src2image", action: "convertSourceCodeToImage" },
{ path: "/:apiVersion/dump", action: "dumpMemory"},
//Admin App - TC API Reviewer Management API
{ path: "/:apiVersion/admin/admins", action: "createAdmin" },
{ path: "/:apiVersion/admin/copilots", action: "createCopilot" },
{ path: "/:apiVersion/admin/reviewers", action: "createReviewer" }
],
put: [
{ path: "/:apiVersion/data/srm/contests/:id", action: "updateSRMContest"},
{ path: "/:apiVersion/data/srm/rounds/:oldRoundId", action: "modifySRMContestRound" },
{ path: "/:apiVersion/data/srm/answer/:answerId", action: "modifyRoundQuestionAnswer"}
],
delete: [
{ path: "/:apiVersion/data/srm/rounds/:questionId/question", action: "deleteRoundQuestion" },
{ path: "/:apiVersion/data/srm/rounds/:roundId", action: "deleteSRMContestRound" },
{ path: "/:apiVersion/data/srm/answer/:answerId", action: "deleteRoundQuestionAnswer" },
//Admin App - TC API Reviewer Management API
{ path: "/:apiVersion/admin/admins", action: "removeAdmin" },
{ path: "/:apiVersion/admin/copilots", action: "removeCopilot" },
{ path: "/:apiVersion/admin/reviewers", action: "removeReviewer" }
]
};