Skip to content

Commit 960f992

Browse files
author
Paul Flynn
committed
updated the content api documentation overview page and sandbox examples
1 parent 915ce15 commit 960f992

11 files changed

Lines changed: 2816 additions & 4 deletions

sandbox/responses/baby-caring-for-a-newborn-no-params.json

Whitespace-only changes.
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"@context": "http://schema.org",
3+
"@type": "MedicalWebPage",
4+
"name": "First aid and safety",
5+
"copyrightHolder": {
6+
"name": "Crown Copyright",
7+
"@type": "Organization"
8+
},
9+
"license": "https://developer.api.nhs.uk/terms",
10+
"author": {
11+
"url": "https://www.nhs.uk",
12+
"logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png",
13+
"email": "nhswebsite.servicedesk@nhs.net",
14+
"@type": "Organization",
15+
"name": "NHS website"
16+
},
17+
"about": {
18+
"@type": "WebPage",
19+
"name": "First aid and safety",
20+
"alternateName": ""
21+
},
22+
"description": "What do if your child has an accident and the latest safety advice.",
23+
"url": "https://api.service.nhs.uk/baby/first-aid-and-safety/",
24+
"genre": [],
25+
"keywords": "",
26+
"dateModified": "2021-11-18T16:12:32+00:00",
27+
"hasPart": [],
28+
"breadcrumb": {
29+
"@context": "http://schema.org",
30+
"@type": "BreadcrumbList",
31+
"itemListElement": [
32+
{
33+
"@type": "ListItem",
34+
"position": 0,
35+
"item": {
36+
"@id": "https://api.service.nhs.uk/baby/",
37+
"name": "Baby",
38+
"genre": []
39+
}
40+
},
41+
{
42+
"@type": "ListItem",
43+
"position": 1,
44+
"item": {
45+
"@id": "https://api.service.nhs.uk/baby/first-aid-and-safety/",
46+
"name": "First aid and safety",
47+
"genre": []
48+
}
49+
}
50+
]
51+
},
52+
"headline": "First aid and safety",
53+
"contentSubTypes": [],
54+
"mainEntityOfPage": [
55+
{
56+
"identifier": "24",
57+
"@type": "WebPageElement",
58+
"name": "canonicallinks",
59+
"headline": "",
60+
"text": "",
61+
"mainEntityOfPage": [
62+
{
63+
"@type": "WebPageElement",
64+
"headline": "First aid",
65+
"url": "https://api.service.nhs.uk/baby/first-aid-and-safety/first-aid/",
66+
"identifier": "26",
67+
"text": "<p>Learn how to stop a baby choking and what to do if they have an accident</p>",
68+
"name": "link"
69+
},
70+
{
71+
"@type": "WebPageElement",
72+
"headline": "Safety",
73+
"url": "https://api.service.nhs.uk/baby/first-aid-and-safety/safety/",
74+
"identifier": "26",
75+
"text": "<p>The latest safety advice including tips on buying car seats and sun safety</p>",
76+
"name": "link"
77+
}
78+
]
79+
}
80+
]
81+
}
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
{
2+
"@context": "http://schema.org",
3+
"@type": "MedicalWebPage",
4+
"name": "Baby",
5+
"copyrightHolder": {
6+
"name": "Crown Copyright",
7+
"@type": "Organization"
8+
},
9+
"license": "https://developer.api.nhs.uk/terms",
10+
"author": {
11+
"url": "https://www.nhs.uk",
12+
"logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png",
13+
"email": "nhswebsite.servicedesk@nhs.net",
14+
"@type": "Organization",
15+
"name": "NHS website"
16+
},
17+
"about": {
18+
"@type": "WebPage",
19+
"name": "Baby",
20+
"alternateName": ""
21+
},
22+
"description": "This guide includes everything you need to know about caring for a baby.",
23+
"url": "https://api.service.nhs.uk/baby/",
24+
"genre": [],
25+
"keywords": "",
26+
"dateModified": "2025-04-16T12:30:54+00:00",
27+
"hasPart": [],
28+
"breadcrumb": {
29+
"@context": "http://schema.org",
30+
"@type": "BreadcrumbList",
31+
"itemListElement": [
32+
{
33+
"@type": "ListItem",
34+
"position": 0,
35+
"item": {
36+
"@id": "https://api.service.nhs.uk/baby/",
37+
"name": "Baby",
38+
"genre": []
39+
}
40+
}
41+
]
42+
},
43+
"headline": "Baby",
44+
"contentSubTypes": [],
45+
"mainEntityOfPage": [
46+
{
47+
"identifier": "24",
48+
"@type": "WebPageElement",
49+
"name": "canonicallinks",
50+
"headline": "",
51+
"text": "",
52+
"mainEntityOfPage": [
53+
{
54+
"@type": "WebPageElement",
55+
"headline": "Caring for a newborn baby",
56+
"url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/",
57+
"identifier": "26",
58+
"text": "<p>How to look after a newborn baby in those first few days (0 to 12 weeks)</p>",
59+
"name": "link"
60+
},
61+
{
62+
"@type": "WebPageElement",
63+
"headline": "Support and services",
64+
"url": "https://api.service.nhs.uk/baby/support-and-services/",
65+
"identifier": "26",
66+
"text": "<p>How to keep well after having a baby and where to get support</p>",
67+
"name": "link"
68+
},
69+
{
70+
"@type": "WebPageElement",
71+
"headline": "Breastfeeding and bottle feeding advice",
72+
"url": "https://api.service.nhs.uk/baby/breastfeeding-and-bottle-feeding/",
73+
"identifier": "26",
74+
"text": "<p>How to breastfeed and bottle feed</p>",
75+
"name": "link"
76+
},
77+
{
78+
"@type": "WebPageElement",
79+
"headline": "Newborn screening",
80+
"url": "https://api.service.nhs.uk/baby/newborn-screening/",
81+
"identifier": "26",
82+
"text": "<p>Find out what screening tests your newborn baby will be offered</p>",
83+
"name": "link"
84+
},
85+
{
86+
"@type": "WebPageElement",
87+
"headline": "Newborn twins and multiples",
88+
"url": "https://api.service.nhs.uk/baby/newborn-twins-and-multiples/",
89+
"identifier": "26",
90+
"text": "<p>Help with raising newborn twins and multiples including feeding advice</p>",
91+
"name": "link"
92+
},
93+
{
94+
"@type": "WebPageElement",
95+
"headline": "Health",
96+
"url": "https://api.service.nhs.uk/baby/health/",
97+
"identifier": "26",
98+
"text": "<p>What to do if your child needs medical help and vaccination guidance</p>",
99+
"name": "link"
100+
},
101+
{
102+
"@type": "WebPageElement",
103+
"headline": "First aid and safety",
104+
"url": "https://api.service.nhs.uk/baby/first-aid-and-safety/",
105+
"identifier": "26",
106+
"text": "<p>What do if your child has an accident and the latest safety advice</p>",
107+
"name": "link"
108+
},
109+
{
110+
"@type": "WebPageElement",
111+
"headline": "Baby's development",
112+
"url": "https://api.service.nhs.uk/baby/babys-development/",
113+
"identifier": "26",
114+
"text": "<p>Read about baby reviews, teething, potty training, learning and behaviour</p>",
115+
"name": "link"
116+
},
117+
{
118+
"@type": "WebPageElement",
119+
"headline": "Weaning and feeding",
120+
"url": "https://api.service.nhs.uk/baby/weaning-and-feeding/",
121+
"identifier": "26",
122+
"text": "<p>How to move on to solid foods and drinks, meal ideas and food safety</p>",
123+
"name": "link"
124+
}
125+
]
126+
}
127+
]
128+
}
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
{
2+
"@context": "http://schema.org",
3+
"@type": "MedicalWebPage",
4+
"name": "Support and services",
5+
"copyrightHolder": {
6+
"name": "Crown Copyright",
7+
"@type": "Organization"
8+
},
9+
"license": "https://developer.api.nhs.uk/terms",
10+
"author": {
11+
"url": "https://www.nhs.uk",
12+
"logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png",
13+
"email": "nhswebsite.servicedesk@nhs.net",
14+
"@type": "Organization",
15+
"name": "NHS website"
16+
},
17+
"about": {
18+
"@type": "WebPage",
19+
"name": "Support and services",
20+
"alternateName": ""
21+
},
22+
"description": "How to keep well after having a baby and where to get support.",
23+
"url": "https://api.service.nhs.uk/baby/support-and-services/",
24+
"genre": [],
25+
"keywords": "",
26+
"dateModified": "2021-11-18T16:12:29+00:00",
27+
"hasPart": [],
28+
"breadcrumb": {
29+
"@context": "http://schema.org",
30+
"@type": "BreadcrumbList",
31+
"itemListElement": [
32+
{
33+
"@type": "ListItem",
34+
"position": 0,
35+
"item": {
36+
"@id": "https://api.service.nhs.uk/baby/",
37+
"name": "Baby",
38+
"genre": []
39+
}
40+
},
41+
{
42+
"@type": "ListItem",
43+
"position": 1,
44+
"item": {
45+
"@id": "https://api.service.nhs.uk/baby/support-and-services/",
46+
"name": "Support and services",
47+
"genre": []
48+
}
49+
}
50+
]
51+
},
52+
"headline": "Support and services",
53+
"contentSubTypes": [],
54+
"mainEntityOfPage": [
55+
{
56+
"identifier": "25",
57+
"@type": "WebPageElement",
58+
"name": "keylinks",
59+
"headline": "",
60+
"text": "",
61+
"mainEntityOfPage": [
62+
{
63+
"@type": "WebPageElement",
64+
"headline": "Services and support for parents",
65+
"url": "https://api.service.nhs.uk/baby/support-and-services/services-and-support-for-parents/",
66+
"identifier": "26",
67+
"text": "",
68+
"name": "link"
69+
},
70+
{
71+
"@type": "WebPageElement",
72+
"headline": "Tips for new parents",
73+
"url": "https://api.service.nhs.uk/baby/support-and-services/tips-for-new-parents/",
74+
"identifier": "26",
75+
"text": "",
76+
"name": "link"
77+
},
78+
{
79+
"@type": "WebPageElement",
80+
"headline": "Your 6-week postnatal check",
81+
"url": "https://api.service.nhs.uk/baby/support-and-services/your-6-week-postnatal-check/",
82+
"identifier": "26",
83+
"text": "",
84+
"name": "link"
85+
},
86+
{
87+
"@type": "WebPageElement",
88+
"headline": "Your post-pregnancy body",
89+
"url": "https://api.service.nhs.uk/baby/support-and-services/your-post-pregnancy-body/",
90+
"identifier": "26",
91+
"text": "",
92+
"name": "link"
93+
},
94+
{
95+
"@type": "WebPageElement",
96+
"headline": "Keeping fit and healthy with a baby",
97+
"url": "https://api.service.nhs.uk/baby/support-and-services/keeping-fit-and-healthy-with-a-baby/",
98+
"identifier": "26",
99+
"text": "",
100+
"name": "link"
101+
},
102+
{
103+
"@type": "WebPageElement",
104+
"headline": "Coping with stress after having a baby",
105+
"url": "https://api.service.nhs.uk/baby/support-and-services/coping-with-stress-after-having-a-baby/",
106+
"identifier": "26",
107+
"text": "",
108+
"name": "link"
109+
},
110+
{
111+
"@type": "WebPageElement",
112+
"headline": "Feeling depressed after childbirth",
113+
"url": "https://api.service.nhs.uk/baby/support-and-services/feeling-depressed-after-childbirth/",
114+
"identifier": "26",
115+
"text": "",
116+
"name": "link"
117+
},
118+
{
119+
"@type": "WebPageElement",
120+
"headline": "Sleep and tiredness after having a baby",
121+
"url": "https://api.service.nhs.uk/baby/support-and-services/sleep-and-tiredness-after-having-a-baby/",
122+
"identifier": "26",
123+
"text": "",
124+
"name": "link"
125+
},
126+
{
127+
"@type": "WebPageElement",
128+
"headline": "Sex and contraception after birth",
129+
"url": "https://api.service.nhs.uk/baby/support-and-services/sex-and-contraception-after-birth/",
130+
"identifier": "26",
131+
"text": "",
132+
"name": "link"
133+
},
134+
{
135+
"@type": "WebPageElement",
136+
"headline": "Advice for single parents",
137+
"url": "https://api.service.nhs.uk/baby/support-and-services/advice-for-single-parents/",
138+
"identifier": "26",
139+
"text": "",
140+
"name": "link"
141+
},
142+
{
143+
"@type": "WebPageElement",
144+
"headline": "Relationships after having a baby",
145+
"url": "https://api.service.nhs.uk/baby/support-and-services/relationships-after-having-a-baby/",
146+
"identifier": "26",
147+
"text": "",
148+
"name": "link"
149+
}
150+
]
151+
}
152+
]
153+
}

0 commit comments

Comments
 (0)