Interface PlayerService


  • @RegisterRestClient
    @Path("/")
    public interface PlayerService
    • Method Detail

      • getPlayerById

        @GET
        @Path("/player/{playerId}")
        @Produces("application/json")
        String getPlayerById​(@PathParam("playerId")
                             String id)
      • recordGame

        @POST
        @Path("/rank/{playerId}/recordGame")
        void recordGame​(@PathParam("playerId")
                        String id,
                        @QueryParam("place")
                        int place,
                        @HeaderParam("Authorization")
                        String token)