You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [Common health questions](https://www.nhs.uk/common-health-questions/).
19
19
20
20
You cannot use this API to:
21
21
* [find services near you](https://www.nhs.uk/nhs-services/services-near-you/)
22
22
* get Ratings and Reviews of NHS services.
23
23
24
+
Pick a page from one of these sections on the [NHS website](https://www.nhs.uk/).
25
+
Make a note of the path in the page URL (the bit that appears after '`https://www.nhs.uk/`').
26
+
You can then use this path to make API calls to the 'Integration test' environment and the 'Production' environment like so ...\n\n**Integration test environment**\n\n`https://int.api.service.nhs.uk/nhs-website-content/YOUR_PATH_GOES_HERE`\n\n**Production environment**\n\n`https://api.service.nhs.uk/nhs-website-content/YOUR_PATH_GOES_HERE`
27
+
24
28
## Who can use this API
25
-
Anyone can use this API for any purpose, so long as they include an [attribution](#overview--attribution) as outlined below.
29
+
Anyone can use this API for any purpose, so long as they have agreed to the [Online connection agreement](https://digital.nhs.uk/developer/guides-and-documentation/online-connection-agreement) during the [onboarding process](https://digital.nhs.uk/developer/guides-and-documentation/onboarding-process) and they include an [attribution](#overview--attribution) as outlined below.
26
30
27
31
## Attribution
28
32
Any syndicated content must incorporate the following attribution (credit) to the NHS website:
The standard content available through our syndication service is based on the full pages on the NHS website. With our modularised content, you can instead choose to use shorter, more specific sections of content (called “modules”) from our pages. This means you can show your users only the content that’s most relevant to them. You can also use this content more easily in services like apps and voice assistants.
56
+
57
+
For more details see [Modularised NHS content](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/modularised-nhs-content#about-our-modularised-content).
58
+
50
59
## API status
51
60
This API has moved from the [NHS website developer portal](https://developer.api.nhs.uk/).
52
61
It is currently [in development](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#statuses).
| Integration test | `https://int.api.service.nhs.uk/nhs-website-content/` |
89
99
| Production | Not available yet |
90
100
@@ -108,9 +118,22 @@ info:
108
118
For more details see [integration testing with our RESTful APIs](https://digital.nhs.uk/developer/guides-and-documentation/testing#integration-testing-with-our-restful-apis).
109
119
110
120
## Onboarding
111
-
The onboarding journey for this API is currently in development.
121
+
You need to get your software approved by us before it can go live with this API. We call this onboarding.
112
122
113
-
Additional onboarding information exists on the [developer hub](https://digital.nhs.uk//developer/api-catalogue/nhs-syndicated-content/onboarding-support-information).
123
+
The [onboarding process](https://digital.nhs.uk/developer/guides-and-documentation/onboarding-process) for this API is currently in development.
124
+
125
+
During this process you will be asked agree to the [Online connection agreement](https://digital.nhs.uk/developer/guides-and-documentation/online-connection-agreement).
126
+
127
+
## Caching
128
+
Caching of all responses from the NHS website content API is recommended, and you should do so where possible, unless otherwise notified to you by NHS Digital. The cached data should be refreshed no less than once every 7 days. If instructed to refresh cached NHS website content, you must do so immediately.
| 401 | ACCESS_DENIED | ApiKey missing, invalid or expired, or calling application not configured for this operation. |
188
+
| 401 | ACCESS_DENIED | Api key missing, invalid or expired, or calling application not configured for this operation. |
166
189
| 403 | ACCESS_DENIED | User cannot perform this action. |
167
190
| 404 | RESOURCE_NOT_FOUND | Page not found. |
168
191
| 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
| 401 | ACCESS_DENIED | ApiKey missing, invalid or expired, or calling application not configured for this operation. |
229
+
| 401 | ACCESS_DENIED | Api key missing, invalid or expired, or calling application not configured for this operation. |
207
230
| 403 | ACCESS_DENIED | User cannot perform this action. |
208
231
| 404 | RESOURCE_NOT_FOUND | Page not found. |
209
232
| 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
| 401 | ACCESS_DENIED | ApiKey missing, invalid or expired, or calling application not configured for this operation. |
279
+
| 401 | ACCESS_DENIED | Api key missing, invalid or expired, or calling application not configured for this operation. |
257
280
| 403 | ACCESS_DENIED | User cannot perform this action. |
258
281
| 404 | RESOURCE_NOT_FOUND | Page not found. |
259
282
| 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
| 401 | ACCESS_DENIED | ApiKey missing, invalid or expired, or calling application not configured for this operation. |
310
+
| 401 | ACCESS_DENIED | Api key missing, invalid or expired, or calling application not configured for this operation. |
288
311
| 403 | ACCESS_DENIED | User cannot perform this action. |
289
312
| 404 | RESOURCE_NOT_FOUND | Page not found. |
290
313
| 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
| 401 | ACCESS_DENIED | ApiKey missing, invalid or expired, or calling application not configured for this operation. |
345
+
| 401 | ACCESS_DENIED | Api key missing, invalid or expired, or calling application not configured for this operation. |
346
+
| 403 | ACCESS_DENIED | User cannot perform this action. |
347
+
| 404 | RESOURCE_NOT_FOUND | Page not found. |
348
+
| 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
349
+
/live-well:
350
+
parameters:
351
+
- $ref: "#/components/parameters/apikey"
352
+
get:
353
+
summary: Get content from the Live Well hub.
354
+
operationId: get-live-well
355
+
description: |
356
+
## Overview
357
+
358
+
The [Live Well hub](https://www.nhs.uk/live-well/) contains a number of navigational and content pages.
359
+
360
+
The content of the page can be taken from the `mainEntityOfPage` part of the response. This includes the navigational links to child pages.
361
+
362
+
At the top level, modularised content of child pages is highlighted by the `hasPart` field. In child pages, only the individual page is shown.
| 401 | ACCESS_DENIED | Api key missing, invalid or expired, or calling application not configured for this operation. |
323
380
| 403 | ACCESS_DENIED | User cannot perform this action. |
324
381
| 404 | RESOURCE_NOT_FOUND | Page not found. |
325
382
| 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
| 401 | ACCESS_DENIED | ApiKey missing, invalid or expired, or calling application not configured for this operation. |
414
+
| 401 | ACCESS_DENIED | Api key missing, invalid or expired, or calling application not configured for this operation. |
358
415
| 403 | ACCESS_DENIED | User cannot perform this action. |
359
416
| 404 | RESOURCE_NOT_FOUND | Page not found. |
360
417
| 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
361
-
/common-health-questions:
418
+
/nhs-services:
362
419
parameters:
363
420
- $ref: "#/components/parameters/apikey"
364
421
get:
365
-
summary: Get content from the common health questions hub
366
-
operationId: get-common-health-questions
422
+
summary: Get content from the NHS services hub
423
+
operationId: get-nhs-services
367
424
description: |
368
425
## Overview
369
426
370
-
The [common health questions hub](https://www.nhs.uk/common-health-questions/) contains a number of navigational and content pages.
427
+
The [NHS services hub](https://www.nhs.uk/nhs-services/) contains a number of navigational and content pages.
371
428
372
-
The main page contains significant links to topic pages, which then contain significant links to the content pages.
429
+
The content of the page can be taken from `mainEntityOfPage`. This includes the navigational patterns to child pages.
373
430
374
-
Content pages use the 'question' schema.org [question](https://schema.org/Question) property.
431
+
At the top level, child modularised content is highlighted by the `hasPart` field. In child pages, only the individual page is highlighted.
375
432
376
433
responses:
377
434
"200":
378
435
description: |
379
-
A valid query for the common health questions pages.
| 401 | ACCESS_DENIED | ApiKey missing, invalid or expired, or calling application not configured for this operation. |
449
+
| 401 | ACCESS_DENIED | Api key missing, invalid or expired, or calling application not configured for this operation. |
393
450
| 403 | ACCESS_DENIED | User cannot perform this action. |
394
451
| 404 | RESOURCE_NOT_FOUND | Page not found. |
395
452
| 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
396
-
/live-well:
453
+
/common-health-questions:
397
454
parameters:
398
455
- $ref: "#/components/parameters/apikey"
399
456
get:
400
-
summary: Get content from the Live Well hub.
401
-
operationId: get-live-well
457
+
summary: Get content from the common health questions hub
458
+
operationId: get-common-health-questions
402
459
description: |
403
460
## Overview
404
461
405
-
The [Live Well hub](https://www.nhs.uk/live-well/) contains a number of navigational and content pages.
462
+
The [common health questions hub](https://www.nhs.uk/common-health-questions/) contains a number of navigational and content pages.
406
463
407
-
The content of the page can be taken from the `mainEntityOfPage` part of the response. This includes the navigational links to child pages.
464
+
The main page contains significant links to topic pages, which then contain significant links to the content pages.
465
+
466
+
Content pages use the 'question' schema.org [question](https://schema.org/Question) property.
408
467
409
-
At the top level, modularised content of child pages is highlighted by the `hasPart` field. In child pages, only the individual page is shown.
410
468
responses:
411
469
"200":
412
470
description: |
413
-
A valid query for the Live Well pages.
471
+
A valid query for the common health questions pages.
| 401 | ACCESS_DENIED | ApiKey missing, invalid or expired, or calling application not configured for this operation. |
484
+
| 401 | ACCESS_DENIED | Api key missing, invalid or expired, or calling application not configured for this operation. |
427
485
| 403 | ACCESS_DENIED | User cannot perform this action. |
428
486
| 404 | RESOURCE_NOT_FOUND | Page not found. |
429
487
| 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
0 commit comments