API is currently hosted @ aspdm.ahkscript.org/api-php
See https://trello.com/c/V27ITnHO/16-web-server-api
Check and validate if API is available.
Usage: status.php?_c=CHECKSTRING
It returns a JSON string in the following structure :
{
"api": {
"name": "aspdm",
"check": "CHECKSTRING"
}
}- If
CHECKSTRINGis uppercase/lowercase, the return is case-sensitive.
Get JSON info from a listed package.
Usage: info.php?f=FILENAME&c=JSONITEM
- If
JSONITEMis specified, it returns a normal string.
Otherwise, a JSON string is returned.
List available packages.
Usage: list.php?full&sort&lim=TOTAL&origin=START, or no arguments
- If
?fullis used, a JSON string is returned containing all Metadata of all available packages. - If
?limis used, a JSON string is returned with all Metadata ofTOTALpackages, starting fromSTART. - Otherwise, it returns a simple list of all packages seperated by
\n(line feed). - In any case,
?sortcan be used for Natural sorting. - By default, packages are sorted by modification date.
- Packages are currently hosted @
aspdm.ahkscript.org/packs - Packages that are waiting to be "validated" are stored @
aspdm.ahkscript.org/packs/tmp