Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/tk/clinic-merge-report'
Browse files Browse the repository at this point in the history
  • Loading branch information
Roukoswarf committed Aug 2, 2024
2 parents df738ac + 723ddbd commit d59d47f
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion reference/clinic.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ paths:
in: query
name: bgm.totalRecordsDelta
description: Delta of total record count

- schema:
type: string
format: date-time
Expand Down Expand Up @@ -2069,6 +2069,24 @@ paths:
- Clinics
- Internal
x-internal: true
'/v1/clinics/{clinicId}/reports/merge':
parameters:
- $ref: '#/components/parameters/clinicId'
post:
summary: Generate Clinic Merge Report
operationId: GenerateMergeReport
responses:
'200':
description: OK
description: Generates a spreadsheet report for merging two clinics
tags:
- Clinics
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GenerateMergeReport'
description: ''
components:
schemas:
Error:
Expand Down Expand Up @@ -2440,6 +2458,16 @@ components:
- client_secret
ScheduledReports:
$ref: ./clinic/models/scheduledreports.v1.yaml
GenerateMergeReport:
title: GenerateMergeReport
x-stoplight:
id: 3oq18sasrzo0o
type: object
properties:
sourceId:
$ref: ./clinic/models/clinicid.v1.yaml
required:
- sourceId
securitySchemes:
sessionToken:
name: x-tidepool-session-token
Expand Down

0 comments on commit d59d47f

Please sign in to comment.