mirror of
https://github.com/logos-messaging/logos-delivery-rest-api.git
synced 2026-07-24 04:03:17 +00:00
24 lines
725 B
YAML
24 lines
725 B
YAML
|
|
# /messaging/v1/messages:
|
||
|
|
post: # post_messaging_v1_messages
|
||
|
|
summary: Send a message through the messaging client
|
||
|
|
description: Sends a message (a MessageEnvelope) through the messaging client and returns the request id used to correlate the subsequent send events.
|
||
|
|
operationId: postMessagingMessage
|
||
|
|
tags:
|
||
|
|
- messaging
|
||
|
|
requestBody:
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
$ref: './schemas/apitypes.yaml#/MessagingJsonEnvelope'
|
||
|
|
responses:
|
||
|
|
'200':
|
||
|
|
description: OK
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
$ref: './schemas/apitypes.yaml#/MessagingSendResponse'
|
||
|
|
'4XX':
|
||
|
|
description: Bad request.
|
||
|
|
'5XX':
|
||
|
|
description: Unexpected error.
|