Add or replace durable subscribers
Operation boundary
- Caller: Trusted backend only
- Scope: A missing target Channel is created implicitly; an omitted or zero channel_type is treated as group type 2.
- Atomicity: Reset removal, chunked insertion, and large refresh are separate stages and may partially complete.
POST
/channel/subscriber_addAdds non-blank subscribers; channel_type 0 becomes group type 2 and reset=1 replaces the snapshot.
Request Body
application/json
Ordinary subscribers to add or replace.
TypeScript Definitions
Use the request body type in TypeScript.
Ordinary-subscriber add or replacement parameters.
Response Body
application/json
application/json
application/json
{ "status": 200}