Skip to contents

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 by integration_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", or NULL for any type.

sub_type

pkgsnip::type("chr", 1L) NocoDB integration subtype. One of "mysql2", "pg" or "sqlite3", or NULL for any subtype.

search_paths

character()
Database search paths (schemas) to expose for the "pg" integration.

origin

character(1)
NocoDB server origin.

email

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 over email and password 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()