Changes for page API V2.0

Last modified by Treyfane Dingo on 2024/03/10 02:07

From version 10.1
edited by Treyfane Dingo
on 2024/02/11 19:43
Change comment: There is no comment for this version
To version 9.1
edited by Treyfane Dingo
on 2024/02/11 19:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -49,43 +49,7 @@
49 49  ==== Lost & Found Database ====
50 50  
51 51  {{box}}
52 -{
53 - "data": [
54 - {
55 - "id": 1925,
56 - "image": null,
57 - "thumb": null,
58 - "title": "Image",
59 - "description": "invisible, watercolour, found in Schroedinger's box",
60 - "status": "F",
61 - "lost_timestamp": null,
62 - "found_timestamp": "2023-11-24 00:27:24",
63 - "return_timestamp": null
64 - },
65 - {
66 - "id": 1921,
67 - "image": "https:~/~/api.lassie.furcom.org/images/lostandfound_db/fe3c6670a33d8f4199ffa95a5c23b622.png",
68 - "thumb": "https:~/~/api.lassie.furcom.org/images/lostandfound_db/thumbnail/fe3c6670a33d8f4199ffa95a5c23b622.png",
69 - "title": "Sense of Taste",
70 - "description": "lost in Hotel Restaurant",
71 - "status": "L",
72 - "lost_timestamp": "2023-11-01 16:13:02",
73 - "found_timestamp": null,
74 - "return_timestamp": null
75 - },
76 - {
77 - "id": 1920,
78 - "image": "https:~/~/api.lassie.furcom.org/images/lostandfound_db/bc7c343fb3807d4d41b7e04fa909aad5.png",
79 - "thumb": "https:~/~/api.lassie.furcom.org/images/lostandfound_db/thumbnail/bc7c343fb3807d4d41b7e04fa909aad5.png",
80 - "title": "Vape",
81 - "description": "black / rainbow, \"GEEKVAPE\", found at Open Stage",
82 - "status": "F",
83 - "lost_timestamp": null,
84 - "found_timestamp": "2023-09-30 23:52:38",
85 - "return_timestamp": null
86 - }
87 - ]
88 -}
52 +{"data":[{"id":1925,"image":null,"thumb":null,"title":"Image","description":"invisible, watercolour, found in Schroedinger's box","status":"F","lost_timestamp":null,"found_timestamp":"2023-11-24 00:27:24","return_timestamp":null},{"id":1921,"image":"https:\/\/api.lassie.furcom.org\/images\/lostandfound_db\/fe3c6670a33d8f4199ffa95a5c23b622.png","thumb":"https:\/\/api.lassie.furcom.org\/images\/lostandfound_db\/thumbnail\/fe3c6670a33d8f4199ffa95a5c23b622.png","title":"Sense of Taste","description":"lost in Hotel Restaurant","status":"L","lost_timestamp":"2023-11-01 16:13:02","found_timestamp":null,"return_timestamp":null},{"id":1920,"image":"https:\/\/api.lassie.furcom.org\/images\/lostandfound_db\/bc7c343fb3807d4d41b7e04fa909aad5.png","thumb":"https:\/\/api.lassie.furcom.org\/images\/lostandfound_db\/thumbnail\/bc7c343fb3807d4d41b7e04fa909aad5.png","title":"Vape","description":"black \/ rainbow, \"GEEKVAPE\", found at Open Stage","status":"F","lost_timestamp":null,"found_timestamp":"2023-09-30 23:52:38","return_timestamp":null}]}
89 89  {{/box}}
90 90  
91 91  (% style="width:50%" %)
... ... @@ -104,20 +104,7 @@
104 104  ==== Briefings Database ====
105 105  
106 106  {{box}}
107 -{
108 - "data": [
109 - {
110 - "id": "17",
111 - "class": "P",
112 - "topic": "UPDATE - Security News 21.12.2021",
113 - "content": "<div id=\"briefing_content_content\"><div><b>Germany cancelled New Years Eve</b></div><div>Although it might calendar wise be unwise, Germany just cancelled New Years Eve. Further information can be obtained elsewhere.</div><div><br></div><div><b>Some things found</b></div><div>Security\r\n wants to remind all attendees that information about lost or found \r\nitems can be obtained via the APP or the Website of the convention. Lost\r\n &amp; Found is maintained by security and located in the security \r\noffice.</div><div><br></div><div><b>Quote of the day</b></div><div>\"Where is your neighbour?\"</div><div>\"He's in the garden ...\"</div><div>\"I can't see him ...\"</div><div>\"Oh, you'd have to dig quite a bit ...\"<br></div><div><br></div></div>",
114 - "ops_id": "112",
115 - "datetime_creation": "2021-12-21 22:19:45",
116 - "datetime_lastchange": "",
117 - "datetime": "2021-12-21 22:19:45"
118 - }
119 - ]
120 -}
71 +{"data":[{"id":"17","class":"P","topic":"UPDATE - Security News 21.12.2021","content":"<div id=\"briefing_content_content\"><div><b>Germany cancelled New Years Eve<\/b><\/div><div>Although it might calendar wise be unwise, Germany just cancelled New Years Eve. Further information can be obtained elsewhere.<\/div><div><br><\/div><div><b>Some things found<\/b><\/div><div>Security\r\n wants to remind all attendees that information about lost or found \r\nitems can be obtained via the APP or the Website of the convention. Lost\r\n &amp; Found is maintained by security and located in the security \r\noffice.<\/div><div><br><\/div><div><b>Quote of the day<\/b><\/div><div>\"Where is your neighbour?\"<\/div><div>\"He's in the garden ...\"<\/div><div>\"I can't see him ...\"<\/div><div>\"Oh, you'd have to dig quite a bit ...\"<br><\/div><div><br><\/div><\/div>","ops_id":"112","datetime_creation":"2021-12-21 22:19:45","datetime_lastchange":"","datetime":"2021-12-21 22:19:45"}]}
121 121  {{/box}}
122 122  
123 123  (% style="width:50%" %)
... ... @@ -135,9 +135,7 @@
135 135  ==== Empty Object ====
136 136  
137 137  {{box}}
138 -{
139 - "data": []
140 -}
89 +{"data":[]}
141 141  {{/box}}
142 142  
143 143  === Error Codes ===
... ... @@ -145,12 +145,7 @@
145 145  The API will send a JSON-Object upon errors
146 146  
147 147  {{box}}
148 -{
149 - "error": {
150 - "code": "503",
151 - "message": "Maintenance Mode enabled - please try again later"
152 - }
153 -}
97 +{"error":{"code":"503","message":"Maintenance Mode enabled - please try again later"}}
154 154  {{/box}}
155 155  
156 156  The following error codes are implemented: