Undos/Insertions

Undos

Undos are events that undo previous events that have happened in the fight. They can undo events that have just happened (i.e. in-sequence) or undo events that have happened previously (i.e out of sequence). RoundTime field is added to Undo packets that undo "RoundPaused" / "RoundUnpaused" / "RoundFinished". Note, that Undo of all other actions will not have "RoundTime" field.

Undo Object

Field Name

Type

Description

timestamp

time

the time at which the fight started

roundTime

time

The time in the round in which the Undo is being inserted

eventElementType

string

The event, in this case, always “Undo”

seqNum

integer

the sequence number of the event

eventUndoneIdentifier

object

contains the seqNum of the event that was undone, so you can identify what to undo

Stats Object

This will show stats for the overall fight, and broken down per round per corner per fighter. If the undo affects a fighter action, the stats will change to reflect this.

Field Name

Type

Description

takedownAttempt

integer

The number of takedown attempts for that fighter

takedownLanded

integer

The number of takedowns landed by that fighter

submissionAttempt

integer

The number of submission attempts for that fighter

reversal

integer

The number of reversals by that fighter

knockdown

integer

The number of knockdowns by that fighter

Sample Response

{
  "eventElementType": "Undo",
  "eventUndoneIdentifier": {
    "seqNum": 8
  },
  "seqNum": 13,
  "stats": {
    "fight": {
      "blue": {
        "knockdown": 0,
        "reversal": 0,
        "submissionAttempt": 0,
        "takedownAttempt": 0,
        "takedownLanded": 0
      },
      "red": {
        "knockdown": 0,
        "reversal": 0,
        "submissionAttempt": 2,
        "takedownAttempt": 1,
        "takedownLanded": 0
      }
    },
    "round": {
      "1": {
        "blue": {
          "knockdown": 0,
          "reversal": 0,
          "submissionAttempt": 0,
          "takedownAttempt": 0,
          "takedownLanded": 0
        },
        "red": {
          "knockdown": 0,
          "reversal": 0,
          "submissionAttempt": 2,
          "takedownAttempt": 1,
          "takedownLanded": 0
        }
      }
    }
  },
  "timestamp": "2024-11-09T22:08:53.702290Z"
}

Event Inserted

An insertion is when an action is retrospectively added to the fight, out of sequence. An example could be that the scorer missed a takedown in the third round, so they insert it in the fourth round, but with details of the time it happened in the third round.

Event Inserted Object

Field Name

Type

Description

timestamp

time

the time at which the fight started

eventElementType

string

The event, in this case, always “Insertion”

seqNum

integer

the sequence number of the event

eventInserted

object

Details of the action that has been inserted

eventInserted Object

Field Name

Type

Description

eventElementType

string

The event, in this case, always “Insertion”

seqNum

integer

the sequence number of the event

roundNum

integer

The number of the round in which the event is being inserted

roundTime

string

The time in the round in which the event is being inserted

fighter

string

The fighter assigned to the action that is being inserted

Stats Object

This will show stats for the overall fight, and broken down per round per corner per fighter. If the insertion affects a fighter action, the stats will change to reflect this.

Field Name

Type

Description

takedownAttempt

integer

The number of takedown attempts for that fighter

takedownLanded

integer

The number of takedowns landed by that fighter

submissionAttempt

integer

The number of submission attempts for that fighter

reversal

integer

The number of reversals by that fighter

knockdown

integer

The number of knockdowns by that fighter

Sample Response

{
  "eventElementType": "Insertion",
  "eventInserted": {
    "eventElementType": "SubmissionAttempt",
    "fighter": "Blue",
    "roundNum": 1,
    "roundTime": "1:50"
  },
  "seqNum": 14,
  "stats": {
    "fight": {
      "blue": {
        "knockdown": 0,
        "reversal": 0,
        "submissionAttempt": 1,
        "takedownAttempt": 0,
        "takedownLanded": 0
      },
      "red": {
        "knockdown": 0,
        "reversal": 0,
        "submissionAttempt": 2,
        "takedownAttempt": 1,
        "takedownLanded": 0
      }
    },
    "round": {
      "1": {
        "blue": {
          "knockdown": 0,
          "reversal": 0,
          "submissionAttempt": 1,
          "takedownAttempt": 0,
          "takedownLanded": 0
        },
        "red": {
          "knockdown": 0,
          "reversal": 0,
          "submissionAttempt": 2,
          "takedownAttempt": 1,
          "takedownLanded": 0
        }
      }
    }
  },
  "timestamp": "2024-11-09T22:08:54.132442Z"
}

Last updated

Was this helpful?