I am working on a query dealing with the Requests Table. I see an URL that shows "/api/v1/courses/#####/ping" in the data field. What is this Ping's purpose? What is it used for in Requests?
From what I understand about web applications, watching the 'Network' tab while using Canvas and spending far too much time in the requests table...
The /ping requests are Canvas keeping alive, or in our Asynchronous world (the web since early 2000's), web pages and especially web applications no longer just live by clicks. So after the page loads for the user, Canvas uses some kind of polling code to remind the backend that the front end (user and the browser) are doing something.
So most /ping requests are actions or events happening in Canvas usually for the user, but not necessarily physically performed by the user.
In the requests table, this causes some difficulty in parsing out which rows are meaningful. For instance, I have a query process that tries to determine user time spent, it specifically ignores /ping requests, because I feel the user could have been idle.
Retrieving data ...