Skip to content

Commit

Permalink
fix: CARITAS-243 - remove /messages/forward api from messageservice.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro13Silva13 committed Aug 26, 2024
1 parent 5985790 commit 3171558
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions services/messageservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -275,54 +275,6 @@ paths:
security:
- Bearer: [ ]

/messages/forward:
post:
tags:
- message-controller
summary: 'Forward a Rocket.Chat message to another group [Authorization: Role:
u25-consultant]'
operationId: forwardMessage
parameters:
- name: rcToken
in: header
required: true
schema:
type: string
- name: rcUserId
in: header
required: true
schema:
type: string
- name: rcGroupId
in: header
required: true
schema:
type: string
requestBody:
description: Body description
content:
'application/json':
schema:
$ref: '#/components/schemas/ForwardMessageDTO'
required: true
responses:
201:
description: CREATED - message was successfully created
content:
'application/json':
schema:
$ref: '#/components/schemas/MessageResponseDTO'
400:
description: BAD REQUEST - invalid/incomplete request or body object
401:
description: UNAUTHORIZED - no/invalid Keycloak token
403:
description: FORBIDDEN - no/invalid role/authorization
500:
description: INTERNAL SERVER ERROR - server encountered unexpected condition
security:
- Bearer: [ ]

/messages/draft:
post:
tags:
Expand Down

0 comments on commit 3171558

Please sign in to comment.