Welcome to the ModelSaber API v1!
The currently supported endpoints are:
These will return a JSON object with the available resources in that category.
They support the following optional GET options:
- start=<int>: The first index to return.
- end=<int>: The last index to return.
- sort=<date|name|author> : The sort method to use. Default is sort=date
- sortDirection=<asc|desc> : The sort direction to use. Default is sortDirection=asc
- filter=<filter1,filter2,etc> : Filter results. Comma delimited.
- Allows author:<author>, name:<name>, <tag>, and hash:<hash> as filters.
- Allows negative filters with a - before the filter.
Example query:
https://modelsaber.com/api/v1/saber/get.php?start=1&end=3&sort=name&sortDirection=desc&filter=author:MissRaynor,-Lightning
Example response:
Warning: file_put_contents(/var/www/html/modelsaber.log): failed to open stream: Permission denied in /var/www/html/resources/includes/fishyUtils.php on line 135
null