createMigration: Create a content migration.

View source: R/createMigration.R

createMigrationR Documentation

Create a content migration.

Description

Create a content migration with migrator type and a settings list. Does not currently support file uploads. Limited testing conducted on various migrators.

Usage

createMigration(
  ID,
  type = "course",
  migration_type = "course_copy_importer",
  settings,
  select = NULL,
  server = "test",
  ...
)

Arguments

ID

ID of context to import into.

type

String of type - course, account, group, or user

migration_type

String of migrator type

settings

Named list of settings for the migrator

select

If supplied, will select only the identified objects in a list of vectors with content type names (see API documentation for names that work)

server

Test, beta, prodcution, OR alternative name in R.environ OR url of server

...

Optional page options to pass to processRequest


erikpal/bRush documentation built on May 9, 2023, 8:27 p.m.