Forum Topic - Add a flag for replayed games: (3 Items)
   
Add a flag for replayed games  
I'm using the API for a variety of things, but one of them is posting a live schedule/results page on our website. I 
noticed, in my testing, that games that were replayed at a later time can create a bit of confusion in the data.

To see an example of what I mean, follow the link below and look at match 62.

http://fmsapi.roboravens.ca/fms-api-test/

Since the game was replayed at the end of the day, the match effectively shows a delay of over two hours.

Also, it would be useful for the API to allow you to select all event matches including both qual and playoff.
Re: Add a flag for replayed games  
Hello, welcome.
Regarding your first comments, yes, if a match is replayed, we record the times it actually happened (which can be hours
 after "scheduled" if it happened later in the day). I'm unsure if you're asking a question, or making an observation. 
But if you're looking to confirm what you see, yes, we update the record when a match is replayed.

On your second item, the API does allow you to get data across quals and playoffs at the same time. For example, https:/
/frc-api.firstinspires.org/v2.0/2017/matches/galileo, returns all results together. If you specify a tournament level, 
it will filter the results to just that level.

You can find more about the available parameters on the full documentation: https://frcevents2.docs.apiary.io/#reference
/match-results/event-match-results/retrieve-event-match-results

Hope that helps.
Re: Add a flag for replayed games  
Thank you for the response.

I apologize for not being clear. I was suggesting that a flag in the data indicating the match was replayed would be 
helpful, however as Douglas pointed out, I could just adjust for this by looking for out-of-sequence start times, 
therefore, while the flag would be handy, it may not be necessary.

What I'm trying to do is display the schedule, projecting the start times of unplayed matches based on the delay in 
earlier matches.I suppose, in the event of a replayed match, I wouldn't see the delay anomaly until the match had been 
replayed.

On second point, if you use the matches API, you can request results for both qualification and playoff matches, however
, this is not the case with the Event Schedule and Hybrid Schedule APIs. My current application is only showing results 
only because there are no incomplete schedules to examine at this time. I can get around this by making two separate 
calls, and that may not be a bad thing from the perspective of organizing the data, but it seemed a little inconsistent.