Debug API

Not a computer programmer? Don't know what an API is? You're most likely lost. Get me out of here!

Here you can play around with API calls to the swarmsim server at {{env.saveServerUrl}}. (Unlike the other debug page, this one's visible in production because you can't cheat with it. It is not a bug.) Have fun!

TODO: document available api calls. Until then, use the source. This one, too. It's mostly REST-style URLs, except for the AuthController and MiscController stuff.

Logged in as: {{loginApi.user|json}}. Logout

Not logged in.


Make an API call

window.submitApiCall() works too, but only from this page.

{{env.saveServerUrl}}{{form.url}}