{% extends "static_api/docs/layout.html" %} {% import "static_api/docs/macros/common.html" as common with context %} {% block description %}Gets department roles.{% endblock %} {% block returns %} A list of department roles items or one item. {% endblock %} {% block examples %} {{ common.examples_start() }} {{ common.example(resource, 'The names of all robots with the role of chief', 'person.official.is_robot=true&role="chief"&_fields=person.name') }} {{ common.examples_end() }} {% endblock %} {% block authorization %} {% include "api/authorization.html" %} {% endblock %}