diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 21e42a7b54..e26b5ddcc0 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -62365,6 +62365,10 @@ "description": "The reason for the state change. Ignored unless `state` is changed.", "example": "not_planned" }, + "duplicate_issue_id": { + "type": "integer", + "description": "The ID of the issue to mark as the canonical duplicate when `state_reason` is `duplicate`. The issue must exist and be accessible to the authenticated user. Ignored when `state_reason` is not `duplicate`." + }, "milestone": { "oneOf": [ { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index a867778888..520656877d 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -45972,6 +45972,12 @@ paths: description: The reason for the state change. Ignored unless `state` is changed. example: not_planned + duplicate_issue_id: + type: integer + description: The ID of the issue to mark as the canonical duplicate + when `state_reason` is `duplicate`. The issue must exist and be + accessible to the authenticated user. Ignored when `state_reason` + is not `duplicate`. milestone: oneOf: - type: string diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index a707aead07..4c00d0ccaa 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -62282,6 +62282,10 @@ "description": "The reason for the state change. Ignored unless `state` is changed.", "example": "not_planned" }, + "duplicate_issue_id": { + "type": "integer", + "description": "The ID of the issue to mark as the canonical duplicate when `state_reason` is `duplicate`. The issue must exist and be accessible to the authenticated user. Ignored when `state_reason` is not `duplicate`." + }, "milestone": { "oneOf": [ { diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index 740a5eb739..fd4230999e 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -45900,6 +45900,12 @@ paths: description: The reason for the state change. Ignored unless `state` is changed. example: not_planned + duplicate_issue_id: + type: integer + description: The ID of the issue to mark as the canonical duplicate + when `state_reason` is `duplicate`. The issue must exist and be + accessible to the authenticated user. Ignored when `state_reason` + is not `duplicate`. milestone: oneOf: - type: string diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 6a52e60fb0..a8ab216371 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -62653,6 +62653,10 @@ "description": "The reason for the state change. Ignored unless `state` is changed.", "example": "not_planned" }, + "duplicate_issue_id": { + "type": "integer", + "description": "The ID of the issue to mark as the canonical duplicate when `state_reason` is `duplicate`. The issue must exist and be accessible to the authenticated user. Ignored when `state_reason` is not `duplicate`." + }, "milestone": { "oneOf": [ { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index f4cd1ec142..2d3acaa9f7 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -46150,6 +46150,12 @@ paths: description: The reason for the state change. Ignored unless `state` is changed. example: not_planned + duplicate_issue_id: + type: integer + description: The ID of the issue to mark as the canonical duplicate + when `state_reason` is `duplicate`. The issue must exist and be + accessible to the authenticated user. Ignored when `state_reason` + is not `duplicate`. milestone: oneOf: - type: string diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 1ebb292100..b5229b1ae0 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -417880,6 +417880,10 @@ "description": "The reason for the state change. Ignored unless `state` is changed.", "example": "not_planned" }, + "duplicate_issue_id": { + "type": "integer", + "description": "The ID of the issue to mark as the canonical duplicate when `state_reason` is `duplicate`. The issue must exist and be accessible to the authenticated user. Ignored when `state_reason` is not `duplicate`." + }, "milestone": { "oneOf": [ { diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index cc14c3e407..c44d9fcd6b 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -88232,6 +88232,12 @@ paths: description: The reason for the state change. Ignored unless `state` is changed. example: not_planned + duplicate_issue_id: + type: integer + description: The ID of the issue to mark as the canonical duplicate + when `state_reason` is `duplicate`. The issue must exist and be + accessible to the authenticated user. Ignored when `state_reason` + is not `duplicate`. milestone: oneOf: - type: string diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 01412dab9d..a441d331fa 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -410344,6 +410344,10 @@ "description": "The reason for the state change. Ignored unless `state` is changed.", "example": "not_planned" {"code":"deadline_exceeded","msg":"operation timed out"}