From 13176a4c9124d8a0e57022d9b9a211228cdba990 Mon Sep 17 00:00:00 2001 From: Gabriel mermelstein Date: Fri, 25 Oct 2024 17:18:59 +0300 Subject: [PATCH] fixing description for relay --- api-spec/relayapi_auto_content_topic.yaml | 2 +- api-spec/relayapi_messages.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-spec/relayapi_auto_content_topic.yaml b/api-spec/relayapi_auto_content_topic.yaml index 60540a9..a1d34d8 100644 --- a/api-spec/relayapi_auto_content_topic.yaml +++ b/api-spec/relayapi_auto_content_topic.yaml @@ -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. Messages are selected from the last 50 messages received by the node. + 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 parameter. operationId: getMessagesByTopic tags: - relay diff --git a/api-spec/relayapi_messages.yaml b/api-spec/relayapi_messages.yaml index 2ca844f..868bf4b 100644 --- a/api-spec/relayapi_messages.yaml +++ b/api-spec/relayapi_messages.yaml @@ -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. Messages are selected from the last 50 messages received by the node. + 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 parameter. operationId: getMessagesByTopic tags: - relay