[domain] = http://bohnenspiel.informatik.uni-mannheim.de/api
URI | Operation | Parameter | Accept | Effect |
---|---|---|---|---|
[domain]/creategame/ | GET | name | e.g. 'Test' | returns the gameid |
[domain]/check/ | GET | gameid/name | e.g. '1/Test' | returns the state
|
[domain]/opengames/ | GET | - | - | returns all game urls as a string (delimiter ';') |
[domain]/joingame/ | GET | gameid/name | e.g. '1/Test' | returns the result
|
[domain]/state/ | GET | gameid | e.g. '1' | returns state of the game
|
[domain]/statemsg/ | GET | gameid | e.g. '1' | returns a description/explanation of the current state (/api/state/) |
[domain]/move/ | GET | gameid/name/fieldID | e.g. '1/Test/6' | returns nothing |