All URIs are relative to http://localhost:3000/api
Method | HTTP request | Description |
---|---|---|
GetPlayer | Get /player | Get Player |
PostMoves | Post /moves | Create Move |
InlineResponse202 GetPlayer(ctx, )
Get Player
Get player information
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse202 PostMoves(ctx, direction)
Create Move
Create a player move
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
direction | string | The direction to move |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]