Remove segment_names field from Replay responses; add webhookEvents to SentryApp
BreakingBreaking change
This is a breaking change — integrations that rely on the affected behaviour will need updates before the change rolls out.
What changed
This diff makes two distinct changes:
segment_namesremoved: Thesegment_namesfield (nullablearray of strings) is removed from Replay response schemas across multiple endpoints, andsegment_namesis also removed from the valid enum values for thefieldquery parameter. Clients requestingsegment_namesas a field or reading it from replay responses will break.webhookEventsadded: A newwebhookEventsfield (array of strings, e.g.issue.assigned,issue.created, etc.) is added to SentryApp response schemas and marked as required in therequiredarray. This is a new response field that existing integrations can now read, but its addition torequiredmeans schema validators may flag existing responses that omit it.