Skip to content

Commit

Permalink
added example return payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
saibotd committed Jun 12, 2019
1 parent 41a261a commit 8c1b367
Show file tree
Hide file tree
Showing 11 changed files with 7,198 additions and 1 deletion.
109 changes: 109 additions & 0 deletions examples/file.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"id": 1384,
"tstamp": 1559303380,
"type": "folder",
"path": "files/appstores",
"extension": "",
"hash": "d2c17d6abdd1b1d1c795a9255eab888e",
"found": 1,
"name": "appstores",
"importantPartX": 0,
"importantPartY": 0,
"importantPartWidth": 0,
"importantPartHeight": 0,
"meta": {
"de": {
"title": "",
"alt": "",
"link": "",
"caption": ""
},
"en": {
"title": "",
"alt": "",
"link": "",
"caption": ""
},
"fr": {
"title": "",
"alt": "",
"link": "",
"caption": ""
}
},
"mime": "directory",
"children": [
{
"id": 1385,
"tstamp": 1559303390,
"type": "file",
"path": "files/appstores/store_apple.svg",
"extension": "svg",
"hash": "2c79a504bdd4b091b87a01f79000280f",
"found": 1,
"name": "store_apple.svg",
"importantPartX": 0,
"importantPartY": 0,
"importantPartWidth": 0,
"importantPartHeight": 0,
"meta": null,
"mime": "image/svg",
"image": {
"width": null,
"height": null,
"picture": {
"img": {
"srcset": "files/appstores/store_apple.svg",
"src": "files/appstores/store_apple.svg"
},
"sources": [],
"alt": ""
},
"src": "files/appstores/store_apple.svg",
"singleSRC": null,
"linkTitle": "",
"fullsize": false,
"addBefore": true,
"margin": "",
"addImage": true
},
"children": []
},
{
"id": 1386,
"tstamp": 1559303390,
"type": "file",
"path": "files/appstores/store_google.svg",
"extension": "svg",
"hash": "adf097bd3f74b7a683ac30ed2adba788",
"found": 1,
"name": "store_google.svg",
"importantPartX": 0,
"importantPartY": 0,
"importantPartWidth": 0,
"importantPartHeight": 0,
"meta": null,
"mime": "image/svg",
"image": {
"width": null,
"height": null,
"picture": {
"img": {
"srcset": "files/appstores/store_google.svg",
"src": "files/appstores/store_google.svg"
},
"sources": [],
"alt": ""
},
"src": "files/appstores/store_google.svg",
"singleSRC": null,
"linkTitle": "",
"fullsize": false,
"addBefore": true,
"margin": "",
"addImage": true
},
"children": []
}
]
}
104 changes: 104 additions & 0 deletions examples/module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"id": 10,
"pid": 1,
"tstamp": 1559567670,
"name": "DE Footer Legal Navigation",
"headline": {
"unit": "h2",
"value": ""
},
"type": "customnav",
"levelOffset": 0,
"showLevel": 0,
"hardLimit": "",
"showProtected": "",
"defineRoot": "",
"rootPage": 0,
"navigationTpl": "nav_default",
"customTpl": "",
"pages": [
12,
70,
107
],
"orderPages": [
12,
70,
107
],
"showHidden": "",
"customLabel": "",
"autologin": "",
"jumpTo": 0,
"redirectBack": "",
"editable": null,
"memberTpl": "",
"form": 0,
"queryType": "and",
"fuzzy": "",
"contextLength": 48,
"totalLength": 1000,
"perPage": 0,
"searchType": "simple",
"searchTpl": "",
"inColumn": "main",
"skipFirst": 0,
"loadFirst": "",
"singleSRC": null,
"url": "",
"imgSize": "",
"useCaption": "",
"fullsize": "",
"multiSRC": null,
"orderSRC": null,
"html": null,
"rss_cache": 3600,
"rss_feed": null,
"rss_template": "rss_default",
"numberOfItems": 3,
"disableCaptcha": "",
"reg_groups": null,
"reg_allowLogin": "",
"reg_skipName": "",
"reg_close": "",
"reg_assignDir": "",
"reg_homeDir": null,
"reg_activate": "",
"reg_jumpTo": 0,
"reg_text": null,
"reg_password": null,
"protected": "",
"groups": null,
"guests": "",
"cssID": [
"",
""
],
"list_table": "",
"list_fields": "",
"list_where": "",
"list_search": "",
"list_sort": "",
"list_info": "",
"list_info_where": "",
"list_layout": "list_default",
"list_info_layout": "info_default",
"news_archives": null,
"news_featured": "all_items",
"news_jumpToCurrent": "",
"news_readerModule": 0,
"news_metaFields": [
"date",
"author"
],
"news_template": "news_latest",
"news_format": "news_month",
"news_startDay": 0,
"news_order": "order_date_desc",
"news_showQuantity": "",
"customLanguageText": null,
"customLanguage": "",
"hideNoFallback": "",
"hideActiveLanguage": "",
"compiledHTML": "<!-- indexer::stop -->\n<nav class=\"mod_customnav block\" itemscope itemtype=\"http://schema.org/SiteNavigationElement\">\n\n \n <a href=\"api/module?id=10#skipNavigation10\" class=\"invisible\">Skip navigation</a>\n\n \n<ul class=\"level_1\">\n <li class=\"first\"><a href=\"de/rechtliches/impressum\" title=\"Impressum\" class=\"first\" itemprop=\"url\"><span itemprop=\"name\">Impressum</span></a></li>\n <li><a href=\"de/rechtliches/datenschutz\" title=\"Datenschutz\" itemprop=\"url\"><span itemprop=\"name\">Datenschutz</span></a></li>\n <li class=\"agb last\"><a href=\"de/rechtliches/agb\" title=\"AGB\" class=\"agb last\" itemprop=\"url\"><span itemprop=\"name\">AGB</span></a></li>\n </ul>\n\n <a id=\"skipNavigation10\" class=\"invisible\"> </a>\n\n</nav>\n<!-- indexer::continue -->"
}
Loading

0 comments on commit 8c1b367

Please sign in to comment.