Create a rotation group
Create a new rotation group under the specified team, optionally including one or more shifts.
Each shift must have a duration of 90 days or less. All usernames provided must belong to the organization and must not be stakeholder users.
The "shifttype" field must be one of: "std" (Standard), "fts" (Follow The Sun), "cstm" (Custom), "pho" (Period Hand Off). The "mask2" and "mask3" properties are optional and are used for "cstm" and "fts" shift types.
This API may be called a maximum of 2 times per second.
Request
- Base URLhttps://api.victorops.com
- Authnone declared. Required headers: X-VO-Api-Id, X-VO-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The team slug
Query parameters
Number of weeks to skip for the on-call period preview
Number of weeks to show for the on-call period preview
Headers
Your API ID
Your API Key
Request body
Response
The created rotation group with its shifts and on-call period details
Changes
No recorded changes to this operation across all 3 revisions of this API.