2020-12-15 15:48:00 +00:00
|
|
|
# Admin API
|
|
|
|
|
|
|
|
proc get_waku_v2_admin_v1_peers(): seq[WakuPeer]
|
2021-03-11 07:05:39 +00:00
|
|
|
proc post_waku_v2_admin_v1_peers(peers: seq[string]): bool
|
2020-12-15 15:48:00 +00:00
|
|
|
|
2020-11-27 07:18:48 +00:00
|
|
|
# Debug API
|
|
|
|
|
|
|
|
proc get_waku_v2_debug_v1_info(): WakuInfo
|
|
|
|
|
|
|
|
# Relay API
|
|
|
|
|
2020-11-30 09:44:57 +00:00
|
|
|
proc post_waku_v2_relay_v1_message(topic: string, message: WakuRelayMessage): bool
|
2020-12-01 09:57:54 +00:00
|
|
|
proc get_waku_v2_relay_v1_messages(topic: string): seq[WakuMessage]
|
2020-11-27 07:18:48 +00:00
|
|
|
proc post_waku_v2_relay_v1_subscriptions(topics: seq[string]): bool
|
|
|
|
proc delete_waku_v2_relay_v1_subscriptions(topics: seq[string]): bool
|
|
|
|
|
|
|
|
# Store API
|
|
|
|
|
2022-02-17 15:00:15 +00:00
|
|
|
proc get_waku_v2_store_v1_messages(pubsubTopicOption: Option[string], contentFiltersOption: Option[seq[HistoryContentFilter]], startTime: Option[Timestamp], endTime: Option[Timestamp], pagingOptions: Option[StorePagingOptions]): StoreResponse
|
2020-11-30 09:44:57 +00:00
|
|
|
|
|
|
|
# Filter API
|
|
|
|
|
2020-12-03 16:26:34 +00:00
|
|
|
proc get_waku_v2_filter_v1_messages(contentTopic: ContentTopic): seq[WakuMessage]
|
2020-11-30 09:44:57 +00:00
|
|
|
proc post_waku_v2_filter_v1_subscription(contentFilters: seq[ContentFilter], topic: Option[string]): bool
|
|
|
|
proc delete_waku_v2_filter_v1_subscription(contentFilters: seq[ContentFilter], topic: Option[string]): bool
|
2020-12-23 09:33:28 +00:00
|
|
|
|
|
|
|
# Private API
|
|
|
|
# Symmetric
|
|
|
|
proc get_waku_v2_private_v1_symmetric_key(): SymKey
|
|
|
|
proc post_waku_v2_private_v1_symmetric_message(topic: string, message: WakuRelayMessage, symkey: string): bool
|
|
|
|
proc get_waku_v2_private_v1_symmetric_messages(topic: string, symkey: string): seq[WakuRelayMessage]
|
|
|
|
# Asymmetric
|
|
|
|
proc get_waku_v2_private_v1_asymmetric_keypair(): WakuKeyPair
|
|
|
|
proc post_waku_v2_private_v1_asymmetric_message(topic: string, message: WakuRelayMessage, publicKey: string): bool
|
2021-05-05 08:34:40 +00:00
|
|
|
proc get_waku_v2_private_v1_asymmetric_messages(topic: string, privateKey: string): seq[WakuRelayMessage]
|