object RestModule: TRestModule
  Height = 455
  Width = 625
  PixelsPerInch = 120
  object GameApiClient: TRESTClient
    Accept = 'application/json, text/plain;q=0.9, text/html;q=0.8'
    AcceptCharset = 'utf-8, *;q=0.8'
    BaseURL = 'http://localhost:8080/api'
    ContentType = 'application/x-www-form-urlencoded'
    Params = <>
    SynchronizedEvents = False
    Left = 64
    Top = 58
  end
  object CreateLobbyRequest: TRESTRequest
    AssignedValues = [rvConnectTimeout, rvReadTimeout]
    Client = GameApiClient
    Method = rmPOST
    Params = <>
    Resource = 'lobby'
    Response = CreateLobbyResponse
    SynchronizedEvents = False
    Left = 250
    Top = 60
  end
  object CreateLobbyResponse: TRESTResponse
    ContentType = 'application/json'
    Left = 410
    Top = 60
  end
  object JoinLobbyRequest: TRESTRequest
    AssignedValues = [rvConnectTimeout, rvReadTimeout]
    Client = GameApiClient
    Method = rmPOST
    Params = <
      item
        Kind = pkURLSEGMENT
        Name = 'LOBBYCODE'
        Options = [poDoNotEncode]
        Value = 'FCF7B155'
      end>
    Resource = 'lobby/{LOBBYCODE}/join'
    Response = JoinLobbyResponse
    SynchronizedEvents = False
    Left = 250
    Top = 160
  end
  object JoinLobbyResponse: TRESTResponse
    Left = 410
    Top = 160
  end
  object GetStateRequest: TRESTRequest
    AssignedValues = [rvConnectTimeout, rvReadTimeout]
    Client = GameApiClient
    Params = <
      item
        Kind = pkURLSEGMENT
        Name = 'LOBBYCODE'
        Options = [poDoNotEncode]
        Value = 'FCF7B155'
      end>
    Resource = 'lobby/{LOBBYCODE}/state'
    Response = GetStateResponse
    SynchronizedEvents = False
    Left = 250
    Top = 270
  end
  object GetStateResponse: TRESTResponse
    Left = 410
    Top = 270
  end
  object MakeMoveRequest: TRESTRequest
    AssignedValues = [rvConnectTimeout, rvReadTimeout]
    Client = GameApiClient
    Method = rmPOST
    Params = <
      item
        Kind = pkURLSEGMENT
        Name = 'LOBBYCODE'
        Options = [poDoNotEncode]
        Value = 'FCF7B155'
      end
      item
        Kind = pkHTTPHEADER
        Name = 'Authorization'
        Options = [poDoNotEncode]
        Value = 'Bearer XXX'
      end
      item
        Kind = pkREQUESTBODY
        Name = 'body'
        Value = '{"cell": 1}'
        ContentTypeStr = 'application/json'
      end>
    Resource = 'lobby/{LOBBYCODE}/move'
    Response = MakeMoveResponse
    SynchronizedEvents = False
    Left = 250
    Top = 360
  end
  object MakeMoveResponse: TRESTResponse
    ContentType = 'application/json'
    Left = 410
    Top = 360
  end
end
