logos-messaging-rest-api/api-spec/lightpushapi_legacy.yaml

37 lines
907 B
YAML

post:
summary: Request a message relay from a `Legacy` LightPush service provider
description: Push a message to be relayed on a PubSub topic. Notice this version of the /lightpush endpoint will be depricated.
operationId: postMessagesToPubsubTopic
tags:
- lightpush
requestBody:
content:
application/json:
schema:
$ref: './schemas/apitypes.yaml#/PushRequest'
responses:
'200':
description: OK
content:
text/plain:
schema:
type: string
'400':
description: Bad request.
content:
text/plain:
schema:
type: string
'500':
description: Internal server error
content:
text/plain:
schema:
type: string
'503':
description: Service not available
content:
text/plain:
schema:
type: string