Skip to content

Instantly share code, notes, and snippets.

@TAG-Epic
Last active November 12, 2022 11:17
Show Gist options
  • Save TAG-Epic/054c07fdfadb56b12189e95b146e2444 to your computer and use it in GitHub Desktop.
Save TAG-Epic/054c07fdfadb56b12189e95b146e2444 to your computer and use it in GitHub Desktop.
api_spec.md

POST /user/@me?username=username

Create account Please do not automate.

GET /user/@me

Get current user
Requires auth (authentication header)

GET /user/all

Get all users

GET /user/user_id

Get spesific user

POST /board/move/UP OR DOWN OR RIGHT OR LEFT

Move Requires auth

POST /board/dig

Dig up a RESOURCEFUL tile Requires auth, must stand on top of a RESOURCEFUL tile. Will get a few extra points.

POST /user/user_id/attack

Attacks a user Requires auth, and user be in range

POST /user/user_id/gift

Gifts a user Requires auth, and user be in range

GET /board

Board

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment