Open V8-Luky opened 3 hours ago
@lucachenchenStud I've prepared a simple api definition of the existing backend (or the one that'll be deployed, once the other PRs are through).
Concerning the guess
endpoint: I currently don't return which parts of the metadata matched with the metadata and which didn't - I'm guessing you'd required that? In what from would that be best for you?
Is there any other information you need (from any of the endpoints?)
The api currently has these three endpoints:
/games
Returns a list of game names in the form:
/hint?name="[Game Name]"
Generates and returns a hint using the secret target game and the queried game
[Game Name]
:/guess?name="[Game Name]"
Takes the guess
[Game Name]
and compares it to the secret target game. Returns the comparison:Within the
metadata
element it'll return everything that we decide to store associated with the game.