Skip to content

Commit bb21720

Browse files
authored
Merge pull request #18 from NHSDigital/deploy-test
Deploy Test - demo
2 parents a1f4a99 + 9ee962a commit bb21720

3 files changed

Lines changed: 17 additions & 29 deletions

File tree

proxies/live/apiproxy/policies/javascript.CaptureProxyHostName.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

proxies/live/apiproxy/policies/javascript.rewriteHostName.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

specification/nhs-website-content-api.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,19 @@ paths:
119119
| status | Filter by "published" or "unpublished" | string |
120120
121121
responses:
122-
'200':
122+
"200":
123123
description: |
124124
A valid query for the conditions.
125125
headers:
126126
apikey:
127-
$ref: "#/components/headers/apikey"
127+
$ref: "#/components/headers/apiKey"
128128
content:
129129
application/schema+json:
130130
schema:
131131
$ref: components/schemas/WebPage.json
132132
example:
133133
$ref: components/examples/ConditionsHealthAToZ.json
134-
'4XX':
134+
"4XX":
135135
description: |
136136
An error occurred as follows:
137137
@@ -163,7 +163,7 @@ paths:
163163
# Modularisation
164164
We modularise some of our content, meaning that individual parts of the page can be reused. If a page is modularised, content appears in the `hasPart` field.
165165
responses:
166-
'200':
166+
"200":
167167
description: |
168168
A valid query which returns a page object for the chosen page
169169
headers:
@@ -175,7 +175,7 @@ paths:
175175
$ref: components/schemas/WebPage.json
176176
example:
177177
$ref: components/examples/ConditionsContentPage.json
178-
'4XX':
178+
"4XX":
179179
description: |
180180
An error occurred as follows:
181181
@@ -225,7 +225,7 @@ paths:
225225
For example `https://api.nhs.uk/medicines?apiKey=xxx&startDate=2022-01-01&orderBy=dateModified`
226226
227227
responses:
228-
'200':
228+
"200":
229229
description: |
230230
A valid query for medicines.
231231
headers:
@@ -237,7 +237,7 @@ paths:
237237
$ref: components/schemas/WebPage.json
238238
example:
239239
$ref: components/examples/MedicinesAToZ.json
240-
'4XX':
240+
"4XX":
241241
description: |
242242
An error occurred as follows:
243243
@@ -259,7 +259,7 @@ paths:
259259
260260
This can be used to get specific information about individual medicines.
261261
responses:
262-
'200':
262+
"200":
263263
description: |
264264
A valid query for medicines.
265265
headers:
@@ -271,7 +271,7 @@ paths:
271271
$ref: components/schemas/WebPage.json
272272
example:
273273
$ref: components/examples/MedicinesContentPage.json
274-
'4XX':
274+
"4XX":
275275
description: |
276276
An error occurred as follows:
277277
@@ -297,7 +297,7 @@ paths:
297297
At the top level, modularised content of child pages is highlighted by the `hasPart` field. In child pages, only the individual page is shown.
298298
299299
responses:
300-
'200':
300+
"200":
301301
description: |
302302
A valid query for the mental health hub.
303303
headers:
@@ -309,7 +309,7 @@ paths:
309309
$ref: components/schemas/WebPage.json
310310
example:
311311
$ref: components/examples/MentalHealthHubPage.json
312-
'4XX':
312+
"4XX":
313313
description: |
314314
An error occurred as follows:
315315
@@ -335,7 +335,7 @@ paths:
335335
At the top level, child modularised content is highlighted by the `hasPart` field. In child pages, only the individual page is highlighted.
336336
337337
responses:
338-
'200':
338+
"200":
339339
description: |
340340
A valid query for the pregnancy hub.
341341
headers:
@@ -347,7 +347,7 @@ paths:
347347
$ref: components/schemas/WebPage.json
348348
example:
349349
$ref: components/examples/PregnancyHubPage.json
350-
'4XX':
350+
"4XX":
351351
description: |
352352
An error occurred as follows:
353353
@@ -373,7 +373,7 @@ paths:
373373
Content pages use the 'question' schema.org [question](https://schema.org/Question) property.
374374
375375
responses:
376-
'200':
376+
"200":
377377
description: |
378378
A valid query for the common health questions pages.
379379
headers:
@@ -385,7 +385,7 @@ paths:
385385
$ref: components/schemas/WebPage.json
386386
example:
387387
$ref: components/examples/CommonHealthQuestionsHubPage.json
388-
'4XX':
388+
"4XX":
389389
description: |
390390
An error occurred as follows:
391391
@@ -410,7 +410,7 @@ paths:
410410
411411
At the top level, modularised content of child pages is highlighted by the `hasPart` field. In child pages, only the individual page is shown.
412412
responses:
413-
'200':
413+
"200":
414414
description: |
415415
A valid query for the Live Well pages.
416416
headers:
@@ -422,7 +422,7 @@ paths:
422422
$ref: components/schemas/WebPage.json
423423
example:
424424
$ref: components/examples/LiveWellHubPage.json
425-
'4XX':
425+
"4XX":
426426
description: |
427427
An error occurred as follows:
428428

0 commit comments

Comments
 (0)