Skip to content
Open
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
21 changes: 21 additions & 0 deletions gateway-api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ info:
servers:
- url: http://localhost:5000
description: Local development server
components:
securitySchemes:
app-level0:
$ref: https://proxygen.ptl.api.platform.nhs.uk/components/securitySchemes/app-level0
paths:
/patient/$gpc.getstructuredrecord:
post:
summary: Get structured record
description: Returns a FHIR Bundle containing patient structured record
security:
- app-level0: []
operationId: getStructuredRecord
parameters:
- in: header
Expand Down Expand Up @@ -145,6 +151,8 @@ paths:
get:
summary: Health check
description: Returns the health status of the API
security:
- app-level0: []
operationId: healthCheck
responses:
'200':
Expand All @@ -160,3 +168,16 @@ paths:
required:
- status

x-nhsd-apim:
monitoring: false
access:
- title: Application Restricted
grants:
app-level0: []
target:
type: external
healthcheck: /health
url: <preview-endpoint-url>
security:
type: mtls
secret: <replace-with-secret-name>
Loading