Skip to content

Response Strokes

Definition

Stroke Data that make up each clip returned as part of a Replay Request

Hole Structure

json
{
  "InTheHole": "<in-the-hole>",
  "StrokeNumber": "<stroke-number>",
  "Type": "<stroke-type>",
  "UTCTime": "<utc-time>",
  "UTCStartTime": "<utc-start-time>",
  "UTCEndTime": "<utc-end-time>",
  "Comment": "<comment>"
}

InTheHole boolean

Is true if the stroke resulted in the ball sinking into the hole

StrokeNumber int

Order property indicating the number of each sequenced stroke

Type enum

javascript
None: 0,
Normal: 1,
Provisional: 2,
Penalty: 3,
Drop: 4

All returned strokes as of now should be of Normal type

UTCTime dateTime

The time in UTC that this stroke was taken

UTCStartTime dateTime

The clip start time for this stroke

UTCEndTime dateTime

The clip end time for this stroke

Comment string

Comment indiciating why this Stroke was returned as part of the replay. Only is populated for Stroke specific metrics or scenarios