{% extends "passerelle/manage/service_view.html" %}
{% load i18n passerelle %}

{% block endpoints %}
<ul>
    <li>
        {%trans "Request : "%}
        {% url "generic-endpoint" connector="arcgis" slug=object.slug endpoint="district" as get_district %}
        <a href="{{get_district}}?lat=48.695243&lon=6.178921">{{get_district}}?lat=48.695243&lon=6.178921</a>
    </li>
    <li>
    {%trans "Response : "%}
    <samp>
        {
            "data": {
                    "id": 7,
                    "name": "SAINT NICOLAS / CHARLES III / VIEILLE VILLE / TROIS MAISONS/ LEOPOLD"
                    },
            "err": 0
        }
    </samp>
    </li>
</ul>
{% endblock %}

{% block security %}
<p>
  {% trans 'Access is limited to the following API users:' %}
</p>
{% access_rights_table resource=object permission='can_access' %}
{% endblock %}
