Documentation
¶
Overview ¶
drivers is an example plugin that other plugins ask. It knows which drivers are on this team — a list the operator types into its settings — and answers two questions about them.
It is here to be the other half of examples/payments, which asks it whether the driver a payment names is one of the team's. Nothing below is clever; the thing worth reading is the shape. A plugin that answers declares its kinds in its manifest, spelled with its own name, and implements plugin.Answerer. The payload of a question and of an answer are this plugin's to define, and they are documented here because the server does not know them:
drivers.lookup {"slug": "ana-ruiz"} → {"slug": "ana-ruiz", "known": true, "name": "Ana Ruiz"}
drivers.list (no payload) → {"drivers": [{"slug": ..., "name": ...}, ...]}
Click to show internal directories.
Click to hide internal directories.