{% extends "static_api/docs/layout.html" %}
{% import "static_api/docs/macros/common.html" as common with context %}
{% block description %}Gets groups.{% endblock %}
{% block returns %}
A list of groups or one group.
{% endblock %}
{% block examples %}
{{ common.examples_start() }}
{{ common.example(resource, 'All wiki-groups', '?type=wiki&_fields=name,url,id') }}
{{ common.examples_end() }}
{% endblock %}
{% block notes %}
{{ common.notes_start() }}
{{ common.note("Groups with type=wiki
has no members
attribute due to storage implementation limitations. Members of such groups can be accessed with Groupmembership endpoint.") }}
Please use this example for proper pagination:
Staff API Recipes
{{ common.notes_end() }}
{% endblock %}
{% block authorization %}
{% include "api/authorization.html" %}
{% endblock %}