Changes for page API V2.0
Last modified by Treyfane Dingo on 2024/03/10 02:07
From version 1.2
edited by Treyfane Dingo
on 2023/05/27 01:24
on 2023/05/27 01:24
Change comment:
There is no comment for this version
To version 2.2
edited by Treyfane Dingo
on 2023/05/27 13:09
on 2023/05/27 13:09
Change comment:
Update document after refactoring.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -L\.A\.S\.S\.I\.E\..WebHome 1 +L\.A\.S\.S\.I\.E\..System Information.WebHome - Content
-
... ... @@ -39,7 +39,9 @@ 39 39 40 40 ==== Lost & Found Database ==== 41 41 42 -{{{}}}} 42 +{{box}} 43 +{"data":[{"id":"1","image":"https:\/\/www.furcom.org\/lassie\/images\/lostandfound_db\/9a7a1039bcbe887ed2f57a5b64c56c51.png","title":"A Piece of Cake","description":"Just another piece of cake","status":"F","lost_timestamp":"","found_timestamp":"2021-06-22 19:08:16","return_timestamp":""}]} 44 +{{/box}} 43 43 44 44 (% style="width:50%" %) 45 45 |=(% colspan="3" %)Lost & Found fieldset ... ... @@ -55,7 +55,9 @@ 55 55 56 56 ==== Briefings Database ==== 57 57 58 -{{{}}}} 60 +{{box}} 61 +{"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 & 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 neighbor?\"<\/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"}]} 62 +{{/box}} 59 59 60 60 (% style="width:50%" %) 61 61 |=(% colspan="3" %)Briefings fieldset ... ... @@ -71,13 +71,17 @@ 71 71 72 72 ==== Empty Object ==== 73 73 74 -{{{{"data":[]}}}} 78 +{{box}} 79 +{"data":[]} 80 +{{/box}} 75 75 76 76 === Error Codes === 77 77 78 78 The API will send a JSON-Object upon errors 79 79 80 -{{{{"error":{"code":"503","message":"Maintenance Mode enabled - please try again later"}}}}} 86 +{{box}} 87 +{"error":{"code":"503","message":"Maintenance Mode enabled - please try again later"}} 88 +{{/box}} 81 81 82 82 The following error codes are implemented: 83 83