Merge pull request #15 from waku-org/chore-specifying-cache-size
chore: specify that messages from relay and filter endpoints come from a cache of size 50
This commit is contained in:
commit
cdd6ad218b
|
@ -1,7 +1,7 @@
|
|||
# /filter/v2/messages/{contentTopic}:
|
||||
get: # get_waku_v2_filter_v2_messages
|
||||
summary: Get the latest messages on the polled content topic
|
||||
description: Get a list of messages that were received on a subscribed content topic after the last time this method was called.
|
||||
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.
|
||||
operationId: getMessagesByTopic
|
||||
tags:
|
||||
- filter
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# /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
|
||||
description: Get a list of messages that were received on a subscribed Content topic after the last time this method was called.
|
||||
description: Get a list of messages that were received on a subscribed Content topic after the last time this method was called. By default, messages are selected from the last 30 messages received by the node. You can modify the number of cached messages with the --rest-relay-cache-capacity CLI argument.
|
||||
operationId: getMessagesByTopic
|
||||
tags:
|
||||
- relay
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# /relay/v1/messages/{pubsubTopic}: # Note the plural in messages
|
||||
get: # get_waku_v2_relay_v1_messages
|
||||
summary: Get the latest messages on the polled topic
|
||||
description: Get a list of messages that were received on a subscribed PubSub topic after the last time this method was called.
|
||||
description: Get a list of messages that were received on a subscribed PubSub topic after the last time this method was called. By default, messages are selected from the last 30 messages received by the node. You can modify the number of cached messages with the --rest-relay-cache-capacity CLI argument.
|
||||
operationId: getMessagesByTopic
|
||||
tags:
|
||||
- relay
|
||||
|
|
Loading…
Reference in New Issue