API endpoints for schedule replicas
When this schedule replica was first created
"2021-08-17T13:28:57.801578Z"
Unique identifier of the schedule replica
"01G0J1EXE7AXZ2C93K61WBPYEH"
The ID of a user in the external provider that will be assigned whenever nobody is on-call in the incident.io schedule. External providers typically require someone to always be on-call, so this user fills gaps where incident.io has no one scheduled.
"PA7AXXN"
The external provider where this schedule is replicated to
native, pagerduty, opsgenie, jira "pagerduty"
The ID of the schedule in the external provider that this replica syncs to. For PagerDuty this is the schedule ID (e.g. PO8107X), for Opsgenie the schedule ID, and for Jira Service Management the schedule ID.
"PO8107X"
The ID of the incident.io schedule that this replica is syncing from
"01FDAG4SAP5TYPT98WGR2N7W91"
The specific rotation and layer combinations from the schedule that are being replicated. Each source identifies a single layer within a rotation to sync to the external provider.
[
{
"layer_id": "01G0J1EXE7AXZ2C93K61WBPYNH",
"rotation_id": "01G0J1EXE7AXZ2C93K61WBPYEH"
}
]When this schedule replica was last updated
"2021-08-17T13:28:57.801578Z"
The mapping status of each incident.io user in the schedule to their corresponding user in the external provider. Users must be mapped for the replica to sync their on-call shifts correctly.
[
{
"external_user_id": "PJYTRGS",
"user_id": "01G0J1EXE7AXZ2C93K61WBPYEH"
}
]The most recent error encountered while syncing this replica to the external provider, if any. Common errors include unmapped users or connectivity issues with the external provider. Null if the last sync was successful.
"Failed to find external user for Milly"
When the replica was last successfully synced to the external provider. Null if the replica has never been successfully synced.
"2023-11-07T13:33:30Z"