plantEvents
Connect to receive real-time plant lifecycle events.
Subscribe to specific event types or receive all events.
Handshake
WSS
wss://ws.plantstore.dev/ws/plants
Headers
Authorization
Bearer token for authentication.
Query parameters
eventTypes
Comma-separated list of event types to subscribe to.
Valid values: plant.created, plant.updated, plant.status.changed
If omitted, all events are delivered.
plantId
Filter events for a specific plant ID.
Send
subscribe
Send a subscription request to filter events.
Receive
receivePlantEvents
Receive plant lifecycle events from the server.
OR
receivePlantEvents
Receive plant lifecycle events from the server.
OR
receivePlantEvents
Receive plant lifecycle events from the server.