Skip to content

Commit 2a7e95d

Browse files
committed
revert remote content to /third-party-messages/ path
1 parent 1de09b3 commit 2a7e95d

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

openapi/api_communication.template.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ paths:
180180
schema:
181181
$ref: "#/components/schemas/ProblemJson"
182182

183-
# Remote Content Messages
184-
/remote-contents/{id}/precondition:
183+
# Third Party Messages
184+
/third-party-messages/{id}/precondition:
185185
get:
186186
operationId: getRemoteContentPrecondition
187-
summary: Retrieve remote content precondition
187+
summary: Retrieve third party message precondition
188188
description: |-
189-
Returns the precondition associated to the provided message ID to receive the remote content.
189+
Returns the precondition associated to the provided message ID to receive the third party message.
190190
parameters:
191191
- $ref: "#/components/parameters/MessageId"
192192
responses:
@@ -235,12 +235,12 @@ paths:
235235
description: Not Implemented
236236
'504':
237237
description: Gateway Timeout
238-
/remote-contents/{id}:
238+
/third-party-messages/{id}:
239239
get:
240240
operationId: getRemoteContent
241-
summary: Retrieve remote content
241+
summary: Retrieve third party message
242242
description: |-
243-
Returns the remote content with the provided message ID.
243+
Returns the third party message with the provided message ID.
244244
parameters:
245245
- $ref: "#/components/parameters/MessageId"
246246
responses:
@@ -304,10 +304,10 @@ paths:
304304
$ref: "#/components/schemas/ProblemJson"
305305
'504':
306306
description: Gateway Timeout
307-
/remote-contents/{id}/attachments/{attachment_url}:
307+
/third-party-messages/{id}/attachments/{attachment_url}:
308308
get:
309309
operationId: getRemoteContentAttachment
310-
summary: Retrieve an attachment of a remote content message
310+
summary: Retrieve an attachment of a third party message
311311
parameters:
312312
- $ref: "#/components/parameters/MessageId"
313313
- name: attachment_url

openapi/generated/api_communication.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,13 @@ paths:
186186
application/json:
187187
schema:
188188
$ref: '#/components/schemas/ProblemJson'
189-
/remote-contents/{id}/precondition:
189+
/third-party-messages/{id}/precondition:
190190
get:
191191
operationId: getRemoteContentPrecondition
192-
summary: Retrieve remote content precondition
192+
summary: Retrieve third party message precondition
193193
description: >-
194194
Returns the precondition associated to the provided message ID to
195-
receive the remote content.
195+
receive the third party message.
196196
parameters:
197197
- $ref: '#/components/parameters/MessageId'
198198
responses:
@@ -252,11 +252,11 @@ paths:
252252
description: Not Implemented
253253
'504':
254254
description: Gateway Timeout
255-
/remote-contents/{id}:
255+
/third-party-messages/{id}:
256256
get:
257257
operationId: getRemoteContent
258-
summary: Retrieve remote content
259-
description: Returns the remote content with the provided message ID.
258+
summary: Retrieve third party message
259+
description: Returns the third party message with the provided message ID.
260260
parameters:
261261
- $ref: '#/components/parameters/MessageId'
262262
responses:
@@ -323,10 +323,10 @@ paths:
323323
$ref: '#/components/schemas/ProblemJson'
324324
'504':
325325
description: Gateway Timeout
326-
/remote-contents/{id}/attachments/{attachment_url}:
326+
/third-party-messages/{id}/attachments/{attachment_url}:
327327
get:
328328
operationId: getRemoteContentAttachment
329-
summary: Retrieve an attachment of a remote content message
329+
summary: Retrieve an attachment of a third party message
330330
parameters:
331331
- $ref: '#/components/parameters/MessageId'
332332
- name: attachment_url

src/routes/communicationRoutes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export const registerCommunicationRoutes = (
201201
);
202202

203203
app.get(
204-
`${basePath}/remote-contents/:id/precondition`,
204+
`${basePath}/third-party-messages/:id/precondition`,
205205
authMiddleware,
206206
toExpressHandler(
207207
communicationController.getRemoteContentPrecondition,
@@ -210,7 +210,7 @@ export const registerCommunicationRoutes = (
210210
);
211211

212212
app.get(
213-
`${basePath}/remote-contents/:id`,
213+
`${basePath}/third-party-messages/:id`,
214214
authMiddleware,
215215
toExpressHandler(
216216
communicationController.getRemoteContent,
@@ -219,7 +219,7 @@ export const registerCommunicationRoutes = (
219219
);
220220

221221
app.get(
222-
`${basePath}/remote-contents/:id/attachments/:attachment_url(*)`,
222+
`${basePath}/third-party-messages/:id/attachments/:attachment_url(*)`,
223223
authMiddleware,
224224
toExpressHandler(
225225
communicationController.getRemoteContentAttachment,

0 commit comments

Comments
 (0)