Get all pages in the Tests and Treatments A to Z

Overview

Use this endpoint to get details of pages in the tests-and-treatments A to Z.

Passing in no parameters returns all pages under 'tests-and-treatments'.

The response is limited to 25 child pages and is paginated.

There are a number of query parameters that filter the results.

Ordering by dates

The orderBy parameter can be dateModified, lastReviewed and nextReview. By default if any of the orderBy parameters are chosen the results are sorted by newest first.

However, the orderBy parameter can be used with the startDate and endDate parameters to filter down to the desired date. startDate and endDate should be given in the YYYY-MM-DD format.

For example https://api.service.nhs.uk/nhs-website-content/tests-and-treatments?startDate=2022-01-01&orderBy=dateModified

get/tests-and-treatments

Request

  • Base URL
    https://sandbox.api.service.nhs.uk/nhs-website-content
  • URL
    https://sandbox.api.service.nhs.uk/nhs-website-content/tests-and-treatments
  • Auth
    API key in header apikey

Response

A valid query for tests-and-treatments.

Schema required(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.