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
CHECKSTRING
is uppercase/lowercase, the return is case-sensitive.
Get JSON info from a listed package.
Usage: info.php?f=FILENAME&c=JSONITEM
- If
JSONITEM
is 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
?full
is used, a JSON string is returned containing all Metadata of all available packages. - If
?lim
is used, a JSON string is returned with all Metadata ofTOTAL
packages, starting fromSTART
. - Otherwise, it returns a simple list of all packages seperated by
\n
(line feed). - In any case,
?sort
can 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