diff --git a/spec/16/index.html b/spec/16/index.html index 0fcb96bf..56fb47bb 100644 --- a/spec/16/index.html +++ b/spec/16/index.html @@ -488,7 +488,7 @@ the retrieved version string MAY contain the git commit hash alone or in combina Relay API # -
Refer to the Waku Relay specification for more information on the relaying of messages.
+Refer to the Waku Relay specification for more information on the relaying of messages.
post_waku_v2_relay_v1_message
#
@@ -635,7 +635,7 @@ the retrieved version string MAY contain the git commit hash alone or in combina
Relay Private API
#
-The Private API provides functionality to encrypt/decrypt WakuMessage
payloads using either symmetric or asymmetric cryptography. This allows backwards compatibility with Waku v1 nodes.
+
The Private API provides functionality to encrypt/decrypt WakuMessage
payloads using either symmetric or asymmetric cryptography. This allows backwards compatibility with Waku v1 nodes.
It is the API client’s responsibility to keep track of the keys used for encrypted communication. Since keys must be cached by the client and provided to the node to encrypt/decrypt payloads, a Private API SHOULD NOT be exposed on non-local or untrusted nodes.
KeyPair
- A new public/private key pair as hex encoded data stringsKeyPair
- A new public/private key pair as hex encoded data stringspost_waku_v2_private_v1_symmetric_message
@@ -879,7 +879,7 @@ It is the API client’s responsibility to keep track of the keys used for e
#
Array
[WakuMessage
] - the latest messages
on the polled topic
or an error on failure.Array
[WakuMessage
] - the latest messages
on the polled topic
or an error on failure.cursor
Index
Index
Index
from which to perform pagination. If not included and forward
is set to true
, paging will be performed from the beginning of the list. If not included and forward
is set to false
, paging will be performed from the end of the list.Index
from which to perform pagination. If not included and forward
is set to true
, paging will be performed from the beginning of the list. If not included and forward
is set to false
, paging will be performed from the end of the list.forward
digest
String
Index
Index
receivedTime
Number
Index
was receivedIndex
was receivedget_waku_v2_store_v1_messages
#
The get_waku_v2_store_v1_messages
method retrieves historical messages on specific content topics. This method MAY be called with PagingOptions
, to retrieve historical messages on a per-page basis. If the request included PagingOptions
, the node MUST return messages on a per-page basis and include PagingOptions
in the response. These PagingOptions
MUST contain a cursor
pointing to the Index
from which a new page can be requested.
The get_waku_v2_store_v1_messages
method retrieves historical messages on specific content topics. This method MAY be called with PagingOptions
, to retrieve historical messages on a per-page basis. If the request included PagingOptions
, the node MUST return messages on a per-page basis and include PagingOptions
in the response. These PagingOptions
MUST contain a cursor
pointing to the Index
from which a new page can be requested.
startTime
Number
timestamp
of queried WakuMessage
s. This field holds the Unix epoch time in nanoseconds as a 64-bits integer value.timestamp
of queried WakuMessage
s. This field holds the Unix epoch time in nanoseconds as a 64-bits integer value.endTime
Number
timestamp
of queried WakuMessage
s. This field holds the Unix epoch time in nanoseconds as a 64-bits integer value.timestamp
of queried WakuMessage
s. This field holds the Unix epoch time in nanoseconds as a 64-bits integer value.pagingOptions
Refer to the Waku Filter specification for more information on content filtering.
+Refer to the Waku Filter specification for more information on content filtering.
post_waku_v2_filter_v1_subscription
#
The post_waku_v2_filter_v1_subscription
method creates a subscription in a light node for messages that matches a content filter and, optionally, a PubSub topic
.
The post_waku_v2_filter_v1_subscription
method creates a subscription in a light node for messages that matches a content filter and, optionally, a PubSub topic
.
delete_waku_v2_filter_v1_subscription
#
-The delete_waku_v2_filter_v1_subscription
method removes subscriptions in a light node matching a content filter and, optionally, a PubSub topic
.
The delete_waku_v2_filter_v1_subscription
method removes subscriptions in a light node matching a content filter and, optionally, a PubSub topic
.
Array
[WakuPeer
] - Array of peers registered on this nodeArray
[WakuPeer
] - Array of peers registered on this nodepost_waku_v2_admin_v1_peers
@@ -1486,7 +1486,7 @@ It is the API client’s responsibility to keep track of the keys used for e