v2

latestSwagger 2.02026-07-26109144190.4 KB
Reporting

A list of shift changes for a team

Returns a log of user shift changes for the specified team. This is historical data, and may be up to 15 minutes behind real-time log data.

This API may be called a maximum of 2 times per second.

get/api-reporting/v1/team/{team}/oncall/log

Path parameters

teamstring required

The VictorOps team 'slug'

Query parameters

startstring date-time

Return shift changes occurring after this timestamp. The default is the start of the day at midnight. Specify the timestamp in ISO8601 format

endstring date-time

Return shift changes occurring before this timestamp. The default is the end of the day at 11:59:59. Specify the timestamp in ISO8601 format

userNamestring

The VictorOps user ID. Return shift changes occurring during the interval specified for this user. Without this parameter, all relevant users (with respect to the specified interval) are returned

Headers

X-VO-Api-Idstring required

Your API ID

X-VO-Api-Keystring required

Your API Key

Response

The result of the take request

teamSlugstring
startstring date-time
endstring date-time