Skip to content

API Reference

masterSmallwood edited this page Feb 16, 2018 · 13 revisions

Create World:

  • POST -> /uploadWorld
  • Make sure to set the Content-Type header as application/json
  • Returns: unique id for the world

Get World:

  • GET -> /worlds/:id
  • Returns: World as JSON

Delete World:

  • DELETE -> /worlds/:id
  • Returns: Redirects to homepage for now

Update World:

  • PUT -> /worlds/:id
  • Make sure to set the Content-Type header as application/json
  • Returns: Success message and worldId as JSON

Clone this wiki locally