REST API Quick Reference
A quick reference guide to all the REST API calls currently available.
World Map (Mock-up)
- GET
/worldmapReturns the current instance World Map as a JSON object.
Sessions
Important Note: The session list is being constantly maintained, but maintained each time it needs to be accessed. Routes that retrieve a list of sessions will also trigger a purge of stale/abandoned sessions from the list itself, even if those entries were not requested.
- GET
/sessionsReturns a sanitized list of the currently running game sessions. Causes a list refresh. -
POST
/registersessionAccepts self-reported metadata about a session from a user on this instance.Requires:
hostusername,hostIPv4,worldID,visibilityReturns:
checkIn,sessionID,sessionOwnerKey,sessionKeepAliveTime -
POST
/checkinsessionUsed by a session host to keep their session listing alive.Requires:
sessionID,sessionOwnerKey -
POST
/closesessionUsed by a session host to manually remove their session. It's exptected that a game manually inform the webserver that a session has closed (if possible).Requires:
sessionID,sessionOwnerKey