Changes for page API V2.0

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

From version 4.1
edited by Treyfane Dingo
on 2023/08/15 12:13
Change comment: There is no comment for this version
To version 5.1
edited by Treyfane Dingo
on 2023/09/25 22:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,6 @@
1 1  The L.A.S.S.I.E. API V 2.0 can be reached via
2 2  
3 -{{{https://www.furcom.org/api/lassie/v2.0}}}
3 +{{{https://api.lassie.online/api/lassie/v2.0}}}
4 4  
5 5  === Required POST Parameters ===
6 6  
... ... @@ -25,11 +25,11 @@
25 25  
26 26  === Example (CURL) ===
27 27  
28 -{{{curl -X POST -d "apikey=ae629a834729fd3aac6d1f827b1793b0" -d "request=lostandfounddb" https://www.furcom.org/api/lassie/v1.0}}}
28 +{{{curl -X POST -d "apikey=ae629a834729fd3aac6d1f827b1793b0" -d "request=lostandfounddb" https://api.lassie.online/api/lassie/v2.0}}}
29 29  
30 30  This example will display the entire Lost & Found Database of FTC.
31 31  
32 -{{{curl -X POST -d "apikey=ae629a834729fd3aac6d1f827b1793b0" -d "request=lostandfounddb" -d "command=lost" https://www.furcom.org/api/lassie/v1.0}}}
32 +{{{curl -X POST -d "apikey=ae629a834729fd3aac6d1f827b1793b0" -d "request=lostandfounddb" -d "command=lost" https://api.lassie.online/api/lassie/v2.0}}}
33 33  
34 34  This example will display only the lost items of the Lost & Found Database of FTC.
35 35  
... ... @@ -40,7 +40,7 @@
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":""}]}
43 +{"data":[{"id":"1","image":"https:\/\/api.lassie.online\/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 44  {{/box}}
45 45  
46 46  (% style="width:50%" %)
... ... @@ -48,6 +48,7 @@
48 48  |=(% scope="col" %)Key|=Field|=NULL
49 49  |id|Numeric value, PRIMARY KEY|-
50 50  |image|URL|null
51 +|thumb|URL|null
51 51  |title|Text|empty string
52 52  |description|Text|empty string
53 53  |status|L ~| F ~| R (Lost, Found or Returned)|-