labguru_add_folder: Labguru add folder

View source: R/folder.R

labguru_add_folderR Documentation

Labguru add folder

Description

Add a new folder to labguru

Usage

labguru_add_folder(
  title,
  project_id,
  description = NULL,
  return = "id",
  server = Sys.getenv("LABGURU_SERVER"),
  token = Sys.getenv("LABGURU_TOKEN")
)

Arguments

title

character(1) The title of the folder

project_id

numeric(1) The project id for which to add a new folder

description

character(1) The description of the folder

return

character(1) whether the function returns either 'id' (default) or 'all' folder information

server

character(1) indicating the server URL

token

character(1) access token for API authentication

Value

list with either folder id only or all folder information

Examples

## Not run: 
labguru_add_folder(project_id  = 1,
                   title       = "My new folder",
                   description = "This folder contains ...")

## End(Not run)

BioData/LabguruR documentation built on May 11, 2022, 11:46 p.m.