This page goes with API design request for feedback
Goal: The API will be a REST-like interface (but it will not adhere to the principles of REST in full detail – we shall ignore annoying details such as multiple representations). The base URL will be https://www.fwurg.net/api, to prevent problems with same-origin policies. Instead of addressing the different 'modules' of the site as distinct entities, we shall strive to have an interface that instead offers access to the different conceptual entities (so topics, pages and players instead of forum, wiki and forum/accounts).
Some examples of hypothetical methods (with HTTP verb in box):
get /players/brend/characters?type=rules:pc → Gets all Brend's characters (with query string: only those that are PCs)
post /topics/996 → Posts to this topic (actual post content to be encoded as JSON in the request body)
post /pages/user:brend:test → Creates a new wiki page (actual page content to be encoded as JSON in the request body)
put /pages/ic:veolian_commonwealth_bookkeeping → Replaces the Veolian Commonwealth (bookkeeping) page with the given content.
delete /media/user:brend-logo.png → Deletes the media user:brend-logo.png.