Igratech Websocket API 1.0.0

Igratech Websocket API.

Servers

  • ws://ws.igratech.webspark.dev/wspublic

Operations

  • PUB connected

    On socket connected

    • #connected
    • #publish

    Accepts the following message:

    publish-connected
    object

    Examples

  • PUB logout

    SCLP-25 Information about login from another Client and close connection

    • #logout
    • #publish

    Accepts the following message:

    publish-logout
    object

    Examples

  • PUB ping-pong

    Maintain conection response

    • #ping-pong
    • #publish

    Accepts the following message:

    publish-pong
    object

    Examples

  • SUB ping-pong

    Maintain conection message

    • #ping-pong
    • #subscribe

    Accepts the following message:

    subscribe-ping
    object

    Examples

  • PUB settings

    Response information about settings

    • #settings
    • #publish

    Accepts the following message:

    publish-settings
    object

    Examples

  • SUB settings

    Server info about settings

    • #settings
    • #subscribe

    Accepts the following message:

    subscribe-settings
    object

    Examples

  • PUB incident

    Info about upcomint incidents for certain game

    • #incident
    • #publish

    Accepts the following message:

    publish-incident
    object

    Examples

  • PUB bet

    Info about bets for certain game

    • #bet
    • #publish

    Accepts the following message:

    publish-bet
    object

    Examples

  • PUB bets-result

    Updates the status of bets

    • #bet
    • #result
    • #publish

    Accepts the following message:

    publish-bets-result
    object

    Examples

  • PUB balance

    Updates the balance of the user

    • #balance
    • #publish

    Accepts the following message:

    publish-balance
    object

    Examples

  • PUB stats

    Updates a set of stats

    • #stats
    • #publish

    Accepts the following message:

    publish-stats
    object

    Examples

Messages

  • #1publish-stats
    object
  • #2publish-balance
    object
  • #3publish-bets-result
    object
  • #4publish-bet
    object
  • #5publish-incident
    object
  • #6publish-connected
    object
  • #7publish-logout
    object
  • #8subscribe-settings
    object
  • #9publish-settings
    object
  • #10subscribe-ping
    object
  • #11publish-pong
    object

Schemas

  • object
    uid: status
  • object
    uid: incident-data
  • object
    uid: bet-data-item
  • object
    uid: bets-result-data
  • object
    uid: stats-data