Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions specification/components/schemas/ApiKey.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
schema:
type: string
example: 11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA
example: aTfjAa9vHfnmaQNABgSXGFCS9SFVMLWc
description: |
The api key required to send a successful request.
The API key required to send a successful request.
4 changes: 2 additions & 2 deletions specification/nhs-website-content-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ paths:

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.nhs.uk/medicines?apikey=xxx&startDate=2022-01-01&orderBy=dateModified`
For example `https://api.nhs.uk/medicines?startDate=2022-01-01&orderBy=dateModified`

responses:
"200":
Expand Down Expand Up @@ -394,7 +394,7 @@ components:
required: true
schema:
type: string
example: "11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA"
example: "aTfjAa9vHfnmaQNABgSXGFCS9SFVMLWc"
startDate:
name: startDate
in: query
Expand Down