Skip to content

Commit c96b223

Browse files
committed
CCM-11580: Remove unneeded endpoints and resource types
+ Move getData endpoint under letter
1 parent 4da401a commit c96b223

File tree

17 files changed

+45
-159
lines changed

17 files changed

+45
-159
lines changed

specification/api/components/endpoints/getMI.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

specification/api/components/endpoints/headDataId.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
summary: Check for the existance of a data file
1+
summary: Check for the existence of a data file
22
tags:
33
- data
44
responses:

specification/api/components/endpoints/listLetters.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
summary: Get a list of letters
1+
summary: Get a list of PENDING letters
22
operationId: listLetters
33
tags:
44
- letter
5-
parameters:
6-
- $ref: "../parameters/letterStatus.yml"
7-
- $ref: "../parameters/pageNumber.yml"
5+
# We have disabled pagination and will only return PENDING letters via this endpoint for now
6+
#parameters:
7+
# - $ref: "../parameters/letterStatus.yml"
8+
# - $ref: "../parameters/pageNumber.yml"
89
description: The key use of this endpoint is to query letters which are ready to be printed
910
responses:
1011
'200':

specification/api/components/endpoints/listMI.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

specification/api/components/endpoints/postLetters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ operationId: postLetters
33
tags:
44
- letter
55
requestBody:
6-
$ref: '../requests/postLetterRequest.yml'
6+
$ref: '../requests/postLettersRequest.yml'
77
responses:
88
'200':
99
$ref: "../responses/postLetters200.yml"

specification/api/components/examples/getMI/responses/getMI.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

specification/api/components/examples/listMI/responses/listMI.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

specification/api/components/examples/postLetter/requests/postLetter.json renamed to specification/api/components/examples/postLetter/requests/postLetters.json

File renamed without changes.

specification/api/components/requests/postLetterRequest.yml renamed to specification/api/components/requests/postLettersRequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ content:
1010
$ref: ../schemas/letterUpdateItem.yml
1111
examples:
1212
post-letter-request:
13-
$ref: ../examples/postLetter/requests/postLetter.json
13+
$ref: ../examples/postLetter/requests/postLetters.json

specification/api/components/responses/getMI200.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)