{% extends "admin/index.html" %} {% load i18n %} {% block content %} {{ block.super }} {% if not app_label %} {% if perms.cms_qe_auth.accessapi_user or perms.auth.add_permission %}

REST API

{% url "api-root" %}
{% url "api-root" %}schema/swagger/
{% url "api-root" %}schema/redoc/
{% if perms.auth.add_permission %}

{% blocktranslate trimmed %} To log into the API, the user needs to have the access permission assigned. To access other records in the API, the user must have the VIEW permission set for the model. {% endblocktranslate %}

{% translate "For example:" %}
cms_qe_auth | user | Can access to the API
aldryn_forms | Form submission | Can view Form submission
aldryn_forms | Form plugin | Can view Form plugin
{% endif %}
{% endif %} {% endif %} {% endblock %}