Skip to content

Commit

Permalink
fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleguido committed Aug 14, 2024
1 parent 2d39693 commit 0604220
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/urls.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@
"hash": "3d18dc9b8cf034e6dfccb472839498f014b8ee036d3b37393e3af8022ddadb2b"
},
{
"description": "[LEVEL 3: GLossary] Get all documents of type 'glossary' filtererd by letter A",
"url": "/api/document/?filters={\"type\":\"glossary\",\"data__letter\":\"A\"}&limit=10&offset=0",
"hash": "d0dcc30a13aed53dd5716bfa9b30a1543bacd99ea38cea11464dd83bd87be307"
"description": "[LEVEL 3: GLossary] Get all documents of type 'glossary' filtererd by letter L",
"url": "/api/document/?filters={\"type\":\"glossary\",\"data__letter\":\"L\"}&limit=10&offset=0",
"hash": "fc3bd2e0dee9c1dd1b23c856f14a8d518ef74ca8ca82a13fc0837cc1ed9056d5"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 1380,
"title": "Liberation of Luxembourg",
"slug": "liberation-of-luxembourg",
"mimetype": "",
"type": "glossary",
"data": {
"type": "glossary",
"title": {
"de_DE": "Befreiung Luxemburgs",
"en_GB": "Liberation of Luxembourg",
"fr_FR": "Libération de Luxembourg"
},
"letter": "L",
"geojson": {
"crs": {
"type": "name",
"properties": {
"name": "EPSG:2169"
}
},
"geometry": {
"properties": {
"city": {
"de_DE": "",
"en_GB": "",
"fr_FR": ""
},
"name": {
"de_DE": "",
"en_GB": "",
"fr_FR": ""
},
"address": {
"de_DE": "",
"en_GB": "",
"fr_FR": ""
}
}
}
},
"definition": {
"de_DE": "Obwohl ein Großteil des Landes 1944 befreit wurde, litten einige Gebiete, insbesondere in den Ardennen, bis zum Kriegsende im Mai 1945 weiter unter den Kämpfen.",
"en_GB": "Although much of the country was liberated in 1944, certain areas, particularly in the Ardennes, continued to suffer from fighting until the war's end in May 1945",
"fr_FR": "Bien que le pays ait été en grande partie libéré en 1944, certaines régions, notamment dans les Ardennes, ont continué de souffrir des combats jusqu'à la fin de la guerre en mai 1945."
},
"identifier": "",
"provenance": "",
"description": {
"de_DE": "Die Befreiung Luxemburgs durch alliierte Truppen begann im September 1944, als amerikanische Truppen die südliche Grenze des Landes überschritten. Diese Befreiung markierte das Ende der deutschen Besatzung, obwohl der Krieg mit der Ardennenoffensive weiterging",
"en_GB": "The liberation of Luxembourg by Allied forces began in September 1944 when American troops crossed the southern border of the country. This liberation marked the end of German occupation, though the war continued with the Battle of the Bulge.",
"fr_FR": "La libération du Luxembourg par les forces alliées a débuté en septembre 1944, lorsque les troupes américaines ont franchi la frontière sud du pays. Cette libération a marqué la fin de l'occupation allemande, bien que la guerre se soit poursuivie avec l'Offensive des Ardennes."
},
"resolutions": {
"medium": {
"url": "",
"width": 0,
"height": 0
},
"preview": {
"url": "",
"width": 0,
"height": 0
},
"thumbnail": {
"url": "",
"width": 0,
"height": 0
}
},
"videoResolutions": {
"hsl": {
"url": ""
},
"dash": {
"url": ""
},
"sd360p": {
"url": ""
}
}
},
"url": null,
"attachment": null,
"snapshot": null,
"short_url": "CqW2MxP"
}
],
"facets": {}
}
4 changes: 2 additions & 2 deletions scripts/urls.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"url": "/api/document/?filters={%22type%22:%22glossary%22}&facets=data__letter&limit=10&offset=0"
},
{
"description": "[LEVEL 3: GLossary] Get all documents of type 'glossary' filtererd by letter A",
"url": "/api/document/?filters={%22type%22:%22glossary%22,%22data__letter%22:%22A%22}&limit=10&offset=0"
"description": "[LEVEL 3: GLossary] Get all documents of type 'glossary' filtererd by letter L",
"url": "/api/document/?filters={%22type%22:%22glossary%22,%22data__letter%22:%22L%22}&limit=10&offset=0"
}
]

0 comments on commit 0604220

Please sign in to comment.