Updates an integration on a NocoDB server via its PATCH /api/v2/meta/integrations
API endpoint.
Usage
update_integration(
id_integration,
connection = NULL,
title = NULL,
type = NULL,
sub_type = NULL,
search_paths = NULL,
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
- id_integration
character(1)
NocoDB integration identifier as returned byintegration_id()
.- connection
list()
Subtype-specific connection details for database integrations.- title
pkgsnip::type("chr", 1L)
NocoDB integration title.- type
pkgsnip::type("chr", 1L)
NocoDB integration type. One of"database"
, orNULL
for any type.- sub_type
pkgsnip::type("chr", 1L)
NocoDB integration subtype. One of"mysql2"
,"pg"
or"sqlite3"
, orNULL
for any subtype.- search_paths
character()
Database search paths (schemas) to expose for the"pg"
integration.- 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.
Value
A tibble with metadata about the updated NocoDB integration, invisibly.
See also
Other functions to manage NocoDB integrations:
create_integration()
,
delete_integration()
,
integration()
,
integration_id()
,
integrations()