2023-10-27 13:01:14 +02:00
# /relay/v1/auto/messages/{contentTopic}: # Note the plural in messages
get : # get_waku_v2_relay_v1_auto_messages
summary : Get the latest messages on the polled topic
2024-10-25 11:42:35 +03:00
description : Get a list of messages that were received on a subscribed Content topic after the last time this method was called. Messages are selected from the last 50 messages received by the node.
2023-10-27 13:01:14 +02:00
operationId : getMessagesByTopic
tags :
- relay
parameters :
- in : path
name : contentTopic # Note the name is the same as in the path
required : true
schema :
type : string
description : The user ID
responses :
'200' :
description : The latest messages on the polled topic.
content :
application/json :
schema :
$ref : './schemas/apitypes.yaml#/RelayGetMessagesResponse'
'4XX' :
description : Bad request.
'5XX' :
description : Unexpected error.