doc: api: initiali version of the plugin interface.