sylphx events realtime_members
Every sylphx events realtime_members command: its argument, its flags and a run line.
The realtime_members commands of Sylphx Events, as the CLI spells them: the same
calls as the realtime_members API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
get
Gets one client present in a channel.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx events realtime-members get orgs/acme/projects/shop/envs/production/realtime_channels/realtime-channel/realtime_members/realtime-memberGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/realtime_channels/realtime-channel/realtime_members/realtime-member · scope events:read · effect read · Request, response and examples
list
Lists the clients present in a channel now.
PARENT — optional: the CLI fills it from the linked project or the
key's scope when it is left out.
CLI
sylphx events realtime-members list orgs/acme/projects/shop/envs/production/realtime_channels/realtime-channelGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/realtime_channels/realtime-channel/realtime_members · scope events:read · effect read · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--page-size | int | At most this many; default 50, clamped to 1000. |
--page-token | string | next_page_token of the previous page. |
read
Advances a member read cursor monotonically and sets mute.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx events realtime-members read orgs/acme/projects/shop/envs/production/realtime_channels/realtime-channel/realtime_members/realtime-memberPOST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/realtime_channels/realtime-channel/realtime_members/realtime-member:read · scope events:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--last-read-cursor | string | Last visible message cursor; empty leaves the read cursor unchanged. |
--muted | bool | Conversation notification preference; supplied on every call. |