• {{ data.method|upper }} {% if data.deprecated %} DEPRECATED {% endif %} {% if data.https %} {% endif %} {% if data.authentication %} {% endif %} {% if data.host is defined -%} {{ data.https ? 'https://' : 'http://' -}} {{ data.host -}} {% endif -%} {{ data.uri }} {% if data.tags is defined %} {% for tag, color_code in data.tags %} {{ tag }} {% endfor %} {% endif %}

    {% if data.documentation is defined and data.documentation is not empty %}

    Documentation

    {{ data.documentation|extra_markdown }}
    {% endif %} {% if data.link is defined and data.link is not empty %}

    Link

    {{ data.link }}
    {% endif %} {% if data.requirements is defined and data.requirements is not empty %}

    Requirements

    {% for name, infos in data.requirements %} {% endfor %}
    Name Requirement Type Description
    {{ name }} {{ infos.requirement is defined ? infos.requirement : ''}} {{ infos.dataType is defined ? infos.dataType : ''}} {{ infos.description is defined ? infos.description : ''}}
    {% endif %} {% if data.filters is defined and data.filters is not empty %}

    Filters

    {% for name, infos in data.filters %} {% endfor %}
    Name Information
    {{ name }} {% for key, value in infos %} {% endfor %}
    {{ key|title }} {{ value|json_encode|replace({'\\\\': '\\'})|trim('"') }}
    {% endif %} {% if data.parameters is defined and data.parameters is not empty %}

    Parameters

    {% for name, infos in data.parameters %} {% if not infos.readonly %} {% endif %} {% endfor %}
    Parameter Type Required? Format Description
    {{ name }} {{ infos.dataType is defined ? infos.dataType : '' }} {{ infos.required ? 'true' : 'false' }} {{ infos.format }} {{ infos.description is defined ? infos.description : '' }}
    {% endif %} {% if data.response is defined and data.response is not empty %}

    Return

    {% for name, infos in data.response %} {% endfor %}
    Parameter Type Versions Description
    {{ name }} {{ infos.dataType }} {% include 'NelmioApiDocBundle:Components:version.html.twig' with {'sinceVersion': infos.sinceVersion, 'untilVersion': infos.untilVersion} only %} {{ infos.description }}
    {% endif %} {% if data.statusCodes is defined and data.statusCodes is not empty %}

    Status Codes

    {% for status_code, descriptions in data.statusCodes %} {% endfor %}
    Status Code Description
    {{ status_code }}
      {% for description in descriptions %}
    • {{ description }}
    • {% endfor %}
    {% endif %} {% if data.cache is defined and data.cache is not empty %}

    Cache

    {{ data.cache }}s
    {% endif %}
    {% if enableSandbox %}
    {% if app.request is not null and data.https and app.request.secure != data.https %} Please reload the documentation using the scheme {% if data.https %}HTTPS{% else %}HTTP{% endif %} if you want to use the sandbox. {% else %}
    Input {% if data.requirements is defined %}

    Requirements

    {% for name, infos in data.requirements %}

    = -

    {% endfor %} {% endif %} {% if data.filters is defined %}

    Filters

    {% for name, infos in data.filters %}

    = -

    {% endfor %} {% endif %} {% if data.parameters is defined %}

    Parameters

    {% for name, infos in data.parameters %} {% if not infos.readonly %}

    = -

    {% endif %} {% endfor %} {% endif %}
    {% set methods = data.method|upper|split('|') %} {% if methods|length > 1 %} Method {% else %} {% endif %} Headers {% if acceptType %}

    = -

    {% endif %}

    = -

    Content

    = Replaces header if set

    Request URL

    
    
                                

    Response Headers [Expand] [Profiler]

    
    
                                

    Response Body [Raw]

    
                            
    {% endif %}
    {% endif %}