Integration

Configure the plugin from the admin console.

Plugin configuration

Using your favorite browser, open the FlowerDocs admin console, then:

  • go to Configuration section
  • open the Plugins menu
  • click on the + button to start creating a new plugin
  • fill in the requested information:
    • Path: /my-plugin/**
    • URL: http://localhost:2802/secured

Plugin access

Now that your GUI plugin has been configured, you can access the /count endpoint through the GUI via the URL: <gui>/plugins/<scope>/my-plugin/count.

You can also test the return of the implemented service with different users to observe that the number of documents found depends on the logged-in user.


Since the plugin requires a token, direct access via the URL http://localhost:2802/secured/count is prohibited.