Changes for page API V2.0
Last modified by Treyfane Dingo on 2024/03/10 02:07
From version 3.1
edited by Treyfane Dingo
on 2023/08/15 12:11
on 2023/08/15 12:11
Change comment:
There is no comment for this version
To version 4.3
edited by Treyfane Dingo
on 2023/09/11 22:14
on 2023/09/11 22:14
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -10,7 +10,7 @@ 10 10 * request 11 11 * command (optional) 12 12 13 -The API-Key has to be set in "System Settings". Preferrably a longer and unique key (like a MD5SUM). 13 +The API-Key has to be set in "System Settings". Preferrably a longer and unique key (like a MD5SUM). An specific API key can only be used for a corresponding request type. 14 14 15 15 (% style="width:50%" %) 16 16 |=(% colspan="3" %)Requests and Commands ... ... @@ -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/v 1.0}}}28 +{{{curl -X POST -d "apikey=ae629a834729fd3aac6d1f827b1793b0" -d "request=lostandfounddb" https://www.furcom.org/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/v 1.0}}}32 +{{{curl -X POST -d "apikey=ae629a834729fd3aac6d1f827b1793b0" -d "request=lostandfounddb" -d "command=lost" https://www.furcom.org/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 ... ... @@ -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)|-