-
Notifications
You must be signed in to change notification settings - Fork 556
/
routes
153 lines (127 loc) · 17.3 KB
/
routes
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
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
GET /_healthcheck controllers.HealthCheck.healthCheck()
# authentication endpoints
GET /oauthCallback http.GuardianAuthWithExemptions.oauthCallback
# static files
GET /assets/admin/lib/*file controllers.admin.UncachedWebAssets.at(file)
GET /assets/admin/*file controllers.admin.UncachedAssets.at(file)
GET /assets/*path dev.DevAssetsController.at(path)
##################### NOTE ############################
#all endpoints below this line should be authenticated#
#######################################################
# Index page
GET / controllers.admin.AdminIndexController.index()
GET /admin controllers.admin.AdminIndexController.admin()
# Facia Press
GET /press controllers.FrontPressController.press()
POST /press/all controllers.FrontPressController.queueAllFrontsForPress()
POST /press/high controllers.FrontPressController.queueHighFrequencyFrontsForPress()
POST /press/standard controllers.FrontPressController.queueStandardFrequencyFrontsForPress()
POST /press/low controllers.FrontPressController.queueLowFrequencyFrontsForPress()
# R2 Press
GET /press/r2 controllers.admin.R2PressController.pressForm()
POST /press/r2 controllers.admin.R2PressController.press()
GET /press/r2/batchupload controllers.admin.R2PressController.pressForm()
POST /press/r2/batchupload controllers.admin.R2PressController.batchUpload()
GET /images/clear controllers.cache.ImageDecacheController.renderImageDecacheForm()
POST /images/clear controllers.cache.ImageDecacheController.decache()
GET /page/clear controllers.cache.PageDecacheController.renderPageDecache()
POST /page/clear controllers.cache.PageDecacheController.decachePage()
GET /ajax/clear controllers.cache.PageDecacheController.renderAjaxDecache()
POST /ajax/clear controllers.cache.PageDecacheController.decacheAjax()
# Interactive Pressing
POST /interactive-librarian/live-presser/*path controllers.admin.InteractiveLibrarianController.liveContentsPress(path: String)
POST /interactive-librarian/read-clean-write/*path controllers.admin.InteractiveLibrarianController.readCleanWrite(path: String)
# Articles / Interactives Pressing
GET /press/content controllers.admin.InteractiveLibrarianController.pressForm()
POST /press/content/*path controllers.admin.InteractiveLibrarianController.press(path: String)
# Development endpoints
GET /dev/switchboard controllers.admin.SwitchboardController.renderSwitchboard()
POST /dev/switchboard controllers.admin.SwitchboardController.save()
# Analytics
GET /analytics/abtests controllers.admin.AnalyticsController.abtests()
GET /analytics/confidence controllers.admin.AnalyticsConfidenceController.renderConfidence()
# Commercial
GET /commercial controllers.admin.CommercialController.renderCommercialMenu()
GET /commercial/specialadunits controllers.admin.CommercialController.renderSpecialAdUnits()
GET /commercial/pageskins controllers.admin.CommercialController.renderPageskins()
GET /commercial/surging controllers.admin.CommercialController.renderSurgingContent()
GET /commercial/liveblog-top controllers.admin.CommercialController.renderLiveBlogTopSponsorships()
GET /commercial/survey controllers.admin.CommercialController.renderSurveySponsorships()
GET /commercial/templates controllers.admin.CommercialController.renderCreativeTemplates()
GET /commercial/fluid250 controllers.admin.CommercialController.renderFluidAds()
GET /commercial/adtests controllers.admin.CommercialController.renderAdTests()
GET /commercial/keyvalues controllers.admin.CommercialController.renderKeyValues()
GET /commercial/keyvalues/csv/*key controllers.admin.CommercialController.renderKeyValuesCsv(key)
GET /commercial/dfp/flush/view controllers.admin.commercial.DfpDataController.renderCacheFlushPage()
GET /commercial/dfp/flush controllers.admin.commercial.DfpDataController.flushCache()
GET /commercial/adops/takeovers-empty-mpus controllers.admin.commercial.TakeoverWithEmptyMPUsController.viewList()
GET /commercial/adops/takeovers-empty-mpus/create controllers.admin.commercial.TakeoverWithEmptyMPUsController.viewForm()
POST /commercial/adops/takeovers-empty-mpus/create controllers.admin.commercial.TakeoverWithEmptyMPUsController.create()
POST /commercial/adops/takeovers-empty-mpus/remove controllers.admin.commercial.TakeoverWithEmptyMPUsController.remove(t)
GET /commercial/invalid-lineitems controllers.admin.CommercialController.renderInvalidItems()
GET /commercial/custom-fields controllers.admin.CommercialController.renderCustomFields()
GET /commercial/adgrabber/order/:orderId controllers.admin.CommercialController.getLineItemsForOrder(orderId: String)
GET /commercial/adgrabber/previewUrls/:lineItemId/:section controllers.admin.CommercialController.getCreativesListing(lineItemId: String, section: String)
GET /commercial/adops/ads-txt controllers.admin.commercial.AdsDotTextEditController.renderAdsDotText()
POST /commercial/adops/ads-txt controllers.admin.commercial.AdsDotTextEditController.postAdsDotText()
GET /commercial/adops/app-ads-txt controllers.admin.commercial.AdsDotTextEditController.renderAppAdsDotText()
POST /commercial/adops/app-ads-txt controllers.admin.commercial.AdsDotTextEditController.postAppAdsDotText()
# Config
GET /config controllers.AppConfigController.renderAppConfig()
GET /config/parameter/*key controllers.AppConfigController.findParameter(key: String)
# Metrics
GET /metrics/loadbalancers controllers.admin.MetricsController.renderLoadBalancers()
GET /metrics/fastly controllers.admin.FastlyController.renderFastly()
GET /metrics/errors controllers.admin.MetricsController.renderErrors()
GET /metrics/errors/4xx controllers.admin.MetricsController.render4XX()
GET /metrics/errors/5xx controllers.admin.MetricsController.render5XX()
GET /metrics/googlebot/404 controllers.admin.MetricsController.renderGooglebot404s()
GET /metrics/afg controllers.admin.MetricsController.renderAfg()
GET /metrics/webpack-bundle-visualization controllers.admin.MetricsController.renderBundleVisualization()
GET /metrics/webpack-bundle-analyzer controllers.admin.MetricsController.renderBundleAnalyzer()
# Used by Prout to know which builds/commits have been deployed in PROD
GET /deploys controllers.admin.DeploysController.getDeploys(stage: Option[String], pageSize: Option[Int])
POST /deploy controllers.admin.DeploysController.deploy(stage: String, build: Int)
# Redirects
GET /redirects controllers.admin.RedirectController.redirect()
POST /redirect-post controllers.admin.RedirectController.redirectPost()
POST /redirect-batch-post controllers.admin.RedirectController.redirectBatchPost()
# Sport troubleshooter
GET /troubleshoot/football controllers.admin.SportTroubleshooterController.renderFootballTroubleshooter()
GET /troubleshoot/cricket controllers.admin.SportTroubleshooterController.renderCricketTroubleshooter()
GET /troubleshoot/pages controllers.admin.TroubleshooterController.index()
GET /troubleshoot/test controllers.admin.TroubleshooterController.test(id, testPath)
# Football admin
GET /admin/football controllers.admin.SiteController.index
GET /admin/football/browse controllers.admin.PaBrowserController.browse
POST /admin/football/browserRedirect controllers.admin.PaBrowserController.browserSubstitution()
GET /admin/football/browser/*query controllers.admin.PaBrowserController.browser(query)
GET /admin/football/player controllers.admin.PlayerController.playerIndex
POST /admin/football/player/card controllers.admin.PlayerController.redirectToCard
GET /admin/football/player/card/competition/:cardType/:playerId/:teamId/:compId.json controllers.admin.PlayerController.playerCardCompetitionJson(cardType: String, playerId: String, teamId: String, compId: String)
GET /admin/football/player/card/competition/:cardType/:playerId/:teamId/:compId controllers.admin.PlayerController.playerCardCompetition(cardType: String, playerId: String, teamId: String, compId: String)
GET /admin/football/player/card/date/:cardType/:playerId/:teamId/:startDate.json controllers.admin.PlayerController.playerCardDateJson(cardType: String, playerId: String, teamId: String, startDate: String)
GET /admin/football/player/card/date/:cardType/:playerId/:teamId/:startDate controllers.admin.PlayerController.playerCardDate(cardType: String, playerId: String, teamId: String, startDate: String)
GET /admin/football/tables controllers.admin.TablesController.tablesIndex
POST /admin/football/tables/league controllers.admin.TablesController.redirectToTable
GET /admin/football/tables/league/:competitionId controllers.admin.TablesController.leagueTable(competitionId: String)
GET /admin/football/tables/league/:competitionId/:focus controllers.admin.TablesController.leagueTableFragment(competitionId: String, focus: String)
GET /admin/football/tables/league/:competitionId/:team1Id/:team2Id controllers.admin.TablesController.leagueTable2Teams(competitionId: String, team1Id: String, team2Id: String)
GET /admin/football/fronts controllers.admin.FrontsController.index
GET /admin/football/fronts/live controllers.admin.FrontsController.matchDay
POST /admin/football/fronts/results/redirect controllers.admin.FrontsController.resultsRedirect
GET /admin/football/fronts/results/:competition controllers.admin.FrontsController.results(competition: String)
POST /admin/football/fronts/fixtures/redirect controllers.admin.FrontsController.fixturesRedirect
GET /admin/football/fronts/fixtures/:competition controllers.admin.FrontsController.fixtures(competition: String)
POST /admin/football/fronts/tables/redirect controllers.admin.FrontsController.tablesRedirect
GET /admin/football/fronts/tables/:competition controllers.admin.FrontsController.tables(competition: String)
GET /admin/football/fronts/tables/:competition/:group controllers.admin.FrontsController.groupTables(competition, group)
POST /admin/football/fronts/matches/redirect controllers.admin.FrontsController.matchesRedirect
GET /admin/football/fronts/matches/:competitionId controllers.admin.FrontsController.chooseMatchForComp(competitionId)
GET /admin/football/fronts/matches/:competitionId/:teamId controllers.admin.FrontsController.chooseMatchForCompAndTeam(competitionId, teamId)
GET /admin/football/fronts/matches/:competitionId/:team1Id/:team2Id controllers.admin.FrontsController.chooseMatchForCompAndTeams(competitionId, team1Id, team2Id)
GET /admin/football/fronts/match/:matchId controllers.admin.FrontsController.bigMatchSpecial(matchId)
GET /admin/football/api/squad/:teamId controllers.admin.PlayerController.squad(teamId: String)