v2

latestOpenAPI 3.1.12026-07-2685124366.6 KB
match

Gets Zebra MotionWorks data for a Match for the given match key.

get/match/{match_key}/zebra_motionworks

Path parameters

match_keystring required

TBA Match Key, eg 2016nytr_qm1

Headers

If-None-Matchstring

Value of the ETag header in the most recently cached response by the client.

Response

Successful response

keystring required

TBA match key with the format yyyy[EVENT_CODE]_[COMP_LEVEL]m[MATCH_NUMBER], where yyyy is the year, and EVENT_CODE is the event code of the event, COMP_LEVEL is (qm, ef, qf, sf, f), and MATCH_NUMBER is the match number in the competition level. A set number may be appended to the competition level if more than one match in required per set.

timesnumber[] required

A list of relative timestamps for each data point. Each timestamp will correspond to the X and Y value at the same index in a team xs and ys arrays. times, all teams xs and all teams ys are guarenteed to be the same length.

Example response

{
  "alliances": {
    "red": [
      {
        "team_key": "frc7332",
        "xs": [
          2.73
        ],
        "ys": [
          2.73
        ]
      }
    ],
    "blue": [
      {
        "team_key": "frc7332",
        "xs": [
          2.73
        ],
        "ys": [
          2.73
        ]
      }
    ]
  }
}