Making meower web servers
test notif
so to save performance time, im gonna make 2 requests
getresults: returns json object with site names (as json keys)
getheaders: returns the og:title or title and og:disc or disc of inputted html
/j
you will send a request like [apisite]/api/search/getresults//1
it will return sometihng like:
{“https://app.meower.org”:[“”,“”,“None”],“https://creativecommons.org/“:[”“,”“,“None”],“https://creativecommons.org/licenses/by-sa/3.0/”:[”“,”“,“None”],“https://creativecommons.org/licenses/by-sa/4.0/”:[”“,”“,“None”],“https://gmpg.org/xfn/11”:[”“,”“,“None”],“https://meta.miraheze.org”:[”“,”“,“None”],“https://meta.miraheze.org/w/api.php?action=rsd”:[”“,”“,“None”],“https://wiki.meower.org”:[”“,”“,“None”],“https://wiki.meower.org/w/api.php?action=rsd”:[”“,”“,“None”],“https://wiki.meower.org/wiki/Special:ApiHelp”:[”“,”“,“None”],“https://www.mediawiki.org/wiki/Special:MyLanguage/Copyright”:[”“,”","None”]}
the list index of 1 contains the title, 2 contains the disc, 3 will contain if the site needs re-indexing
edit: for some reason its VERY SLOW to run the indexer file
#/api/mod/dropindexes, Returns StatusCode (not added)
#/api/mod/runindex//, Returns Error or string, Headers: modkey
#/api/mod/reindex/
#/api/mod/logs
#/api/mod/blocksite/
all mod stuff