{% extends "static_api/docs/layout.html" %} {% import "static_api/docs/macros/common.html" as common with context %} {% block description %}Gets group membership entries.{% endblock %} {% block returns %} A list of group membership entries or one entry. {% endblock %} {% block examples %} {{ common.examples_start() }} {{ common.example(resource, 'All department groups where tyv@ is a member', '?person.login=tyv&group.type=department&_fields=joined_at,group') }} {{ common.example(resource, 'The team of the CAUTH service', '?group.type=service&group.name=CAUTH&_fields=person.login,joined_at') }} {{ common.example(resource, 'All groups of andreyst@', '?person.login=andreyst&_fields=group.name,group.id,group.url') }} {{ common.examples_end() }} {% endblock %} {% block notes %} {{ common.notes_start() }} {{ common.note('Entries can refer to deleted groups or dismissed employees') }} {{ common.notes_end() }} {% endblock %} {% block authorization %} {% include "api/authorization.html" %} {% endblock %}