e949/api/API.md
2023-07-30 20:42:52 +03:00

540 B

API structure

GET vs. POST

Some parts of API accepts both GET and POST type requests. We recommend you to prefer second option, when it's possible, just because it is more anonymous, when used with SSL or Tor. However, authentification can be performed only with POST.

Naming conventions

Files starting from "_" ("_example.php") are intended for internal use only.

Version 1

  • stats.php (GET/POST): all general, public and private statistics about this instance
  • post/create.php (POST): create new post with image