-
Notifications
You must be signed in to change notification settings - Fork 5
/
core.routes.yml
198 lines (176 loc) · 4.9 KB
/
core.routes.yml
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
home: /
about:
pattern: /about
children:
mission: ./mission
team: ./team
internships: ./internships
ambassadors: ./ambassadors
endorsements: ./endorsements
research-outputs: './research-outputs'
mission: ~about#our-mission
team: ~about#team
internships: ~about#internships
endorsements: ~about/endorsements
faq: /faq
disclaimer: /terms#disclaimer
research-outputs: ~about/research-outputs
contact: ~about#contact
accessibility: /accessibility
privacy: /privacy
cookies: /cookies
browse: /browse
search: /search
community:
pattern: /governance
children:
research: ./research
supporters: ./supporters
membership:
pattern: /membership
children:
supporting: ./supporting
sustaining: ./sustaining
payment:
pattern: /payment
membershipRequestStatus:
pattern: /membership-request-status
children:
success: /success
error: /error
services:
pattern: /services
children:
api: ./api
dataset: ./dataset
consultancy: ./consultancy
sdk: ./sdk
recommender: ./recommender
connector: ./connector
repository-dashboard: ./repository-dashboard
analytics-dashboard: ./analytics-dashboard
fast-sync: ./fastsync
fastsync: ./fastsync
discovery: ./discovery
search: /search
fast: ./fastsync
labs-oadiscovery: ./labs/discovery
plugin: ./plugin
mobile: ./mobile
support: /services/support
services-sparqlendpoint: /services/sparqlendpoint
services-getdatadump-form:
pattern: /dataset/getdatadump
controller: CoreWebBundle:DataDumpRequest:dataDumpForm
services-getdatadump-verify-submit:
pattern: /dataset/complete
controller: CoreWebBundle:DataDumpRequest:verifySubmit
requirements:
method: post
services-dataset-dynamic-render:
pattern: /dataset/render/{showDownloadLink}
controller: CoreWebBundle:DataSet:renderDynamicDataSets
requirements:
method: get
data: /data
data-providers: /data-providers
# Despite this might look as a mistake, the route is hosted from oacore/search
# with a reverse proxy configured to the current website.
register-data-provider: /data-providers?query=&size=10&action=add#add-new-data-provider
benefits-of-joining: /benefits
repositories:
pattern: /repositories
controller: CoreWebBundle:Repositories:list
repositories-datatable:
pattern: /repositories/datatable
controller: CoreWebBundle:Repositories:datatable
repository-page:
pattern: /repository/{repositoryId}
controller: CoreWebBundle:Repositories:display
journals:
pattern: /journals
controller: CoreWebBundle:Journals:list
journals-datatable:
pattern: /journals/datatable
controller: CoreWebBundle:Journals:datatable
journal-page:
pattern: /journal/{issn}
controller: CoreWebBundle:Journals:display
intro-datadumps-redirect:
pattern: /intro/data-dumps
defaults:
controller: FrameworkBundle:Redirect:urlRedirect
path: /services#dataset
permanent: true
recommendations: /recommendations
join:
pattern: /join
children:
eligible: ./eligible
submit:
pattern: ./submit
controller: CoreWebBundle:Join:submit
submit-complete: ./submit/complete
guidelines: ./guidelines
corerecommendations: /corerecommendations
providers-id:
pattern: /providers/{repoId}
defaults: { -controller: CoreWebBundle:Providers:getProviderWithoutName }
requirements:
repoId: '\d+'
providers-id-name:
pattern: /providers/{repoId}/{repoName}
defaults: { -controller: CoreWebBundle:Providers:getProviderWithName }
requirements:
repoId: '\d+'
repoName: .*
display:
pattern: /display/{id}
controller: CoreWebBundle:Article:display
display-tab:
pattern: /display/{id}/tab/{tab}
controller: CoreWebBundle:Article:display
display-form:
pattern: /article-update/{id}
controller: CoreWebBundle:ArticleForm:ArticleForm
display-form-complete:
pattern: /display/{id}/requestsent
controller: CoreWebBundle:ArticleForm:completed
repository-statistics:
pattern: /repository/statistics/{repoId}
controller: CoreWebBundle:RepoInfo:GetStatistics
requirements:
repoId: \d+
repository-info:
pattern: /repository/info/{repoId}
controller: CoreWebBundle:RepoInfo:GetInfo
requirements:
repoId: \d+
methods: [GET]
image:
pattern: /image/{id}/{size}
controller: CoreWebBundle:Image:getImage
requirements:
id: \d+
size: (small|medium|large)
download-redirect-pdf:
pattern: /download/files/{repositoryId}/{articleId}.{extension}
defaults:
controller: FrameworkBundle:Redirect:redirect
route: download-pdf
permanent: true
download-pdf:
pattern: /download/pdf/{articleId}.{extension}
controller: CoreWebBundle:Download:download
requirements:
articleId: \d+
extension: pdf
sitemapxml: /sitemap.xml
sitemapxml-index: /sitemap.xml/{index}
repositories-location: /repositories/locations
blog: https://blog.core.ac.uk
static: /
images: /images
documents: /documents
ref-audit: /ref-audit
how-core-supports-open-access: /how-core-supports-open-access