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:
gabrielmer 2024-10-29 13:59:50 +02:00 committed by GitHub
commit cdd6ad218b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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