Skip to contents

Tests whether the plugin with the specified title is active on a NocoDB server via its GET /api/v1/db/meta/plugins/{title}/status API endpoint.

Usage

is_plugin_active(
  title,
  hostname = pal::pkg_config_val("hostname"),
  email = pal::pkg_config_val("email"),
  password = pal::pkg_config_val("password"),
  api_token = pal::pkg_config_val("api_token")
)

Arguments

title

NocoDB plugin title. A character scalar.

hostname

NocoDB server hostname. A character scalar.

email

E-mail address of the NocoDB user to authenticate with.

password

Password of the NocoDB user to authenticate with.

api_token

NocoDB API token. Takes precedence over email and password if provided.

Value

A logical scalar.

Details

Note that the API endpoint doesn't check the plugin title for validity and simply returns FALSE for a title which does not actually exist.

See also

Other functions to manage NocoDB plugins: plugin(), plugin_category(), plugin_id(), plugins(), test_plugin(), update_plugin()