Adds a new base on a NocoDB server via its
POST /api/v2/meta/bases
API endpoint.
Usage
create_base(
title = pal::pkg_config_val("base_title"),
description = NULL,
color = "#36BFFF",
show_null_and_empty_in_filter = TRUE,
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)
Base title.- description
character(1)
Base description.- color
character(1)
Color to use for the base icon. A hexadecimal color code like "#36BFFF".- show_null_and_empty_in_filter
logical(1)
Whether or not to distinguishNULL
s from empty values in column filters. IfFALSE
,NULL
and empty fields are treated alike.- 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 newly created NocoDB base, invisibly.
See also
Other functions to manage NocoDB bases:
base()
,
base_id()
,
base_ui_acl()
,
base_users()
,
bases()
,
delete_base()
,
delete_base_user()
,
invite_base_user()
,
resend_base_user_invitation()
,
update_base()
,
update_base_ui_acl()
,
update_base_user()