logos-messaging-rest-api/api-spec/messagingapi_subscriptions.yaml
NagyZoltanPeter c9ca0687a6
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-08-03 13:03:44 +02:00

51 lines
1.3 KiB
YAML

# /messaging/v1/subscriptions:
post: # post_messaging_v1_subscriptions
summary: Subscribe the messaging client to an array of content topics
description: Subscribe the messaging client to an array of content topics.
operationId: postMessagingSubscriptions
tags:
- messaging
requestBody:
content:
application/json:
schema:
type: array
items:
$ref: './schemas/apitypes.yaml#/ContentTopic'
responses:
'200':
description: OK
content:
text/plain:
schema:
type: string
'4XX':
description: Bad request.
'5XX':
description: Unexpected error.
delete: # delete_messaging_v1_subscriptions
summary: Unsubscribe the messaging client from an array of content topics
description: Unsubscribe the messaging client from an array of content topics.
operationId: deleteMessagingSubscriptions
tags:
- messaging
requestBody:
content:
application/json:
schema:
type: array
items:
$ref: './schemas/apitypes.yaml#/ContentTopic'
responses:
'200':
description: OK
content:
text/plain:
schema:
type: string
'4XX':
description: Bad request.
'5XX':
description: Unexpected error.