Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Events

Pincer streams real-time status notifications to all connected WebSocket clients. You do not need to poll for updates.

Previous: Advanced Features · Next: System Controls


Event Reference

EventScenario
pin.onDownloadStartTriggered when a task enters active state.
pin.onDownloadPauseTriggered when a task is manually paused.
pin.onDownloadCompleteTriggered when a task finishes successfully.
pin.onDownloadErrorTriggered when a task fails.
pin.onDownloadStopTriggered when a task is stopped.
pin.onBtDownloadCompleteTriggered when a BitTorrent download completes.

Notification Format

All events follow the standard JSON-RPC 2.0 notification format (no id field):

{
  "jsonrpc": "2.0",
  "method": "pin.onDownloadComplete",
  "params": [{"gid": "2089b05ecca3d829"}]
}

The params array contains a single object with the gid (task ID) that triggered the event.