forked from betagouv/api.gouv.fr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.json
35 lines (35 loc) · 842 Bytes
/
api.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
layout: null
---
[
{% for api in site.api %}
{
"title" : "{{ api.name }}",
"url": "{{ api.url | prepend: site.baseurl }}",
"description" : "{{ api.tagline }}",
"image" : "{{ api.logo | prepend: site.baseurl }}",
"domain" : "{{ api.domain }}",
"owner" : "{{ api.owner }}",
"contract" : "{{ api.contract }}",
"category" : "{{ api.category }}",
"keywords": [
{% if api.keywords %}
"{{ api.keywords | join: '","' }}"
{% endif %}
],
"clients": [
{% if api.clients %}
"{{ api.clients | join: '","' }}"
{% endif %}
],
"partners": [
{% if api.partners %}
"{{ api.partners | join: '","' }}"
{% endif %}
]
}
{% if forloop.last == false %}
,
{% endif %}
{% endfor %}
]