mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-16 18:06:45 +00:00
25 lines
867 B
Nim
25 lines
867 B
Nim
# Admin API
|
|
|
|
proc get_waku_v2_admin_v1_peers(): seq[WakuPeer]
|
|
|
|
# Debug API
|
|
|
|
proc get_waku_v2_debug_v1_info(): WakuInfo
|
|
|
|
# Relay API
|
|
|
|
proc post_waku_v2_relay_v1_message(topic: string, message: WakuRelayMessage): bool
|
|
proc get_waku_v2_relay_v1_messages(topic: string): seq[WakuMessage]
|
|
proc post_waku_v2_relay_v1_subscriptions(topics: seq[string]): bool
|
|
proc delete_waku_v2_relay_v1_subscriptions(topics: seq[string]): bool
|
|
|
|
# Store API
|
|
|
|
proc get_waku_v2_store_v1_messages(topics: seq[ContentTopic], pagingOptions: Option[StorePagingOptions]): StoreResponse
|
|
|
|
# Filter API
|
|
|
|
proc get_waku_v2_filter_v1_messages(contentTopic: ContentTopic): seq[WakuMessage]
|
|
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
|