Example plugin -------------- plugin.py +++++++++ .. literalinclude:: example/plugin.py :language: python form.json +++++++++++ .. literalinclude:: example/form.json :language: JSON Notes +++++ In this example, if the package or file were named ``my_plugin``, the three microscope plugin methods would be accessible from ``.plugin.my_plugin.identify()``, ``.plugin.my_plugin.timelapse()``, and ``.plugin.my_plugin.hello_world()``. Web API routes would automatically be set up at ``/api/v1/plugin/my_plugin/identify`` (GET), ``/api/v1/plugin/my_plugin/timelapse`` (POST), and ``/api/v1/plugin/my_plugin/hello`` (GET, POST).