Learn R Programming

hypothesis (version 1.1.0)

get_groups: Get a list of groups

Description

Get a list of groups

Usage

get_groups(
  authority = NULL,
  document_uri = NULL,
  expand = NULL,
  api_path = get_hs_host(),
  api_key = NULL
)

Arguments

authority

Filter returned groups to this authority. Default: main instance authority.

document_uri

Document URI - only retrieve public (i.e. non-private) groups that apply to a given document URI.

expand

One or more relations to expand for a group resource Optional: `organization, scopes`

api_path

The hypothesis API path, can be specify by `hypothesis.api.api_path` option or `HYPOTHESIS_API_PATH` environment variable. Default: `https://hypothes.is/api/`.

api_key

User api key, generated on the platform.