plantEvents

View as MarkdownOpen in Claude

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

AuthorizationstringRequired
Bearer token for authentication.

Query parameters

eventTypesstringRequired

Comma-separated list of event types to subscribe to.
Valid values: plant.created, plant.updated, plant.status.changed
If omitted, all events are delivered.

plantIdstringRequired
Filter events for a specific plant ID.

Send

subscribeobjectRequired
Send a subscription request to filter events.

Receive

receivePlantEventsobjectRequired
Receive plant lifecycle events from the server.
OR
receivePlantEventsobjectRequired
Receive plant lifecycle events from the server.
OR
receivePlantEventsobjectRequired
Receive plant lifecycle events from the server.