WuKongIM Docs

Messages

Message recovery, events, and command-message compatibility.

Append a message event

Validates and applies one message-scoped event projection; non-null headers are unsupported.

Synchronize current message event projections

Reads current durable event projections after a sequence cursor, with filtering after a bounded read; not a replayable event log.

Synchronize command messages

Returns the latest durable CMD generation; message_seq is accepted but ignored.

Acknowledge the latest command sync

Requires a positive last_message_seq but acknowledges the server's latest recorded generation, not that supplied value.

Bind command-channel discovery

Starts bounded recipient discovery after one committed command tail.

Unbind command-channel discovery

Tombstones bounded recipient discovery without deleting command messages.

Synchronize one Channel's committed messages

Checks membership visibility and returns an ascending page; limit is 100 by default and capped at 10000.

Synchronize up to 200 Channels

Validates all memberships before one aligned batch read; item failures are embedded in the HTTP-200 response.

Look up exact committed messages

Looks up exact committed messages within membership visibility; selector, result and scan limits fail without partial results.

Replace a message payload

Replaces an ordinary retained payload with version and restore-epoch checks. CMD, stream and nonpersistent messages cannot be edited.

Pull edits for one channel

Bootstrap with an empty cursor before loading history. Drain more pages and merge versions with the cursor atomically; this feed returns latest states.