{% extends 'admin.twig' %}

{% block head %}
    {{ parent() }}
    <link rel="stylesheet" href="plugins/ApiReference/vue/lib/swagger-ui/swagger-ui.css" />
    <link rel="stylesheet" href="plugins/ApiReference/vue/src/SwaggerPage/swagger-ui-overrides.css" />
    <script src="plugins/ApiReference/vue/lib/swagger-ui/swagger-ui-bundle.js"></script>
{% endblock %}

{% set title %}{{ 'General_API'|translate }}{% endset %}

{% block content %}
    <div
        vue-entry="ApiReference.SwaggerPage"
        default-website-id="{{ defaultWebsiteId|default(null)|json_encode }}"
        piwik-url="{{ piwikUrl|default(null)|json_encode }}"
    ></div>
{% endblock %}
