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,
origin = pal::pkg_config_val("origin"),
email = pal::pkg_config_val("email"),
password = pal::pkg_config_val("password"),
api_token = pal::pkg_config_val("api_token")
)
Arguments
- title
character(1)
NocoDB plugin title.- origin
character(1)
NocoDB server origin.character(1)
E-mail address of the NocoDB user to authenticate with.- password
character(1)
Password of the NocoDB user to authenticate with.- api_token
character(1)
NocoDB API token. Takes precedence overemail
andpassword
if provided.
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()