|
2057 | 2057 | } |
2058 | 2058 | ] |
2059 | 2059 | }, |
| 2060 | + { |
| 2061 | + "name": "archivePullRequest", |
| 2062 | + "kind": "mutations", |
| 2063 | + "id": "archivepullrequest", |
| 2064 | + "href": "/graphql/reference/mutations#archivepullrequest", |
| 2065 | + "description": "<p>Archive a pull request. Closes, locks, and marks the pull request as archived.\nOnly repository admins can archive pull requests.</p>", |
| 2066 | + "inputFields": [ |
| 2067 | + { |
| 2068 | + "name": "input", |
| 2069 | + "type": "ArchivePullRequestInput!", |
| 2070 | + "id": "archivepullrequestinput", |
| 2071 | + "kind": "input-objects", |
| 2072 | + "href": "/graphql/reference/input-objects#archivepullrequestinput" |
| 2073 | + } |
| 2074 | + ], |
| 2075 | + "returnFields": [ |
| 2076 | + { |
| 2077 | + "name": "clientMutationId", |
| 2078 | + "type": "String", |
| 2079 | + "id": "string", |
| 2080 | + "kind": "scalars", |
| 2081 | + "href": "/graphql/reference/scalars#string", |
| 2082 | + "description": "<p>A unique identifier for the client performing the mutation.</p>" |
| 2083 | + }, |
| 2084 | + { |
| 2085 | + "name": "pullRequest", |
| 2086 | + "type": "PullRequest", |
| 2087 | + "id": "pullrequest", |
| 2088 | + "kind": "objects", |
| 2089 | + "href": "/graphql/reference/objects#pullrequest", |
| 2090 | + "description": "<p>The pull request that was archived.</p>" |
| 2091 | + } |
| 2092 | + ] |
| 2093 | + }, |
2060 | 2094 | { |
2061 | 2095 | "name": "archiveRepository", |
2062 | 2096 | "kind": "mutations", |
|
7511 | 7545 | } |
7512 | 7546 | ] |
7513 | 7547 | }, |
| 7548 | + { |
| 7549 | + "name": "unarchivePullRequest", |
| 7550 | + "kind": "mutations", |
| 7551 | + "id": "unarchivepullrequest", |
| 7552 | + "href": "/graphql/reference/mutations#unarchivepullrequest", |
| 7553 | + "description": "<p>Unarchive a pull request. Removes the archived flag from the pull request.\nDoes not automatically reopen or unlock the pull request. Only repository\nadmins can unarchive pull requests.</p>", |
| 7554 | + "inputFields": [ |
| 7555 | + { |
| 7556 | + "name": "input", |
| 7557 | + "type": "UnarchivePullRequestInput!", |
| 7558 | + "id": "unarchivepullrequestinput", |
| 7559 | + "kind": "input-objects", |
| 7560 | + "href": "/graphql/reference/input-objects#unarchivepullrequestinput" |
| 7561 | + } |
| 7562 | + ], |
| 7563 | + "returnFields": [ |
| 7564 | + { |
| 7565 | + "name": "clientMutationId", |
| 7566 | + "type": "String", |
| 7567 | + "id": "string", |
| 7568 | + "kind": "scalars", |
| 7569 | + "href": "/graphql/reference/scalars#string", |
| 7570 | + "description": "<p>A unique identifier for the client performing the mutation.</p>" |
| 7571 | + }, |
| 7572 | + { |
| 7573 | + "name": "pullRequest", |
| 7574 | + "type": "PullRequest", |
| 7575 | + "id": "pullrequest", |
| 7576 | + "kind": "objects", |
| 7577 | + "href": "/graphql/reference/objects#pullrequest", |
| 7578 | + "description": "<p>The pull request that was unarchived.</p>" |
| 7579 | + } |
| 7580 | + ] |
| 7581 | + }, |
7514 | 7582 | { |
7515 | 7583 | "name": "unarchiveRepository", |
7516 | 7584 | "kind": "mutations", |
@@ -100871,6 +100939,32 @@ |
100871 | 100939 | } |
100872 | 100940 | ] |
100873 | 100941 | }, |
| 100942 | + { |
| 100943 | + "name": "ArchivePullRequestInput", |
| 100944 | + "kind": "inputObjects", |
| 100945 | + "id": "archivepullrequestinput", |
| 100946 | + "href": "/graphql/reference/input-objects#archivepullrequestinput", |
| 100947 | + "description": "<p>Autogenerated input type of ArchivePullRequest.</p>", |
| 100948 | + "inputFields": [ |
| 100949 | + { |
| 100950 | + "name": "clientMutationId", |
| 100951 | + "description": "<p>A unique identifier for the client performing the mutation.</p>", |
| 100952 | + "type": "String", |
| 100953 | + "id": "string", |
| 100954 | + "kind": "scalars", |
| 100955 | + "href": "/graphql/reference/scalars#string" |
| 100956 | + }, |
| 100957 | + { |
| 100958 | + "name": "pullRequestId", |
| 100959 | + "description": "<p>The Node ID of the pull request to archive.</p>", |
| 100960 | + "type": "ID!", |
| 100961 | + "id": "id", |
| 100962 | + "kind": "scalars", |
| 100963 | + "href": "/graphql/reference/scalars#id", |
| 100964 | + "isDeprecated": false |
| 100965 | + } |
| 100966 | + ] |
| 100967 | + }, |
100874 | 100968 | { |
100875 | 100969 | "name": "ArchiveRepositoryInput", |
100876 | 100970 | "kind": "inputObjects", |
@@ -111169,6 +111263,32 @@ |
111169 | 111263 | } |
111170 | 111264 | ] |
111171 | 111265 | }, |
| 111266 | + { |
| 111267 | + "name": "UnarchivePullRequestInput", |
| 111268 | + "kind": "inputObjects", |
| 111269 | + "id": "unarchivepullrequestinput", |
| 111270 | + "href": "/graphql/reference/input-objects#unarchivepullrequestinput", |
| 111271 | + "description": "<p>Autogenerated input type of UnarchivePullRequest.</p>", |
| 111272 | + "inputFields": [ |
| 111273 | + { |
| 111274 | + "name": "clientMutationId", |
| 111275 | + "description": "<p>A unique identifier for the client performing the mutation.</p>", |
| 111276 | + "type": "String", |
| 111277 | + "id": "string", |
| 111278 | + "kind": "scalars", |
| 111279 | + "href": "/graphql/reference/scalars#string" |
| 111280 | + }, |
| 111281 | + { |
| 111282 | + "name": "pullRequestId", |
| 111283 | + "description": "<p>The Node ID of the pull request to unarchive.</p>", |
| 111284 | + "type": "ID!", |
| 111285 | + "id": "id", |
| 111286 | + "kind": "scalars", |
| 111287 | + "href": "/graphql/reference/scalars#id", |
| 111288 | + "isDeprecated": false |
| 111289 | + } |
| 111290 | + ] |
| 111291 | + }, |
111172 | 111292 | { |
111173 | 111293 | "name": "UnarchiveRepositoryInput", |
111174 | 111294 | "kind": "inputObjects", |
|
0 commit comments