-
Notifications
You must be signed in to change notification settings - Fork 562
/
Copy pathroutes
35 lines (27 loc) · 2.51 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
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# For dev machines
GET /assets/*path dev.DevAssetsController.at(path)
GET /_healthcheck commercial.controllers.HealthCheck.healthCheck()
# Content API merchandising components
# Attempting to remove ContentApiOffersController, discovered
# https://github.com/guardian/commercial-templates/blob/dba808f89127d4405f4f4f087208e6135400e61c/src/capi-single-paidfor/web/index.js#L30
# https://api.nextgen.guardianapps.co.uk/commercial/api/capi-single.json?k=qantas-insurance-rewarding-loyalty/qantas-insurance-rewarding-loyalty
GET /commercial/api/capi-single.json commercial.controllers.ContentApiOffersController.nativeJson
GET /commercial/api/capi-multiple.json commercial.controllers.ContentApiOffersController.nativeJsonMulti
# Piggyback pixel from AppNexus, used for resizing mpus
GET /commercial/anx/anxresize.js commercial.controllers.PiggybackPixelController.resize()
# Hosted content
GET /advertiser-content/:campaignName/:pageName commercial.controllers.HostedContentController.renderHostedPage(campaignName, pageName)
GET /advertiser-content/:campaignName/:pageName/:cType/onward.json commercial.controllers.HostedContentController.renderOnwardComponent(campaignName, pageName, cType)
GET /advertiser-content/:campaignName/:pageName/autoplay.json commercial.controllers.HostedContentController.renderAutoplayComponent(campaignName, pageName)
# ADS.TXT + APP-ADS.txt Standard
GET /ads.txt commercial.controllers.AdsDotTextViewController.renderTextFile()
GET /app-ads.txt commercial.controllers.AdsDotTextViewController.renderAppTextFile()
# Passbacks
GET /commercial/ias-passback/:size commercial.controllers.PassbackController.renderIasPassback(size)
# AMP iframe HTML, needed for AMP (DCR repo)
GET /commercial/amp-iframe.html commercial.controllers.AmpIframeHtmlController.renderAmpIframeHtml()
# DFP Non refreshable line items
GET /commercial/non-refreshable-line-items.json commercial.controllers.nonRefreshableLineItemsController.getIds