gl_list_groups {gitlabr}R Documentation

List and manage groups

Description

List and manage groups

Usage

gl_list_groups(...)

gl_list_sub_groups(group, ...)

Arguments

...

passed on to gitlab()

group

The ID, name or URL-encoded path of the group

Details

When using gl_list_sub_groups(), if you request this list as:

Value

tibble of each group with corresponding information

Examples

## Not run: 
set_gitlab_connection(
  gitlab_url = "https://gitlab.com",
  private_token = Sys.getenv("GITLAB_COM_TOKEN")
)
# List all groups
gl_list_groups(max_page = 1)
# List sub-groups of a group
gl_list_sub_groups(group_id = "<<group-id>>", max_page = 1)

## End(Not run)

[Package gitlabr version 2.1.0 Index]