n8n-nodes-test-node 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/GitHubV3RESTAPIApi.credentials.d.ts +8 -0
- package/dist/GitHubV3RESTAPIApi.credentials.js +28 -0
- package/dist/{RemoteChromiumCDPAutomationAPINode.node.d.ts → GitHubV3RESTAPINode.node.d.ts} +1 -1
- package/dist/GitHubV3RESTAPINode.node.js +1727 -0
- package/dist/{RemoteChromiumCDPAutomationAPIToolNode.node.d.ts → GitHubV3RESTAPIToolNode.node.d.ts} +1 -1
- package/dist/GitHubV3RESTAPIToolNode.node.js +1728 -0
- package/package.json +5 -5
- package/dist/RemoteChromiumCDPAutomationAPIApi.credentials.d.ts +0 -9
- package/dist/RemoteChromiumCDPAutomationAPIApi.credentials.js +0 -45
- package/dist/RemoteChromiumCDPAutomationAPINode.node.js +0 -4449
- package/dist/RemoteChromiumCDPAutomationAPIToolNode.node.js +0 -4450
|
@@ -0,0 +1,1727 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GitHubV3RESTAPINode = void 0;
|
|
4
|
+
class GitHubV3RESTAPINode {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.description = {
|
|
7
|
+
displayName: 'GitHub v3 REST API',
|
|
8
|
+
name: 'gitHubV3RESTAPI',
|
|
9
|
+
icon: 'file:icon.svg',
|
|
10
|
+
group: ['transform'],
|
|
11
|
+
version: 1,
|
|
12
|
+
subtitle: '={{$parameter["operation"] + ($parameter["resource"] ? " " + $parameter["resource"] : "")}}',
|
|
13
|
+
description: "GitHub's v3 REST API.",
|
|
14
|
+
defaults: {
|
|
15
|
+
name: 'GitHub v3 REST API',
|
|
16
|
+
},
|
|
17
|
+
inputs: ['main'],
|
|
18
|
+
outputs: ['main'],
|
|
19
|
+
credentials: [
|
|
20
|
+
{
|
|
21
|
+
name: 'gitHubV3RESTAPIApi',
|
|
22
|
+
required: true,
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
requestDefaults: {
|
|
26
|
+
baseURL: '={{$credentials.baseUrl}}',
|
|
27
|
+
headers: {
|
|
28
|
+
Accept: 'application/json',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
properties: [
|
|
32
|
+
{
|
|
33
|
+
displayName: 'Operation',
|
|
34
|
+
name: 'operation',
|
|
35
|
+
type: 'options',
|
|
36
|
+
noDataExpression: true,
|
|
37
|
+
options: [
|
|
38
|
+
{
|
|
39
|
+
name: 'Get The Authenticated App',
|
|
40
|
+
value: 'appsGetAuthenticated',
|
|
41
|
+
action: 'Get the authenticated app',
|
|
42
|
+
description: 'Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app\'s installations, see the "[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.19/rest/apps/apps#list-installations-for-the-authenticated-app)" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
43
|
+
routing: {
|
|
44
|
+
request: {
|
|
45
|
+
method: 'GET',
|
|
46
|
+
url: '=/app',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'Create A Git Hub App From A Manifest',
|
|
52
|
+
value: 'appsCreateFromManifest',
|
|
53
|
+
action: 'Create a GitHub App from a manifest',
|
|
54
|
+
description: "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.",
|
|
55
|
+
routing: {
|
|
56
|
+
request: {
|
|
57
|
+
method: 'POST',
|
|
58
|
+
url: '=/app-manifests/{{$parameter["code"]}}/conversions',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'Get A Webhook Configuration For An App',
|
|
64
|
+
value: 'appsGetWebhookConfigForApp',
|
|
65
|
+
action: 'Get a webhook configuration for an app',
|
|
66
|
+
description: 'Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
67
|
+
routing: {
|
|
68
|
+
request: {
|
|
69
|
+
method: 'GET',
|
|
70
|
+
url: '=/app/hook/config',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'Update A Webhook Configuration For An App',
|
|
76
|
+
value: 'appsUpdateWebhookConfigForApp',
|
|
77
|
+
action: 'Update a webhook configuration for an app',
|
|
78
|
+
description: 'Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
79
|
+
routing: {
|
|
80
|
+
request: {
|
|
81
|
+
method: 'PATCH',
|
|
82
|
+
url: '=/app/hook/config',
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'List Deliveries For An App Webhook',
|
|
88
|
+
value: 'appsListWebhookDeliveries',
|
|
89
|
+
action: 'List deliveries for an app webhook',
|
|
90
|
+
description: 'Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
91
|
+
routing: {
|
|
92
|
+
request: {
|
|
93
|
+
method: 'GET',
|
|
94
|
+
url: '=/app/hook/deliveries',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: 'Get A Delivery For An App Webhook',
|
|
100
|
+
value: 'appsGetWebhookDelivery',
|
|
101
|
+
action: 'Get a delivery for an app webhook',
|
|
102
|
+
description: 'Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
103
|
+
routing: {
|
|
104
|
+
request: {
|
|
105
|
+
method: 'GET',
|
|
106
|
+
url: '=/app/hook/deliveries/{{$parameter["deliveryId"]}}',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: 'Redeliver A Delivery For An App Webhook',
|
|
112
|
+
value: 'appsRedeliverWebhookDelivery',
|
|
113
|
+
action: 'Redeliver a delivery for an app webhook',
|
|
114
|
+
description: 'Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
115
|
+
routing: {
|
|
116
|
+
request: {
|
|
117
|
+
method: 'POST',
|
|
118
|
+
url: '=/app/hook/deliveries/{{$parameter["deliveryId"]}}/attempts',
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: 'List Installation Requests For The Authenticated App',
|
|
124
|
+
value: 'appsListInstallationRequestsForAuthenticatedApp',
|
|
125
|
+
action: 'List installation requests for the authenticated app',
|
|
126
|
+
description: 'Lists all the pending installation requests for the authenticated GitHub App.',
|
|
127
|
+
routing: {
|
|
128
|
+
request: {
|
|
129
|
+
method: 'GET',
|
|
130
|
+
url: '=/app/installation-requests',
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'List Installations For The Authenticated App',
|
|
136
|
+
value: 'appsListInstallations',
|
|
137
|
+
action: 'List installations for the authenticated app',
|
|
138
|
+
description: 'The permissions the installation has are included under the `permissions` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
139
|
+
routing: {
|
|
140
|
+
request: {
|
|
141
|
+
method: 'GET',
|
|
142
|
+
url: '=/app/installations',
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: 'Get An Installation For The Authenticated App',
|
|
148
|
+
value: 'appsGetInstallation',
|
|
149
|
+
action: 'Get an installation for the authenticated app',
|
|
150
|
+
description: "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
|
|
151
|
+
routing: {
|
|
152
|
+
request: {
|
|
153
|
+
method: 'GET',
|
|
154
|
+
url: '=/app/installations/{{$parameter["installationId"]}}',
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: 'Delete An Installation For The Authenticated App',
|
|
160
|
+
value: 'appsDeleteInstallation',
|
|
161
|
+
action: 'Delete an installation for the authenticated app',
|
|
162
|
+
description: 'Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app\'s access to your account\'s resources, then we recommend the "[Suspend an app installation](https://docs.github.com/enterprise-server@3.19/rest/apps/apps#suspend-an-app-installation)" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
163
|
+
routing: {
|
|
164
|
+
request: {
|
|
165
|
+
method: 'DELETE',
|
|
166
|
+
url: '=/app/installations/{{$parameter["installationId"]}}',
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: 'Create An Installation Access Token For An App',
|
|
172
|
+
value: 'appsCreateInstallationAccessToken',
|
|
173
|
+
action: 'Create an installation access token for an app',
|
|
174
|
+
description: "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\n> [!NOTE]\n> Starting April 27, 2026, GitHub began a staged rollout of a stateless format (`ghs_APPID_JWT`) to all newly minted GitHub App installation tokens, making them more performant and improving the reliability of our API surface. If your application expects or relies on installation tokens being exactly 40 characters long, it may not handle this new token format correctly. You can now validate your apps and workflows using a temporary request header that lets you enable the token format on demand. For more information about the temporary header, see [the GitHub blog](https://github.blog/changelog/2026-05-15-github-app-installation-tokens-per-request-override-header).\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
|
|
175
|
+
routing: {
|
|
176
|
+
request: {
|
|
177
|
+
method: 'POST',
|
|
178
|
+
url: '=/app/installations/{{$parameter["installationId"]}}/access_tokens',
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
name: 'Suspend An App Installation',
|
|
184
|
+
value: 'appsSuspendInstallation',
|
|
185
|
+
action: 'Suspend an app installation',
|
|
186
|
+
description: "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
|
|
187
|
+
routing: {
|
|
188
|
+
request: {
|
|
189
|
+
method: 'PUT',
|
|
190
|
+
url: '=/app/installations/{{$parameter["installationId"]}}/suspended',
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
name: 'Unsuspend An App Installation',
|
|
196
|
+
value: 'appsUnsuspendInstallation',
|
|
197
|
+
action: 'Unsuspend an app installation',
|
|
198
|
+
description: 'Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
199
|
+
routing: {
|
|
200
|
+
request: {
|
|
201
|
+
method: 'DELETE',
|
|
202
|
+
url: '=/app/installations/{{$parameter["installationId"]}}/suspended',
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: 'Delete An App Authorization',
|
|
208
|
+
value: 'appsDeleteAuthorization',
|
|
209
|
+
action: 'Delete an app authorization',
|
|
210
|
+
description: "OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).",
|
|
211
|
+
routing: {
|
|
212
|
+
request: {
|
|
213
|
+
method: 'DELETE',
|
|
214
|
+
url: '=/applications/{{$parameter["clientId"]}}/grant',
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: 'Check A Token',
|
|
220
|
+
value: 'appsCheckToken',
|
|
221
|
+
action: 'Check a token',
|
|
222
|
+
description: 'OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`.',
|
|
223
|
+
routing: {
|
|
224
|
+
request: {
|
|
225
|
+
method: 'POST',
|
|
226
|
+
url: '=/applications/{{$parameter["clientId"]}}/token',
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: 'Delete An App Token',
|
|
232
|
+
value: 'appsDeleteToken',
|
|
233
|
+
action: 'Delete an app token',
|
|
234
|
+
description: 'OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization.',
|
|
235
|
+
routing: {
|
|
236
|
+
request: {
|
|
237
|
+
method: 'DELETE',
|
|
238
|
+
url: '=/applications/{{$parameter["clientId"]}}/token',
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: 'Reset A Token',
|
|
244
|
+
value: 'appsResetToken',
|
|
245
|
+
action: 'Reset a token',
|
|
246
|
+
description: 'OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`.',
|
|
247
|
+
routing: {
|
|
248
|
+
request: {
|
|
249
|
+
method: 'PATCH',
|
|
250
|
+
url: '=/applications/{{$parameter["clientId"]}}/token',
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
name: 'Create A Scoped Access Token',
|
|
256
|
+
value: 'appsScopeToken',
|
|
257
|
+
action: 'Create a scoped access token',
|
|
258
|
+
description: 'Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify\nwhich repositories the token can access and which permissions are granted to the\ntoken.\n\nInvalid tokens will return `404 NOT FOUND`.',
|
|
259
|
+
routing: {
|
|
260
|
+
request: {
|
|
261
|
+
method: 'POST',
|
|
262
|
+
url: '=/applications/{{$parameter["clientId"]}}/token/scoped',
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: 'Get An App',
|
|
268
|
+
value: 'appsGetBySlug',
|
|
269
|
+
action: 'Get an app',
|
|
270
|
+
description: '> [!NOTE]\n> The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).',
|
|
271
|
+
routing: {
|
|
272
|
+
request: {
|
|
273
|
+
method: 'GET',
|
|
274
|
+
url: '=/apps/{{$parameter["appSlug"]}}',
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: 'Get Enterprise Owned Organizations That Can Have Git Hub Apps Installed',
|
|
280
|
+
value: 'enterpriseAppsInstallableOrganizations',
|
|
281
|
+
action: 'Get enterprise-owned organizations that can have GitHub Apps installed',
|
|
282
|
+
description: 'List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.',
|
|
283
|
+
routing: {
|
|
284
|
+
request: {
|
|
285
|
+
method: 'GET',
|
|
286
|
+
url: '=/enterprises/{{$parameter["enterprise"]}}/apps/installable_organizations',
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: 'Get Repositories Belonging To An Enterprise Owned Organization',
|
|
292
|
+
value: 'enterpriseAppsInstallableOrganizationAccessibleRepositories',
|
|
293
|
+
action: 'Get repositories belonging to an enterprise-owned organization',
|
|
294
|
+
description: 'List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.',
|
|
295
|
+
routing: {
|
|
296
|
+
request: {
|
|
297
|
+
method: 'GET',
|
|
298
|
+
url: '=/enterprises/{{$parameter["enterprise"]}}/apps/installable_organizations/{{$parameter["org"]}}/accessible_repositories',
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
name: 'List Git Hub Apps Installed On An Enterprise Owned Organization',
|
|
304
|
+
value: 'enterpriseAppsOrganizationInstallations',
|
|
305
|
+
action: 'List GitHub Apps installed on an enterprise-owned organization',
|
|
306
|
+
description: 'Lists the GitHub App installations associated with the given enterprise-owned organization. This lists all GitHub Apps that have been installed on the organization, regardless of who owns the application.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.',
|
|
307
|
+
routing: {
|
|
308
|
+
request: {
|
|
309
|
+
method: 'GET',
|
|
310
|
+
url: '=/enterprises/{{$parameter["enterprise"]}}/apps/organizations/{{$parameter["org"]}}/installations',
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: 'Install A Git Hub App On An Enterprise Owned Organization',
|
|
316
|
+
value: 'enterpriseAppsCreateInstallation',
|
|
317
|
+
action: 'Install a GitHub App on an enterprise-owned organization',
|
|
318
|
+
description: 'Installs any valid GitHub App on the specified organization owned by the enterprise. If the app is already installed on the organization, and is suspended, it will be unsuspended.\nIf the app has a pending installation request, they will all be approved.\n\nIf the app is already installed and has a pending update request, it will be updated to the latest version. If the app is now requesting repository permissions, it will be given access to the repositories listed in the request or fail if no `repository_selection` is provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.',
|
|
319
|
+
routing: {
|
|
320
|
+
request: {
|
|
321
|
+
method: 'POST',
|
|
322
|
+
url: '=/enterprises/{{$parameter["enterprise"]}}/apps/organizations/{{$parameter["org"]}}/installations',
|
|
323
|
+
},
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: 'Uninstall A Git Hub App From An Enterprise Owned Organization',
|
|
328
|
+
value: 'enterpriseAppsDeleteInstallation',
|
|
329
|
+
action: 'Uninstall a GitHub App from an enterprise-owned organization',
|
|
330
|
+
description: 'Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.',
|
|
331
|
+
routing: {
|
|
332
|
+
request: {
|
|
333
|
+
method: 'DELETE',
|
|
334
|
+
url: '=/enterprises/{{$parameter["enterprise"]}}/apps/organizations/{{$parameter["org"]}}/installations/{{$parameter["installationId"]}}',
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
name: 'Get The Repositories Accessible To A Given Git Hub App Installation',
|
|
340
|
+
value: 'enterpriseAppsOrganizationInstallationRepositories',
|
|
341
|
+
action: 'Get the repositories accessible to a given GitHub App installation',
|
|
342
|
+
description: 'Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.',
|
|
343
|
+
routing: {
|
|
344
|
+
request: {
|
|
345
|
+
method: 'GET',
|
|
346
|
+
url: '=/enterprises/{{$parameter["enterprise"]}}/apps/organizations/{{$parameter["org"]}}/installations/{{$parameter["installationId"]}}/repositories',
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
name: 'Toggle Installation Repository Access Between Selected And All Repositories',
|
|
352
|
+
value: 'enterpriseAppsChangeInstallationRepositoryAccessSelection',
|
|
353
|
+
action: 'Toggle installation repository access between selected and all repositories',
|
|
354
|
+
description: "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.",
|
|
355
|
+
routing: {
|
|
356
|
+
request: {
|
|
357
|
+
method: 'PATCH',
|
|
358
|
+
url: '=/enterprises/{{$parameter["enterprise"]}}/apps/organizations/{{$parameter["org"]}}/installations/{{$parameter["installationId"]}}/repositories',
|
|
359
|
+
},
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
name: 'Grant Repository Access To An Organization Installation',
|
|
364
|
+
value: 'enterpriseAppsGrantRepositoryAccessToInstallation',
|
|
365
|
+
action: 'Grant repository access to an organization installation',
|
|
366
|
+
description: 'Grant repository access to an organization installation. You can add up to 50 repositories at a time. If the installation already has access to the repository, it will not be added again.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.',
|
|
367
|
+
routing: {
|
|
368
|
+
request: {
|
|
369
|
+
method: 'PATCH',
|
|
370
|
+
url: '=/enterprises/{{$parameter["enterprise"]}}/apps/organizations/{{$parameter["org"]}}/installations/{{$parameter["installationId"]}}/repositories/add',
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
name: 'Remove Repository Access From An Organization Installation',
|
|
376
|
+
value: 'enterpriseAppsRemoveRepositoryAccessToInstallation',
|
|
377
|
+
action: 'Remove repository access from an organization installation',
|
|
378
|
+
description: 'Remove repository access from a GitHub App installed on an organization. You can remove up to 50 repositories at a time. You cannot remove repositories from an app installed on `all` repositories, nor can you remove the last repository for an app. If you attempt to do so, the API will return a 422 Unprocessable Entity error.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.',
|
|
379
|
+
routing: {
|
|
380
|
+
request: {
|
|
381
|
+
method: 'PATCH',
|
|
382
|
+
url: '=/enterprises/{{$parameter["enterprise"]}}/apps/organizations/{{$parameter["org"]}}/installations/{{$parameter["installationId"]}}/repositories/remove',
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
name: 'List Repositories Accessible To The App Installation',
|
|
388
|
+
value: 'appsListReposAccessibleToInstallation',
|
|
389
|
+
action: 'List repositories accessible to the app installation',
|
|
390
|
+
description: 'List repositories that an app installation can access.',
|
|
391
|
+
routing: {
|
|
392
|
+
request: {
|
|
393
|
+
method: 'GET',
|
|
394
|
+
url: '=/installation/repositories',
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
name: 'Revoke An Installation Access Token',
|
|
400
|
+
value: 'appsRevokeInstallationAccessToken',
|
|
401
|
+
action: 'Revoke an installation access token',
|
|
402
|
+
description: 'Revokes the installation token you\'re using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.19/rest/apps/apps#create-an-installation-access-token-for-an-app)" endpoint.',
|
|
403
|
+
routing: {
|
|
404
|
+
request: {
|
|
405
|
+
method: 'DELETE',
|
|
406
|
+
url: '=/installation/token',
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
name: 'Get An Organization Installation For The Authenticated App',
|
|
412
|
+
value: 'appsGetOrgInstallation',
|
|
413
|
+
action: 'Get an organization installation for the authenticated app',
|
|
414
|
+
description: "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
|
|
415
|
+
routing: {
|
|
416
|
+
request: {
|
|
417
|
+
method: 'GET',
|
|
418
|
+
url: '=/orgs/{{$parameter["org"]}}/installation',
|
|
419
|
+
},
|
|
420
|
+
},
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
name: 'Get A Repository Installation For The Authenticated App',
|
|
424
|
+
value: 'appsGetRepoInstallation',
|
|
425
|
+
action: 'Get a repository installation for the authenticated app',
|
|
426
|
+
description: "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
|
|
427
|
+
routing: {
|
|
428
|
+
request: {
|
|
429
|
+
method: 'GET',
|
|
430
|
+
url: '=/repos/{{$parameter["owner"]}}/{{$parameter["repo"]}}/installation',
|
|
431
|
+
},
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
name: 'List App Installations Accessible To The User Access Token',
|
|
436
|
+
value: 'appsListInstallationsForAuthenticatedUser',
|
|
437
|
+
action: 'List app installations accessible to the user access token',
|
|
438
|
+
description: 'Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.',
|
|
439
|
+
routing: {
|
|
440
|
+
request: {
|
|
441
|
+
method: 'GET',
|
|
442
|
+
url: '=/user/installations',
|
|
443
|
+
},
|
|
444
|
+
},
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
name: 'List Repositories Accessible To The User Access Token',
|
|
448
|
+
value: 'appsListInstallationReposForAuthenticatedUser',
|
|
449
|
+
action: 'List repositories accessible to the user access token',
|
|
450
|
+
description: 'List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.',
|
|
451
|
+
routing: {
|
|
452
|
+
request: {
|
|
453
|
+
method: 'GET',
|
|
454
|
+
url: '=/user/installations/{{$parameter["installationId"]}}/repositories',
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
name: 'Add A Repository To An App Installation',
|
|
460
|
+
value: 'appsAddRepoToInstallationForAuthenticatedUser',
|
|
461
|
+
action: 'Add a repository to an app installation',
|
|
462
|
+
description: 'Add a single repository to an installation. The authenticated user must have admin access to the repository.',
|
|
463
|
+
routing: {
|
|
464
|
+
request: {
|
|
465
|
+
method: 'PUT',
|
|
466
|
+
url: '=/user/installations/{{$parameter["installationId"]}}/repositories/{{$parameter["repositoryId"]}}',
|
|
467
|
+
},
|
|
468
|
+
},
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
name: 'Remove A Repository From An App Installation',
|
|
472
|
+
value: 'appsRemoveRepoFromInstallationForAuthenticatedUser',
|
|
473
|
+
action: 'Remove a repository from an app installation',
|
|
474
|
+
description: 'Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.\n\nTo use a PAT (classic) with this endpoint, the `repo` scope is required',
|
|
475
|
+
routing: {
|
|
476
|
+
request: {
|
|
477
|
+
method: 'DELETE',
|
|
478
|
+
url: '=/user/installations/{{$parameter["installationId"]}}/repositories/{{$parameter["repositoryId"]}}',
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
name: 'Get A User Installation For The Authenticated App',
|
|
484
|
+
value: 'appsGetUserInstallation',
|
|
485
|
+
action: 'Get a user installation for the authenticated app',
|
|
486
|
+
description: 'Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.',
|
|
487
|
+
routing: {
|
|
488
|
+
request: {
|
|
489
|
+
method: 'GET',
|
|
490
|
+
url: '=/users/{{$parameter["username"]}}/installation',
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
},
|
|
494
|
+
],
|
|
495
|
+
default: 'appsGetAuthenticated',
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
displayName: 'Code',
|
|
499
|
+
name: 'code',
|
|
500
|
+
type: 'string',
|
|
501
|
+
default: '',
|
|
502
|
+
required: true,
|
|
503
|
+
description: '',
|
|
504
|
+
displayOptions: {
|
|
505
|
+
show: {
|
|
506
|
+
operation: ['appsCreateFromManifest'],
|
|
507
|
+
},
|
|
508
|
+
},
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
displayName: 'Body (JSON)',
|
|
512
|
+
name: 'bodyJson',
|
|
513
|
+
type: 'json',
|
|
514
|
+
default: '{}',
|
|
515
|
+
required: true,
|
|
516
|
+
description: "Raw JSON request body. The spec's body schema is too complex to expose as individual fields, so provide the full JSON payload here.",
|
|
517
|
+
displayOptions: {
|
|
518
|
+
show: {
|
|
519
|
+
operation: ['appsUpdateWebhookConfigForApp'],
|
|
520
|
+
},
|
|
521
|
+
},
|
|
522
|
+
routing: {
|
|
523
|
+
request: {
|
|
524
|
+
body: '={{JSON.parse($value)}}',
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
displayName: 'Additional Fields',
|
|
530
|
+
name: 'additionalFields',
|
|
531
|
+
type: 'collection',
|
|
532
|
+
placeholder: 'Add Field',
|
|
533
|
+
default: {},
|
|
534
|
+
displayOptions: {
|
|
535
|
+
show: {
|
|
536
|
+
operation: ['appsListWebhookDeliveries'],
|
|
537
|
+
},
|
|
538
|
+
},
|
|
539
|
+
options: [
|
|
540
|
+
{
|
|
541
|
+
displayName: 'Per Page',
|
|
542
|
+
name: 'perPage',
|
|
543
|
+
type: 'number',
|
|
544
|
+
default: 0,
|
|
545
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
546
|
+
routing: {
|
|
547
|
+
send: {
|
|
548
|
+
type: 'query',
|
|
549
|
+
property: 'per_page',
|
|
550
|
+
},
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
displayName: 'Cursor',
|
|
555
|
+
name: 'cursor',
|
|
556
|
+
type: 'string',
|
|
557
|
+
default: '',
|
|
558
|
+
description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.',
|
|
559
|
+
routing: {
|
|
560
|
+
send: {
|
|
561
|
+
type: 'query',
|
|
562
|
+
property: 'cursor',
|
|
563
|
+
},
|
|
564
|
+
},
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
displayName: 'Status',
|
|
568
|
+
name: 'status',
|
|
569
|
+
type: 'string',
|
|
570
|
+
default: '',
|
|
571
|
+
description: 'Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).',
|
|
572
|
+
routing: {
|
|
573
|
+
send: {
|
|
574
|
+
type: 'query',
|
|
575
|
+
property: 'status',
|
|
576
|
+
},
|
|
577
|
+
},
|
|
578
|
+
},
|
|
579
|
+
],
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
displayName: 'Delivery Id',
|
|
583
|
+
name: 'deliveryId',
|
|
584
|
+
type: 'number',
|
|
585
|
+
default: 0,
|
|
586
|
+
required: true,
|
|
587
|
+
description: '',
|
|
588
|
+
displayOptions: {
|
|
589
|
+
show: {
|
|
590
|
+
operation: ['appsGetWebhookDelivery'],
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
displayName: 'Delivery Id',
|
|
596
|
+
name: 'deliveryId',
|
|
597
|
+
type: 'number',
|
|
598
|
+
default: 0,
|
|
599
|
+
required: true,
|
|
600
|
+
description: '',
|
|
601
|
+
displayOptions: {
|
|
602
|
+
show: {
|
|
603
|
+
operation: ['appsRedeliverWebhookDelivery'],
|
|
604
|
+
},
|
|
605
|
+
},
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
displayName: 'Additional Fields',
|
|
609
|
+
name: 'additionalFields',
|
|
610
|
+
type: 'collection',
|
|
611
|
+
placeholder: 'Add Field',
|
|
612
|
+
default: {},
|
|
613
|
+
displayOptions: {
|
|
614
|
+
show: {
|
|
615
|
+
operation: ['appsListInstallationRequestsForAuthenticatedApp'],
|
|
616
|
+
},
|
|
617
|
+
},
|
|
618
|
+
options: [
|
|
619
|
+
{
|
|
620
|
+
displayName: 'Per Page',
|
|
621
|
+
name: 'perPage',
|
|
622
|
+
type: 'number',
|
|
623
|
+
default: 0,
|
|
624
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
625
|
+
routing: {
|
|
626
|
+
send: {
|
|
627
|
+
type: 'query',
|
|
628
|
+
property: 'per_page',
|
|
629
|
+
},
|
|
630
|
+
},
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
displayName: 'Page',
|
|
634
|
+
name: 'page',
|
|
635
|
+
type: 'number',
|
|
636
|
+
default: 0,
|
|
637
|
+
description: 'The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
638
|
+
routing: {
|
|
639
|
+
send: {
|
|
640
|
+
type: 'query',
|
|
641
|
+
property: 'page',
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
},
|
|
645
|
+
],
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
displayName: 'Additional Fields',
|
|
649
|
+
name: 'additionalFields',
|
|
650
|
+
type: 'collection',
|
|
651
|
+
placeholder: 'Add Field',
|
|
652
|
+
default: {},
|
|
653
|
+
displayOptions: {
|
|
654
|
+
show: {
|
|
655
|
+
operation: ['appsListInstallations'],
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
options: [
|
|
659
|
+
{
|
|
660
|
+
displayName: 'Per Page',
|
|
661
|
+
name: 'perPage',
|
|
662
|
+
type: 'number',
|
|
663
|
+
default: 0,
|
|
664
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
665
|
+
routing: {
|
|
666
|
+
send: {
|
|
667
|
+
type: 'query',
|
|
668
|
+
property: 'per_page',
|
|
669
|
+
},
|
|
670
|
+
},
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
displayName: 'Page',
|
|
674
|
+
name: 'page',
|
|
675
|
+
type: 'number',
|
|
676
|
+
default: 0,
|
|
677
|
+
description: 'The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
678
|
+
routing: {
|
|
679
|
+
send: {
|
|
680
|
+
type: 'query',
|
|
681
|
+
property: 'page',
|
|
682
|
+
},
|
|
683
|
+
},
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
displayName: 'Since',
|
|
687
|
+
name: 'since',
|
|
688
|
+
type: 'string',
|
|
689
|
+
default: '',
|
|
690
|
+
description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.',
|
|
691
|
+
routing: {
|
|
692
|
+
send: {
|
|
693
|
+
type: 'query',
|
|
694
|
+
property: 'since',
|
|
695
|
+
},
|
|
696
|
+
},
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
displayName: 'Outdated',
|
|
700
|
+
name: 'outdated',
|
|
701
|
+
type: 'string',
|
|
702
|
+
default: '',
|
|
703
|
+
description: '',
|
|
704
|
+
routing: {
|
|
705
|
+
send: {
|
|
706
|
+
type: 'query',
|
|
707
|
+
property: 'outdated',
|
|
708
|
+
},
|
|
709
|
+
},
|
|
710
|
+
},
|
|
711
|
+
],
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
displayName: 'Installation Id',
|
|
715
|
+
name: 'installationId',
|
|
716
|
+
type: 'number',
|
|
717
|
+
default: 0,
|
|
718
|
+
required: true,
|
|
719
|
+
description: 'The unique identifier of the installation.',
|
|
720
|
+
displayOptions: {
|
|
721
|
+
show: {
|
|
722
|
+
operation: ['appsGetInstallation'],
|
|
723
|
+
},
|
|
724
|
+
},
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
displayName: 'Installation Id',
|
|
728
|
+
name: 'installationId',
|
|
729
|
+
type: 'number',
|
|
730
|
+
default: 0,
|
|
731
|
+
required: true,
|
|
732
|
+
description: 'The unique identifier of the installation.',
|
|
733
|
+
displayOptions: {
|
|
734
|
+
show: {
|
|
735
|
+
operation: ['appsDeleteInstallation'],
|
|
736
|
+
},
|
|
737
|
+
},
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
displayName: 'Installation Id',
|
|
741
|
+
name: 'installationId',
|
|
742
|
+
type: 'number',
|
|
743
|
+
default: 0,
|
|
744
|
+
required: true,
|
|
745
|
+
description: 'The unique identifier of the installation.',
|
|
746
|
+
displayOptions: {
|
|
747
|
+
show: {
|
|
748
|
+
operation: ['appsCreateInstallationAccessToken'],
|
|
749
|
+
},
|
|
750
|
+
},
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
displayName: 'Body (JSON)',
|
|
754
|
+
name: 'bodyJson',
|
|
755
|
+
type: 'json',
|
|
756
|
+
default: '{}',
|
|
757
|
+
required: false,
|
|
758
|
+
description: "Raw JSON request body. The spec's body schema is too complex to expose as individual fields, so provide the full JSON payload here.",
|
|
759
|
+
displayOptions: {
|
|
760
|
+
show: {
|
|
761
|
+
operation: ['appsCreateInstallationAccessToken'],
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
routing: {
|
|
765
|
+
request: {
|
|
766
|
+
body: '={{JSON.parse($value)}}',
|
|
767
|
+
},
|
|
768
|
+
},
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
displayName: 'Installation Id',
|
|
772
|
+
name: 'installationId',
|
|
773
|
+
type: 'number',
|
|
774
|
+
default: 0,
|
|
775
|
+
required: true,
|
|
776
|
+
description: 'The unique identifier of the installation.',
|
|
777
|
+
displayOptions: {
|
|
778
|
+
show: {
|
|
779
|
+
operation: ['appsSuspendInstallation'],
|
|
780
|
+
},
|
|
781
|
+
},
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
displayName: 'Installation Id',
|
|
785
|
+
name: 'installationId',
|
|
786
|
+
type: 'number',
|
|
787
|
+
default: 0,
|
|
788
|
+
required: true,
|
|
789
|
+
description: 'The unique identifier of the installation.',
|
|
790
|
+
displayOptions: {
|
|
791
|
+
show: {
|
|
792
|
+
operation: ['appsUnsuspendInstallation'],
|
|
793
|
+
},
|
|
794
|
+
},
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
displayName: 'Client Id',
|
|
798
|
+
name: 'clientId',
|
|
799
|
+
type: 'string',
|
|
800
|
+
default: '',
|
|
801
|
+
required: true,
|
|
802
|
+
description: 'The client ID of the GitHub app.',
|
|
803
|
+
displayOptions: {
|
|
804
|
+
show: {
|
|
805
|
+
operation: ['appsDeleteAuthorization'],
|
|
806
|
+
},
|
|
807
|
+
},
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
displayName: 'Access Token',
|
|
811
|
+
name: 'accessToken',
|
|
812
|
+
type: 'string',
|
|
813
|
+
default: '',
|
|
814
|
+
required: true,
|
|
815
|
+
description: 'The OAuth access token used to authenticate to the GitHub API.',
|
|
816
|
+
displayOptions: {
|
|
817
|
+
show: {
|
|
818
|
+
operation: ['appsDeleteAuthorization'],
|
|
819
|
+
},
|
|
820
|
+
},
|
|
821
|
+
routing: {
|
|
822
|
+
send: {
|
|
823
|
+
type: 'body',
|
|
824
|
+
property: 'access_token',
|
|
825
|
+
},
|
|
826
|
+
},
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
displayName: 'Client Id',
|
|
830
|
+
name: 'clientId',
|
|
831
|
+
type: 'string',
|
|
832
|
+
default: '',
|
|
833
|
+
required: true,
|
|
834
|
+
description: 'The client ID of the GitHub app.',
|
|
835
|
+
displayOptions: {
|
|
836
|
+
show: {
|
|
837
|
+
operation: ['appsCheckToken'],
|
|
838
|
+
},
|
|
839
|
+
},
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
displayName: 'Access Token',
|
|
843
|
+
name: 'accessToken',
|
|
844
|
+
type: 'string',
|
|
845
|
+
default: '',
|
|
846
|
+
required: true,
|
|
847
|
+
description: 'The access_token of the OAuth or GitHub application.',
|
|
848
|
+
displayOptions: {
|
|
849
|
+
show: {
|
|
850
|
+
operation: ['appsCheckToken'],
|
|
851
|
+
},
|
|
852
|
+
},
|
|
853
|
+
routing: {
|
|
854
|
+
send: {
|
|
855
|
+
type: 'body',
|
|
856
|
+
property: 'access_token',
|
|
857
|
+
},
|
|
858
|
+
},
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
displayName: 'Client Id',
|
|
862
|
+
name: 'clientId',
|
|
863
|
+
type: 'string',
|
|
864
|
+
default: '',
|
|
865
|
+
required: true,
|
|
866
|
+
description: 'The client ID of the GitHub app.',
|
|
867
|
+
displayOptions: {
|
|
868
|
+
show: {
|
|
869
|
+
operation: ['appsDeleteToken'],
|
|
870
|
+
},
|
|
871
|
+
},
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
displayName: 'Access Token',
|
|
875
|
+
name: 'accessToken',
|
|
876
|
+
type: 'string',
|
|
877
|
+
default: '',
|
|
878
|
+
required: true,
|
|
879
|
+
description: 'The OAuth access token used to authenticate to the GitHub API.',
|
|
880
|
+
displayOptions: {
|
|
881
|
+
show: {
|
|
882
|
+
operation: ['appsDeleteToken'],
|
|
883
|
+
},
|
|
884
|
+
},
|
|
885
|
+
routing: {
|
|
886
|
+
send: {
|
|
887
|
+
type: 'body',
|
|
888
|
+
property: 'access_token',
|
|
889
|
+
},
|
|
890
|
+
},
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
displayName: 'Client Id',
|
|
894
|
+
name: 'clientId',
|
|
895
|
+
type: 'string',
|
|
896
|
+
default: '',
|
|
897
|
+
required: true,
|
|
898
|
+
description: 'The client ID of the GitHub app.',
|
|
899
|
+
displayOptions: {
|
|
900
|
+
show: {
|
|
901
|
+
operation: ['appsResetToken'],
|
|
902
|
+
},
|
|
903
|
+
},
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
displayName: 'Access Token',
|
|
907
|
+
name: 'accessToken',
|
|
908
|
+
type: 'string',
|
|
909
|
+
default: '',
|
|
910
|
+
required: true,
|
|
911
|
+
description: 'The access_token of the OAuth or GitHub application.',
|
|
912
|
+
displayOptions: {
|
|
913
|
+
show: {
|
|
914
|
+
operation: ['appsResetToken'],
|
|
915
|
+
},
|
|
916
|
+
},
|
|
917
|
+
routing: {
|
|
918
|
+
send: {
|
|
919
|
+
type: 'body',
|
|
920
|
+
property: 'access_token',
|
|
921
|
+
},
|
|
922
|
+
},
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
displayName: 'Client Id',
|
|
926
|
+
name: 'clientId',
|
|
927
|
+
type: 'string',
|
|
928
|
+
default: '',
|
|
929
|
+
required: true,
|
|
930
|
+
description: 'The client ID of the GitHub app.',
|
|
931
|
+
displayOptions: {
|
|
932
|
+
show: {
|
|
933
|
+
operation: ['appsScopeToken'],
|
|
934
|
+
},
|
|
935
|
+
},
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
displayName: 'Body (JSON)',
|
|
939
|
+
name: 'bodyJson',
|
|
940
|
+
type: 'json',
|
|
941
|
+
default: '{}',
|
|
942
|
+
required: true,
|
|
943
|
+
description: "Raw JSON request body. The spec's body schema is too complex to expose as individual fields, so provide the full JSON payload here.",
|
|
944
|
+
displayOptions: {
|
|
945
|
+
show: {
|
|
946
|
+
operation: ['appsScopeToken'],
|
|
947
|
+
},
|
|
948
|
+
},
|
|
949
|
+
routing: {
|
|
950
|
+
request: {
|
|
951
|
+
body: '={{JSON.parse($value)}}',
|
|
952
|
+
},
|
|
953
|
+
},
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
displayName: 'App Slug',
|
|
957
|
+
name: 'appSlug',
|
|
958
|
+
type: 'string',
|
|
959
|
+
default: '',
|
|
960
|
+
required: true,
|
|
961
|
+
description: '',
|
|
962
|
+
displayOptions: {
|
|
963
|
+
show: {
|
|
964
|
+
operation: ['appsGetBySlug'],
|
|
965
|
+
},
|
|
966
|
+
},
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
displayName: 'Enterprise',
|
|
970
|
+
name: 'enterprise',
|
|
971
|
+
type: 'string',
|
|
972
|
+
default: '',
|
|
973
|
+
required: true,
|
|
974
|
+
description: 'The slug version of the enterprise name.',
|
|
975
|
+
displayOptions: {
|
|
976
|
+
show: {
|
|
977
|
+
operation: ['enterpriseAppsInstallableOrganizations'],
|
|
978
|
+
},
|
|
979
|
+
},
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
displayName: 'Additional Fields',
|
|
983
|
+
name: 'additionalFields',
|
|
984
|
+
type: 'collection',
|
|
985
|
+
placeholder: 'Add Field',
|
|
986
|
+
default: {},
|
|
987
|
+
displayOptions: {
|
|
988
|
+
show: {
|
|
989
|
+
operation: ['enterpriseAppsInstallableOrganizations'],
|
|
990
|
+
},
|
|
991
|
+
},
|
|
992
|
+
options: [
|
|
993
|
+
{
|
|
994
|
+
displayName: 'Per Page',
|
|
995
|
+
name: 'perPage',
|
|
996
|
+
type: 'number',
|
|
997
|
+
default: 0,
|
|
998
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
999
|
+
routing: {
|
|
1000
|
+
send: {
|
|
1001
|
+
type: 'query',
|
|
1002
|
+
property: 'per_page',
|
|
1003
|
+
},
|
|
1004
|
+
},
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
displayName: 'Page',
|
|
1008
|
+
name: 'page',
|
|
1009
|
+
type: 'number',
|
|
1010
|
+
default: 0,
|
|
1011
|
+
description: 'The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1012
|
+
routing: {
|
|
1013
|
+
send: {
|
|
1014
|
+
type: 'query',
|
|
1015
|
+
property: 'page',
|
|
1016
|
+
},
|
|
1017
|
+
},
|
|
1018
|
+
},
|
|
1019
|
+
],
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
displayName: 'Enterprise',
|
|
1023
|
+
name: 'enterprise',
|
|
1024
|
+
type: 'string',
|
|
1025
|
+
default: '',
|
|
1026
|
+
required: true,
|
|
1027
|
+
description: 'The slug version of the enterprise name.',
|
|
1028
|
+
displayOptions: {
|
|
1029
|
+
show: {
|
|
1030
|
+
operation: ['enterpriseAppsInstallableOrganizationAccessibleRepositories'],
|
|
1031
|
+
},
|
|
1032
|
+
},
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
displayName: 'Org',
|
|
1036
|
+
name: 'org',
|
|
1037
|
+
type: 'string',
|
|
1038
|
+
default: '',
|
|
1039
|
+
required: true,
|
|
1040
|
+
description: 'The organization name. The name is not case sensitive.',
|
|
1041
|
+
displayOptions: {
|
|
1042
|
+
show: {
|
|
1043
|
+
operation: ['enterpriseAppsInstallableOrganizationAccessibleRepositories'],
|
|
1044
|
+
},
|
|
1045
|
+
},
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
displayName: 'Additional Fields',
|
|
1049
|
+
name: 'additionalFields',
|
|
1050
|
+
type: 'collection',
|
|
1051
|
+
placeholder: 'Add Field',
|
|
1052
|
+
default: {},
|
|
1053
|
+
displayOptions: {
|
|
1054
|
+
show: {
|
|
1055
|
+
operation: ['enterpriseAppsInstallableOrganizationAccessibleRepositories'],
|
|
1056
|
+
},
|
|
1057
|
+
},
|
|
1058
|
+
options: [
|
|
1059
|
+
{
|
|
1060
|
+
displayName: 'Per Page',
|
|
1061
|
+
name: 'perPage',
|
|
1062
|
+
type: 'number',
|
|
1063
|
+
default: 0,
|
|
1064
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1065
|
+
routing: {
|
|
1066
|
+
send: {
|
|
1067
|
+
type: 'query',
|
|
1068
|
+
property: 'per_page',
|
|
1069
|
+
},
|
|
1070
|
+
},
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
displayName: 'Page',
|
|
1074
|
+
name: 'page',
|
|
1075
|
+
type: 'number',
|
|
1076
|
+
default: 0,
|
|
1077
|
+
description: 'The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1078
|
+
routing: {
|
|
1079
|
+
send: {
|
|
1080
|
+
type: 'query',
|
|
1081
|
+
property: 'page',
|
|
1082
|
+
},
|
|
1083
|
+
},
|
|
1084
|
+
},
|
|
1085
|
+
],
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
displayName: 'Enterprise',
|
|
1089
|
+
name: 'enterprise',
|
|
1090
|
+
type: 'string',
|
|
1091
|
+
default: '',
|
|
1092
|
+
required: true,
|
|
1093
|
+
description: 'The slug version of the enterprise name.',
|
|
1094
|
+
displayOptions: {
|
|
1095
|
+
show: {
|
|
1096
|
+
operation: ['enterpriseAppsOrganizationInstallations'],
|
|
1097
|
+
},
|
|
1098
|
+
},
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
displayName: 'Org',
|
|
1102
|
+
name: 'org',
|
|
1103
|
+
type: 'string',
|
|
1104
|
+
default: '',
|
|
1105
|
+
required: true,
|
|
1106
|
+
description: 'The organization name. The name is not case sensitive.',
|
|
1107
|
+
displayOptions: {
|
|
1108
|
+
show: {
|
|
1109
|
+
operation: ['enterpriseAppsOrganizationInstallations'],
|
|
1110
|
+
},
|
|
1111
|
+
},
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
displayName: 'Additional Fields',
|
|
1115
|
+
name: 'additionalFields',
|
|
1116
|
+
type: 'collection',
|
|
1117
|
+
placeholder: 'Add Field',
|
|
1118
|
+
default: {},
|
|
1119
|
+
displayOptions: {
|
|
1120
|
+
show: {
|
|
1121
|
+
operation: ['enterpriseAppsOrganizationInstallations'],
|
|
1122
|
+
},
|
|
1123
|
+
},
|
|
1124
|
+
options: [
|
|
1125
|
+
{
|
|
1126
|
+
displayName: 'Per Page',
|
|
1127
|
+
name: 'perPage',
|
|
1128
|
+
type: 'number',
|
|
1129
|
+
default: 0,
|
|
1130
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1131
|
+
routing: {
|
|
1132
|
+
send: {
|
|
1133
|
+
type: 'query',
|
|
1134
|
+
property: 'per_page',
|
|
1135
|
+
},
|
|
1136
|
+
},
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
displayName: 'Page',
|
|
1140
|
+
name: 'page',
|
|
1141
|
+
type: 'number',
|
|
1142
|
+
default: 0,
|
|
1143
|
+
description: 'The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1144
|
+
routing: {
|
|
1145
|
+
send: {
|
|
1146
|
+
type: 'query',
|
|
1147
|
+
property: 'page',
|
|
1148
|
+
},
|
|
1149
|
+
},
|
|
1150
|
+
},
|
|
1151
|
+
],
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
displayName: 'Enterprise',
|
|
1155
|
+
name: 'enterprise',
|
|
1156
|
+
type: 'string',
|
|
1157
|
+
default: '',
|
|
1158
|
+
required: true,
|
|
1159
|
+
description: 'The slug version of the enterprise name.',
|
|
1160
|
+
displayOptions: {
|
|
1161
|
+
show: {
|
|
1162
|
+
operation: ['enterpriseAppsCreateInstallation'],
|
|
1163
|
+
},
|
|
1164
|
+
},
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
displayName: 'Org',
|
|
1168
|
+
name: 'org',
|
|
1169
|
+
type: 'string',
|
|
1170
|
+
default: '',
|
|
1171
|
+
required: true,
|
|
1172
|
+
description: 'The organization name. The name is not case sensitive.',
|
|
1173
|
+
displayOptions: {
|
|
1174
|
+
show: {
|
|
1175
|
+
operation: ['enterpriseAppsCreateInstallation'],
|
|
1176
|
+
},
|
|
1177
|
+
},
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
displayName: 'Body (JSON)',
|
|
1181
|
+
name: 'bodyJson',
|
|
1182
|
+
type: 'json',
|
|
1183
|
+
default: '{}',
|
|
1184
|
+
required: true,
|
|
1185
|
+
description: "Raw JSON request body. The spec's body schema is too complex to expose as individual fields, so provide the full JSON payload here.",
|
|
1186
|
+
displayOptions: {
|
|
1187
|
+
show: {
|
|
1188
|
+
operation: ['enterpriseAppsCreateInstallation'],
|
|
1189
|
+
},
|
|
1190
|
+
},
|
|
1191
|
+
routing: {
|
|
1192
|
+
request: {
|
|
1193
|
+
body: '={{JSON.parse($value)}}',
|
|
1194
|
+
},
|
|
1195
|
+
},
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
displayName: 'Enterprise',
|
|
1199
|
+
name: 'enterprise',
|
|
1200
|
+
type: 'string',
|
|
1201
|
+
default: '',
|
|
1202
|
+
required: true,
|
|
1203
|
+
description: 'The slug version of the enterprise name.',
|
|
1204
|
+
displayOptions: {
|
|
1205
|
+
show: {
|
|
1206
|
+
operation: ['enterpriseAppsDeleteInstallation'],
|
|
1207
|
+
},
|
|
1208
|
+
},
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
displayName: 'Org',
|
|
1212
|
+
name: 'org',
|
|
1213
|
+
type: 'string',
|
|
1214
|
+
default: '',
|
|
1215
|
+
required: true,
|
|
1216
|
+
description: 'The organization name. The name is not case sensitive.',
|
|
1217
|
+
displayOptions: {
|
|
1218
|
+
show: {
|
|
1219
|
+
operation: ['enterpriseAppsDeleteInstallation'],
|
|
1220
|
+
},
|
|
1221
|
+
},
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
displayName: 'Installation Id',
|
|
1225
|
+
name: 'installationId',
|
|
1226
|
+
type: 'number',
|
|
1227
|
+
default: 0,
|
|
1228
|
+
required: true,
|
|
1229
|
+
description: 'The unique identifier of the installation.',
|
|
1230
|
+
displayOptions: {
|
|
1231
|
+
show: {
|
|
1232
|
+
operation: ['enterpriseAppsDeleteInstallation'],
|
|
1233
|
+
},
|
|
1234
|
+
},
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
displayName: 'Enterprise',
|
|
1238
|
+
name: 'enterprise',
|
|
1239
|
+
type: 'string',
|
|
1240
|
+
default: '',
|
|
1241
|
+
required: true,
|
|
1242
|
+
description: 'The slug version of the enterprise name.',
|
|
1243
|
+
displayOptions: {
|
|
1244
|
+
show: {
|
|
1245
|
+
operation: ['enterpriseAppsOrganizationInstallationRepositories'],
|
|
1246
|
+
},
|
|
1247
|
+
},
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
displayName: 'Org',
|
|
1251
|
+
name: 'org',
|
|
1252
|
+
type: 'string',
|
|
1253
|
+
default: '',
|
|
1254
|
+
required: true,
|
|
1255
|
+
description: 'The organization name. The name is not case sensitive.',
|
|
1256
|
+
displayOptions: {
|
|
1257
|
+
show: {
|
|
1258
|
+
operation: ['enterpriseAppsOrganizationInstallationRepositories'],
|
|
1259
|
+
},
|
|
1260
|
+
},
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
displayName: 'Installation Id',
|
|
1264
|
+
name: 'installationId',
|
|
1265
|
+
type: 'number',
|
|
1266
|
+
default: 0,
|
|
1267
|
+
required: true,
|
|
1268
|
+
description: 'The unique identifier of the installation.',
|
|
1269
|
+
displayOptions: {
|
|
1270
|
+
show: {
|
|
1271
|
+
operation: ['enterpriseAppsOrganizationInstallationRepositories'],
|
|
1272
|
+
},
|
|
1273
|
+
},
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
displayName: 'Additional Fields',
|
|
1277
|
+
name: 'additionalFields',
|
|
1278
|
+
type: 'collection',
|
|
1279
|
+
placeholder: 'Add Field',
|
|
1280
|
+
default: {},
|
|
1281
|
+
displayOptions: {
|
|
1282
|
+
show: {
|
|
1283
|
+
operation: ['enterpriseAppsOrganizationInstallationRepositories'],
|
|
1284
|
+
},
|
|
1285
|
+
},
|
|
1286
|
+
options: [
|
|
1287
|
+
{
|
|
1288
|
+
displayName: 'Per Page',
|
|
1289
|
+
name: 'perPage',
|
|
1290
|
+
type: 'number',
|
|
1291
|
+
default: 0,
|
|
1292
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1293
|
+
routing: {
|
|
1294
|
+
send: {
|
|
1295
|
+
type: 'query',
|
|
1296
|
+
property: 'per_page',
|
|
1297
|
+
},
|
|
1298
|
+
},
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
displayName: 'Page',
|
|
1302
|
+
name: 'page',
|
|
1303
|
+
type: 'number',
|
|
1304
|
+
default: 0,
|
|
1305
|
+
description: 'The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1306
|
+
routing: {
|
|
1307
|
+
send: {
|
|
1308
|
+
type: 'query',
|
|
1309
|
+
property: 'page',
|
|
1310
|
+
},
|
|
1311
|
+
},
|
|
1312
|
+
},
|
|
1313
|
+
],
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
displayName: 'Enterprise',
|
|
1317
|
+
name: 'enterprise',
|
|
1318
|
+
type: 'string',
|
|
1319
|
+
default: '',
|
|
1320
|
+
required: true,
|
|
1321
|
+
description: 'The slug version of the enterprise name.',
|
|
1322
|
+
displayOptions: {
|
|
1323
|
+
show: {
|
|
1324
|
+
operation: ['enterpriseAppsChangeInstallationRepositoryAccessSelection'],
|
|
1325
|
+
},
|
|
1326
|
+
},
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
displayName: 'Org',
|
|
1330
|
+
name: 'org',
|
|
1331
|
+
type: 'string',
|
|
1332
|
+
default: '',
|
|
1333
|
+
required: true,
|
|
1334
|
+
description: 'The organization name. The name is not case sensitive.',
|
|
1335
|
+
displayOptions: {
|
|
1336
|
+
show: {
|
|
1337
|
+
operation: ['enterpriseAppsChangeInstallationRepositoryAccessSelection'],
|
|
1338
|
+
},
|
|
1339
|
+
},
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
displayName: 'Installation Id',
|
|
1343
|
+
name: 'installationId',
|
|
1344
|
+
type: 'number',
|
|
1345
|
+
default: 0,
|
|
1346
|
+
required: true,
|
|
1347
|
+
description: 'The unique identifier of the installation.',
|
|
1348
|
+
displayOptions: {
|
|
1349
|
+
show: {
|
|
1350
|
+
operation: ['enterpriseAppsChangeInstallationRepositoryAccessSelection'],
|
|
1351
|
+
},
|
|
1352
|
+
},
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
displayName: 'Body (JSON)',
|
|
1356
|
+
name: 'bodyJson',
|
|
1357
|
+
type: 'json',
|
|
1358
|
+
default: '{}',
|
|
1359
|
+
required: true,
|
|
1360
|
+
description: "Raw JSON request body. The spec's body schema is too complex to expose as individual fields, so provide the full JSON payload here.",
|
|
1361
|
+
displayOptions: {
|
|
1362
|
+
show: {
|
|
1363
|
+
operation: ['enterpriseAppsChangeInstallationRepositoryAccessSelection'],
|
|
1364
|
+
},
|
|
1365
|
+
},
|
|
1366
|
+
routing: {
|
|
1367
|
+
request: {
|
|
1368
|
+
body: '={{JSON.parse($value)}}',
|
|
1369
|
+
},
|
|
1370
|
+
},
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
displayName: 'Enterprise',
|
|
1374
|
+
name: 'enterprise',
|
|
1375
|
+
type: 'string',
|
|
1376
|
+
default: '',
|
|
1377
|
+
required: true,
|
|
1378
|
+
description: 'The slug version of the enterprise name.',
|
|
1379
|
+
displayOptions: {
|
|
1380
|
+
show: {
|
|
1381
|
+
operation: ['enterpriseAppsGrantRepositoryAccessToInstallation'],
|
|
1382
|
+
},
|
|
1383
|
+
},
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
displayName: 'Org',
|
|
1387
|
+
name: 'org',
|
|
1388
|
+
type: 'string',
|
|
1389
|
+
default: '',
|
|
1390
|
+
required: true,
|
|
1391
|
+
description: 'The organization name. The name is not case sensitive.',
|
|
1392
|
+
displayOptions: {
|
|
1393
|
+
show: {
|
|
1394
|
+
operation: ['enterpriseAppsGrantRepositoryAccessToInstallation'],
|
|
1395
|
+
},
|
|
1396
|
+
},
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
displayName: 'Installation Id',
|
|
1400
|
+
name: 'installationId',
|
|
1401
|
+
type: 'number',
|
|
1402
|
+
default: 0,
|
|
1403
|
+
required: true,
|
|
1404
|
+
description: 'The unique identifier of the installation.',
|
|
1405
|
+
displayOptions: {
|
|
1406
|
+
show: {
|
|
1407
|
+
operation: ['enterpriseAppsGrantRepositoryAccessToInstallation'],
|
|
1408
|
+
},
|
|
1409
|
+
},
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
displayName: 'Body (JSON)',
|
|
1413
|
+
name: 'bodyJson',
|
|
1414
|
+
type: 'json',
|
|
1415
|
+
default: '{}',
|
|
1416
|
+
required: true,
|
|
1417
|
+
description: "Raw JSON request body. The spec's body schema is too complex to expose as individual fields, so provide the full JSON payload here.",
|
|
1418
|
+
displayOptions: {
|
|
1419
|
+
show: {
|
|
1420
|
+
operation: ['enterpriseAppsGrantRepositoryAccessToInstallation'],
|
|
1421
|
+
},
|
|
1422
|
+
},
|
|
1423
|
+
routing: {
|
|
1424
|
+
request: {
|
|
1425
|
+
body: '={{JSON.parse($value)}}',
|
|
1426
|
+
},
|
|
1427
|
+
},
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
displayName: 'Enterprise',
|
|
1431
|
+
name: 'enterprise',
|
|
1432
|
+
type: 'string',
|
|
1433
|
+
default: '',
|
|
1434
|
+
required: true,
|
|
1435
|
+
description: 'The slug version of the enterprise name.',
|
|
1436
|
+
displayOptions: {
|
|
1437
|
+
show: {
|
|
1438
|
+
operation: ['enterpriseAppsRemoveRepositoryAccessToInstallation'],
|
|
1439
|
+
},
|
|
1440
|
+
},
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
displayName: 'Org',
|
|
1444
|
+
name: 'org',
|
|
1445
|
+
type: 'string',
|
|
1446
|
+
default: '',
|
|
1447
|
+
required: true,
|
|
1448
|
+
description: 'The organization name. The name is not case sensitive.',
|
|
1449
|
+
displayOptions: {
|
|
1450
|
+
show: {
|
|
1451
|
+
operation: ['enterpriseAppsRemoveRepositoryAccessToInstallation'],
|
|
1452
|
+
},
|
|
1453
|
+
},
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
displayName: 'Installation Id',
|
|
1457
|
+
name: 'installationId',
|
|
1458
|
+
type: 'number',
|
|
1459
|
+
default: 0,
|
|
1460
|
+
required: true,
|
|
1461
|
+
description: 'The unique identifier of the installation.',
|
|
1462
|
+
displayOptions: {
|
|
1463
|
+
show: {
|
|
1464
|
+
operation: ['enterpriseAppsRemoveRepositoryAccessToInstallation'],
|
|
1465
|
+
},
|
|
1466
|
+
},
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
displayName: 'Body (JSON)',
|
|
1470
|
+
name: 'bodyJson',
|
|
1471
|
+
type: 'json',
|
|
1472
|
+
default: '{}',
|
|
1473
|
+
required: true,
|
|
1474
|
+
description: "Raw JSON request body. The spec's body schema is too complex to expose as individual fields, so provide the full JSON payload here.",
|
|
1475
|
+
displayOptions: {
|
|
1476
|
+
show: {
|
|
1477
|
+
operation: ['enterpriseAppsRemoveRepositoryAccessToInstallation'],
|
|
1478
|
+
},
|
|
1479
|
+
},
|
|
1480
|
+
routing: {
|
|
1481
|
+
request: {
|
|
1482
|
+
body: '={{JSON.parse($value)}}',
|
|
1483
|
+
},
|
|
1484
|
+
},
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
displayName: 'Additional Fields',
|
|
1488
|
+
name: 'additionalFields',
|
|
1489
|
+
type: 'collection',
|
|
1490
|
+
placeholder: 'Add Field',
|
|
1491
|
+
default: {},
|
|
1492
|
+
displayOptions: {
|
|
1493
|
+
show: {
|
|
1494
|
+
operation: ['appsListReposAccessibleToInstallation'],
|
|
1495
|
+
},
|
|
1496
|
+
},
|
|
1497
|
+
options: [
|
|
1498
|
+
{
|
|
1499
|
+
displayName: 'Per Page',
|
|
1500
|
+
name: 'perPage',
|
|
1501
|
+
type: 'number',
|
|
1502
|
+
default: 0,
|
|
1503
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1504
|
+
routing: {
|
|
1505
|
+
send: {
|
|
1506
|
+
type: 'query',
|
|
1507
|
+
property: 'per_page',
|
|
1508
|
+
},
|
|
1509
|
+
},
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
displayName: 'Page',
|
|
1513
|
+
name: 'page',
|
|
1514
|
+
type: 'number',
|
|
1515
|
+
default: 0,
|
|
1516
|
+
description: 'The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1517
|
+
routing: {
|
|
1518
|
+
send: {
|
|
1519
|
+
type: 'query',
|
|
1520
|
+
property: 'page',
|
|
1521
|
+
},
|
|
1522
|
+
},
|
|
1523
|
+
},
|
|
1524
|
+
],
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
displayName: 'Org',
|
|
1528
|
+
name: 'org',
|
|
1529
|
+
type: 'string',
|
|
1530
|
+
default: '',
|
|
1531
|
+
required: true,
|
|
1532
|
+
description: 'The organization name. The name is not case sensitive.',
|
|
1533
|
+
displayOptions: {
|
|
1534
|
+
show: {
|
|
1535
|
+
operation: ['appsGetOrgInstallation'],
|
|
1536
|
+
},
|
|
1537
|
+
},
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
displayName: 'Owner',
|
|
1541
|
+
name: 'owner',
|
|
1542
|
+
type: 'string',
|
|
1543
|
+
default: '',
|
|
1544
|
+
required: true,
|
|
1545
|
+
description: 'The account owner of the repository. The name is not case sensitive.',
|
|
1546
|
+
displayOptions: {
|
|
1547
|
+
show: {
|
|
1548
|
+
operation: ['appsGetRepoInstallation'],
|
|
1549
|
+
},
|
|
1550
|
+
},
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
displayName: 'Repo',
|
|
1554
|
+
name: 'repo',
|
|
1555
|
+
type: 'string',
|
|
1556
|
+
default: '',
|
|
1557
|
+
required: true,
|
|
1558
|
+
description: 'The name of the repository without the `.git` extension. The name is not case sensitive.',
|
|
1559
|
+
displayOptions: {
|
|
1560
|
+
show: {
|
|
1561
|
+
operation: ['appsGetRepoInstallation'],
|
|
1562
|
+
},
|
|
1563
|
+
},
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
displayName: 'Additional Fields',
|
|
1567
|
+
name: 'additionalFields',
|
|
1568
|
+
type: 'collection',
|
|
1569
|
+
placeholder: 'Add Field',
|
|
1570
|
+
default: {},
|
|
1571
|
+
displayOptions: {
|
|
1572
|
+
show: {
|
|
1573
|
+
operation: ['appsListInstallationsForAuthenticatedUser'],
|
|
1574
|
+
},
|
|
1575
|
+
},
|
|
1576
|
+
options: [
|
|
1577
|
+
{
|
|
1578
|
+
displayName: 'Per Page',
|
|
1579
|
+
name: 'perPage',
|
|
1580
|
+
type: 'number',
|
|
1581
|
+
default: 0,
|
|
1582
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1583
|
+
routing: {
|
|
1584
|
+
send: {
|
|
1585
|
+
type: 'query',
|
|
1586
|
+
property: 'per_page',
|
|
1587
|
+
},
|
|
1588
|
+
},
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
displayName: 'Page',
|
|
1592
|
+
name: 'page',
|
|
1593
|
+
type: 'number',
|
|
1594
|
+
default: 0,
|
|
1595
|
+
description: 'The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1596
|
+
routing: {
|
|
1597
|
+
send: {
|
|
1598
|
+
type: 'query',
|
|
1599
|
+
property: 'page',
|
|
1600
|
+
},
|
|
1601
|
+
},
|
|
1602
|
+
},
|
|
1603
|
+
],
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
displayName: 'Installation Id',
|
|
1607
|
+
name: 'installationId',
|
|
1608
|
+
type: 'number',
|
|
1609
|
+
default: 0,
|
|
1610
|
+
required: true,
|
|
1611
|
+
description: 'The unique identifier of the installation.',
|
|
1612
|
+
displayOptions: {
|
|
1613
|
+
show: {
|
|
1614
|
+
operation: ['appsListInstallationReposForAuthenticatedUser'],
|
|
1615
|
+
},
|
|
1616
|
+
},
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
displayName: 'Additional Fields',
|
|
1620
|
+
name: 'additionalFields',
|
|
1621
|
+
type: 'collection',
|
|
1622
|
+
placeholder: 'Add Field',
|
|
1623
|
+
default: {},
|
|
1624
|
+
displayOptions: {
|
|
1625
|
+
show: {
|
|
1626
|
+
operation: ['appsListInstallationReposForAuthenticatedUser'],
|
|
1627
|
+
},
|
|
1628
|
+
},
|
|
1629
|
+
options: [
|
|
1630
|
+
{
|
|
1631
|
+
displayName: 'Per Page',
|
|
1632
|
+
name: 'perPage',
|
|
1633
|
+
type: 'number',
|
|
1634
|
+
default: 0,
|
|
1635
|
+
description: 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1636
|
+
routing: {
|
|
1637
|
+
send: {
|
|
1638
|
+
type: 'query',
|
|
1639
|
+
property: 'per_page',
|
|
1640
|
+
},
|
|
1641
|
+
},
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
displayName: 'Page',
|
|
1645
|
+
name: 'page',
|
|
1646
|
+
type: 'number',
|
|
1647
|
+
default: 0,
|
|
1648
|
+
description: 'The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)."',
|
|
1649
|
+
routing: {
|
|
1650
|
+
send: {
|
|
1651
|
+
type: 'query',
|
|
1652
|
+
property: 'page',
|
|
1653
|
+
},
|
|
1654
|
+
},
|
|
1655
|
+
},
|
|
1656
|
+
],
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
displayName: 'Installation Id',
|
|
1660
|
+
name: 'installationId',
|
|
1661
|
+
type: 'number',
|
|
1662
|
+
default: 0,
|
|
1663
|
+
required: true,
|
|
1664
|
+
description: 'The unique identifier of the installation.',
|
|
1665
|
+
displayOptions: {
|
|
1666
|
+
show: {
|
|
1667
|
+
operation: ['appsAddRepoToInstallationForAuthenticatedUser'],
|
|
1668
|
+
},
|
|
1669
|
+
},
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
displayName: 'Repository Id',
|
|
1673
|
+
name: 'repositoryId',
|
|
1674
|
+
type: 'number',
|
|
1675
|
+
default: 0,
|
|
1676
|
+
required: true,
|
|
1677
|
+
description: 'The unique identifier of the repository.',
|
|
1678
|
+
displayOptions: {
|
|
1679
|
+
show: {
|
|
1680
|
+
operation: ['appsAddRepoToInstallationForAuthenticatedUser'],
|
|
1681
|
+
},
|
|
1682
|
+
},
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
displayName: 'Installation Id',
|
|
1686
|
+
name: 'installationId',
|
|
1687
|
+
type: 'number',
|
|
1688
|
+
default: 0,
|
|
1689
|
+
required: true,
|
|
1690
|
+
description: 'The unique identifier of the installation.',
|
|
1691
|
+
displayOptions: {
|
|
1692
|
+
show: {
|
|
1693
|
+
operation: ['appsRemoveRepoFromInstallationForAuthenticatedUser'],
|
|
1694
|
+
},
|
|
1695
|
+
},
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
displayName: 'Repository Id',
|
|
1699
|
+
name: 'repositoryId',
|
|
1700
|
+
type: 'number',
|
|
1701
|
+
default: 0,
|
|
1702
|
+
required: true,
|
|
1703
|
+
description: 'The unique identifier of the repository.',
|
|
1704
|
+
displayOptions: {
|
|
1705
|
+
show: {
|
|
1706
|
+
operation: ['appsRemoveRepoFromInstallationForAuthenticatedUser'],
|
|
1707
|
+
},
|
|
1708
|
+
},
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
displayName: 'Username',
|
|
1712
|
+
name: 'username',
|
|
1713
|
+
type: 'string',
|
|
1714
|
+
default: '',
|
|
1715
|
+
required: true,
|
|
1716
|
+
description: 'The handle for the GitHub user account.',
|
|
1717
|
+
displayOptions: {
|
|
1718
|
+
show: {
|
|
1719
|
+
operation: ['appsGetUserInstallation'],
|
|
1720
|
+
},
|
|
1721
|
+
},
|
|
1722
|
+
},
|
|
1723
|
+
],
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
exports.GitHubV3RESTAPINode = GitHubV3RESTAPINode;
|