![]() when querying authentication events in the API, allow specifying start_time and end_time. these are passed to the underlying event stream. fixes CNVS-6996 test-plan: - create some authentication events (logging a user in and out) - request the authentication events through the API - choose an event in the middle and note its timestamp - pass that timestamp as the start_time in the query string (ISO8601 formatted); only the newer portion of events should be returned, including the selected event. - pass that timestamp as the end_time in the query string (ISO8601 formatted); only the older portion of events should be returned, including the selected event. - try combining start_time and end_time where * start_time < end_time (subset of events returned) * start_time = end_time (only the event with matching timestamp returned) * start_time > end_time (no events returned) Change-Id: I156ead6a535e08b17f44ed352cad7561ee246161 Reviewed-on: https://gerrit.instructure.com/22488 Reviewed-by: Brian Palmer <brianp@instructure.com> QA-Review: Jeremy Putnam <jeremyp@instructure.com> Product-Review: Jacob Fugal <jacob@instructure.com> Tested-by: Jenkins <jenkins@instructure.com> |
||
---|---|---|
.. | ||
authentication_spec.rb |