{% extends theme('layouts/1-column.html') %} {% from theme('macros/breadcrumb.html') import breadcrumb with context %} {% from theme('macros/follow.html') import follow_btn with context %} {% set meta = { 'title': dataservice.title, 'description': dataservice.description|mdstrip(60)|forceescape, 'image': dataservice.organization and dataservice.organization.logo(external=True) or '', 'keywords': [_('API')] + dataservice.tags, 'robots': 'noindex, nofollow' if dataservice.is_hidden else '', } %} {% set read_only_mode = config.READ_ONLY_MODE %} {% block extra_head %} {% cache cache_duration, 'dataservice-extra-head', dataservice.id|string, g.lang_code, dataservice.last_modified|string %} {% endcache %} {% endblock %} {% block breadcrumb %} {% cache cache_duration, 'dataservice-breadcrumb', dataservice.id|string, g.lang_code, dataservice.last_modified|string %}
{{ _('Private') }}
{{ _('Deleted') }}
{{ _('Archived') }}
{% trans
date=dataservice.created_at|dateformat(format='long'),
update=dataservice.metadata_modified_at|dateformat(format='long'),
author=dataservice.owner.fullname
%}This API has been published on the initiative and under the responsibility of
{{author}}
Published on {{date}}{% endtrans %}
{{ dataservice.metadata_modified_at|dateformat(format='long') }}
{% if dataservice.rate_limiting %} {{ dataservice.rate_limiting }} {% else %} {{ _('Not documented') }} {% endif %}
{% if dataservice.availability %} {{ _("%(availability)s last month", availability=dataservice.availability|format_percentage) }} {% else %} {{ _('Not documented') }} {% endif %}
{% if dataservice.base_api_url %}
{{ dataservice.base_api_url }}
{% else %}
{{ _('Not documented') }}
{% endif %}
{% if dataservice.endpoint_description_url %}
{{ dataservice.endpoint_description_url }}
{% else %}
{{ _('Not documented') }}
{% endif %}
{{ _('No datasets on %(site)s are linked to this API.', site=config.SITE_TITLE) }}
{{ _('There are no discussions for this API yet.') }}