bwr_cat_create(project_id =NULL, name =NULL, children =NULL, token = Sys.getenv("BW_TOKEN"))
Arguments
project_id: The project ID into which you'd like to insert a category
name: The name of the category
children: A list of lists (sorry!), each list defining the key-value pairs for name (mandatory) and id (optional) of each child subcategory.
token: The authentication token, obtained using bwr_auth()
Returns
Returns a list containing the JSON response from the server.
Examples
## Not run:bwr_cat_create(project_id =12423432, name ='Quick test cat', children = list(list(name ='category one', id =234234), list(name ='category 2')))## End(Not run)