{% block page_header %}
{{ name }}
{% endblock page_header %}
{% block description %}
{{ description }}
{% endblock %}
{% block allowed_methods %}
Allowed Methods / Fields
-
{% for action, attrs in metadata_actions.items %}
-
{{ action }}
-
{% for attr, fields in attrs.items %}
-
{{ attr }}
{# Use tables for field attributes #}
{# {% comment %} #}
{% for k, v in fields.items %}
{# {% endcomment %} #} {# Use lists for field attributes #} {% comment %}{% if k == 'choices' %} {% endfor %}{{ k }}: {# Use a table for choices #} {% comment %} {% else %}
{% endcomment %} {# Use a list for choices #} {# {% comment %} #} {% for choice in v %}display_name value {% endfor %}{{ choice.display_name }} {{ choice.value }} -
{% for choice in v %}
- {{ choice }} {% endfor %}
{{ k }}: {{ v }} {% endif %}-
{% for k, v in fields.items %}
{% if k == 'choices' %}
-
{{ k }}:
-
{% for choice in v %}
- {{ choice }} {% endfor %}
{% else %}
- {{ k }}: {{ v }} {% endif %} {% endfor %}
{% endfor %}
{% endfor %}
-
{{ attr }}
{# Use tables for field attributes #}
{# {% comment %} #}
Content Types
Accepts
-
{% for f in metadata_parses %}
- {{ f }} {% endfor %}
Renders
-
{% for f in metadata_renders %}
- {{ f }} {% endfor %}
- {{ request.method }}
- {{ request.get_full_path }}
- HTTP {{ response.status_code }} {{ response.status_text }}
- {{ key }}
- {{ val|break_long_headers|urlize_quoted_links }}
{% autoescape off %}
{{ content|safe }}
{% endautoescape %}
{% if post_form or raw_data_post_form %}
{% endif %}
{% if post_form %}
{% endif %}
{% endif %}
{% if put_form or raw_data_put_form or raw_data_patch_form %}
{% if post_form %}
{% with form=post_form %}
{% endwith %}
{% endif %}
{% with form=raw_data_post_form %}
{% endwith %}
{% if put_form %}
{% endif %}
{% endif %}
{% if put_form %}
{% endif %}
{% with form=raw_data_put_or_patch_form %}
{% endwith %}