gitabu 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +33 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +65 -0
- data/LICENSE.txt +21 -0
- data/README.md +42 -0
- data/Rakefile +12 -0
- data/gitabu.gemspec +41 -0
- data/lib/gitabu/api/v3/actions.rb +3724 -0
- data/lib/gitabu/api/v3/activity.rb +835 -0
- data/lib/gitabu/api/v3/apps.rb +961 -0
- data/lib/gitabu/api/v3/billing.rb +217 -0
- data/lib/gitabu/api/v3/branches.rb +1098 -0
- data/lib/gitabu/api/v3/checks.rb +384 -0
- data/lib/gitabu/api/v3/code_scanning.rb +315 -0
- data/lib/gitabu/api/v3/codes_of_conduct.rb +92 -0
- data/lib/gitabu/api/v3/codespaces.rb +650 -0
- data/lib/gitabu/api/v3/collaborators.rb +341 -0
- data/lib/gitabu/api/v3/commits.rb +428 -0
- data/lib/gitabu/api/v3/dependabot.rb +419 -0
- data/lib/gitabu/api/v3/deploy_keys.rb +152 -0
- data/lib/gitabu/api/v3/deployments.rb +356 -0
- data/lib/gitabu/api/v3/emojis.rb +67 -0
- data/lib/gitabu/api/v3/enterprise_admin.rb +495 -0
- data/lib/gitabu/api/v3/gists.rb +552 -0
- data/lib/gitabu/api/v3/git.rb +409 -0
- data/lib/gitabu/api/v3/gitignore.rb +92 -0
- data/lib/gitabu/api/v3/interactions.rb +275 -0
- data/lib/gitabu/api/v3/issues.rb +1119 -0
- data/lib/gitabu/api/v3/licenses.rb +118 -0
- data/lib/gitabu/api/v3/markdown.rb +94 -0
- data/lib/gitabu/api/v3/meta.rb +142 -0
- data/lib/gitabu/api/v3/metrics.rb +302 -0
- data/lib/gitabu/api/v3/migrations.rb +631 -0
- data/lib/gitabu/api/v3/orgs.rb +1291 -0
- data/lib/gitabu/api/v3/packages.rb +686 -0
- data/lib/gitabu/api/v3/pages.rb +282 -0
- data/lib/gitabu/api/v3/projects.rb +693 -0
- data/lib/gitabu/api/v3/pulls.rb +816 -0
- data/lib/gitabu/api/v3/rate_limit.rb +67 -0
- data/lib/gitabu/api/v3/reactions.rb +734 -0
- data/lib/gitabu/api/v3/releases.rb +411 -0
- data/lib/gitabu/api/v3/repos.rb +1136 -0
- data/lib/gitabu/api/v3/scim.rb +214 -0
- data/lib/gitabu/api/v3/search.rb +217 -0
- data/lib/gitabu/api/v3/secret_scanning.rb +201 -0
- data/lib/gitabu/api/v3/teams.rb +1963 -0
- data/lib/gitabu/api/v3/users.rb +851 -0
- data/lib/gitabu/api/v3/webhooks.rb +379 -0
- data/lib/gitabu/builder.rb +37 -0
- data/lib/gitabu/client.rb +8 -0
- data/lib/gitabu/generator.rb +75 -0
- data/lib/gitabu/http_client.rb +96 -0
- data/lib/gitabu/items.rb +110 -0
- data/lib/gitabu/public/api/v3/actions.json +5779 -0
- data/lib/gitabu/public/api/v3/activity.json +1248 -0
- data/lib/gitabu/public/api/v3/apps.json +1174 -0
- data/lib/gitabu/public/api/v3/billing.json +183 -0
- data/lib/gitabu/public/api/v3/branches.json +1886 -0
- data/lib/gitabu/public/api/v3/checks.json +856 -0
- data/lib/gitabu/public/api/v3/code_scanning.json +666 -0
- data/lib/gitabu/public/api/v3/codes_of_conduct.json +41 -0
- data/lib/gitabu/public/api/v3/codespaces.json +884 -0
- data/lib/gitabu/public/api/v3/collaborators.json +464 -0
- data/lib/gitabu/public/api/v3/commits.json +830 -0
- data/lib/gitabu/public/api/v3/dependabot.json +596 -0
- data/lib/gitabu/public/api/v3/deploy_keys.json +195 -0
- data/lib/gitabu/public/api/v3/deployments.json +698 -0
- data/lib/gitabu/public/api/v3/emojis.json +18 -0
- data/lib/gitabu/public/api/v3/enterprise_admin.json +881 -0
- data/lib/gitabu/public/api/v3/gists.json +689 -0
- data/lib/gitabu/public/api/v3/git.json +735 -0
- data/lib/gitabu/public/api/v3/gitignore.json +41 -0
- data/lib/gitabu/public/api/v3/interactions.json +265 -0
- data/lib/gitabu/public/api/v3/issues.json +2359 -0
- data/lib/gitabu/public/api/v3/licenses.json +100 -0
- data/lib/gitabu/public/api/v3/markdown.json +59 -0
- data/lib/gitabu/public/api/v3/meta.json +69 -0
- data/lib/gitabu/public/api/v3/metrics.json +342 -0
- data/lib/gitabu/public/api/v3/migrations.json +960 -0
- data/lib/gitabu/public/api/v3/orgs.json +1989 -0
- data/lib/gitabu/public/api/v3/packages.json +1078 -0
- data/lib/gitabu/public/api/v3/pages.json +373 -0
- data/lib/gitabu/public/api/v3/projects.json +966 -0
- data/lib/gitabu/public/api/v3/pulls.json +1768 -0
- data/lib/gitabu/public/api/v3/rate_limit.json +18 -0
- data/lib/gitabu/public/api/v3/reactions.json +1425 -0
- data/lib/gitabu/public/api/v3/releases.json +753 -0
- data/lib/gitabu/public/api/v3/repos.json +2314 -0
- data/lib/gitabu/public/api/v3/scim.json +412 -0
- data/lib/gitabu/public/api/v3/search.json +408 -0
- data/lib/gitabu/public/api/v3/secret_scanning.json +385 -0
- data/lib/gitabu/public/api/v3/teams.json +3126 -0
- data/lib/gitabu/public/api/v3/users.json +956 -0
- data/lib/gitabu/public/api/v3/webhooks.json +667 -0
- data/lib/gitabu/run.rb +237 -0
- data/lib/gitabu/scraper.rb +86 -0
- data/lib/gitabu/templates/template.rb.erb +70 -0
- data/lib/gitabu/version.rb +6 -0
- data/lib/gitabu.rb +57 -0
- data/sig/gitabu.rbs +4 -0
- metadata +177 -0
@@ -0,0 +1,412 @@
|
|
1
|
+
{
|
2
|
+
"result": [
|
3
|
+
{
|
4
|
+
"namespace_description": "List SCIM provisioned identities",
|
5
|
+
"method": "get",
|
6
|
+
"endpoint": "/scim/v2/organizations/{org}/Users",
|
7
|
+
"field_0": {
|
8
|
+
"field_type": "header",
|
9
|
+
"fields": {
|
10
|
+
"name": "accept",
|
11
|
+
"type": "string",
|
12
|
+
"in": "header",
|
13
|
+
"description": "Setting toapplication/vnd.github.v3+json is recommended."
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"field_1": {
|
17
|
+
"field_type": "path",
|
18
|
+
"fields": {
|
19
|
+
"name": "org",
|
20
|
+
"type": "string",
|
21
|
+
"in": "path",
|
22
|
+
"description": ""
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"field_2": {
|
26
|
+
"field_type": "query",
|
27
|
+
"fields": {
|
28
|
+
"name": "startIndex",
|
29
|
+
"type": "integer",
|
30
|
+
"in": "query",
|
31
|
+
"description": "Used for pagination: the index of the first result to return."
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"field_3": {
|
35
|
+
"field_type": "query",
|
36
|
+
"fields": {
|
37
|
+
"name": "count",
|
38
|
+
"type": "integer",
|
39
|
+
"in": "query",
|
40
|
+
"description": "Used for pagination: the number of results to return."
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"field_4": {
|
44
|
+
"field_type": "query",
|
45
|
+
"fields": {
|
46
|
+
"name": "filter",
|
47
|
+
"type": "string",
|
48
|
+
"in": "query",
|
49
|
+
"description": "Filters results using the equals query parameter operator (eq). You can filter results that are equal to id, userName, emails, and external_id. For example, to search for an identity with the userName Octocat, you would use this query:\n?filter=userName%20eq%20\\\"Octocat\\\".\nTo filter results for the identity with the email octocat@github.com, you would use this query:\n?filter=emails%20eq%20\\\"octocat@github.com\\\"."
|
50
|
+
}
|
51
|
+
}
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"namespace_description": "Provision and invite a SCIM user",
|
55
|
+
"method": "post",
|
56
|
+
"endpoint": "/scim/v2/organizations/{org}/Users",
|
57
|
+
"field_0": {
|
58
|
+
"field_type": "header",
|
59
|
+
"fields": {
|
60
|
+
"name": "accept",
|
61
|
+
"type": "string",
|
62
|
+
"in": "header",
|
63
|
+
"description": "Setting toapplication/vnd.github.v3+json is recommended."
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"field_1": {
|
67
|
+
"field_type": "path",
|
68
|
+
"fields": {
|
69
|
+
"name": "org",
|
70
|
+
"type": "string",
|
71
|
+
"in": "path",
|
72
|
+
"description": ""
|
73
|
+
}
|
74
|
+
},
|
75
|
+
"field_2": {
|
76
|
+
"field_type": "body",
|
77
|
+
"fields": {
|
78
|
+
"name": "userName",
|
79
|
+
"type": "string",
|
80
|
+
"in": "body",
|
81
|
+
"description": "Required. Configured by the admin. Could be an email, login, or username"
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"field_3": {
|
85
|
+
"field_type": "body",
|
86
|
+
"fields": {
|
87
|
+
"name": "displayName",
|
88
|
+
"type": "string",
|
89
|
+
"in": "body",
|
90
|
+
"description": "The name of the user, suitable for display to end-users"
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"field_4": {
|
94
|
+
"field_type": "body",
|
95
|
+
"fields": {
|
96
|
+
"name": "name",
|
97
|
+
"type": "object",
|
98
|
+
"in": "body",
|
99
|
+
"description": "Required. "
|
100
|
+
}
|
101
|
+
},
|
102
|
+
"field_5": {
|
103
|
+
"field_type": null,
|
104
|
+
"fields": {
|
105
|
+
"name": "Properties of thenameobjectName (Type)DescriptiongivenName (string)Required. familyName (string)Required. formatted (string)",
|
106
|
+
"type": null,
|
107
|
+
"in": null,
|
108
|
+
"description": null
|
109
|
+
}
|
110
|
+
},
|
111
|
+
"field_6": {
|
112
|
+
"field_type": "body",
|
113
|
+
"fields": {
|
114
|
+
"name": "emails",
|
115
|
+
"type": "array of objects",
|
116
|
+
"in": "body",
|
117
|
+
"description": "Required. user emails"
|
118
|
+
}
|
119
|
+
},
|
120
|
+
"field_7": {
|
121
|
+
"field_type": null,
|
122
|
+
"fields": {
|
123
|
+
"name": "Properties of theemailsitemsName (Type)Descriptionvalue (string)Required. primary (boolean)type (string)",
|
124
|
+
"type": null,
|
125
|
+
"in": null,
|
126
|
+
"description": null
|
127
|
+
}
|
128
|
+
},
|
129
|
+
"field_8": {
|
130
|
+
"field_type": "body",
|
131
|
+
"fields": {
|
132
|
+
"name": "schemas",
|
133
|
+
"type": "array of strings",
|
134
|
+
"in": "body",
|
135
|
+
"description": ""
|
136
|
+
}
|
137
|
+
},
|
138
|
+
"field_9": {
|
139
|
+
"field_type": "body",
|
140
|
+
"fields": {
|
141
|
+
"name": "externalId",
|
142
|
+
"type": "string",
|
143
|
+
"in": "body",
|
144
|
+
"description": ""
|
145
|
+
}
|
146
|
+
},
|
147
|
+
"field_10": {
|
148
|
+
"field_type": "body",
|
149
|
+
"fields": {
|
150
|
+
"name": "groups",
|
151
|
+
"type": "array of strings",
|
152
|
+
"in": "body",
|
153
|
+
"description": ""
|
154
|
+
}
|
155
|
+
},
|
156
|
+
"field_11": {
|
157
|
+
"field_type": "body",
|
158
|
+
"fields": {
|
159
|
+
"name": "active",
|
160
|
+
"type": "boolean",
|
161
|
+
"in": "body",
|
162
|
+
"description": ""
|
163
|
+
}
|
164
|
+
}
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"namespace_description": "Get SCIM provisioning information for a user",
|
168
|
+
"method": "get",
|
169
|
+
"endpoint": "/scim/v2/organizations/{org}/Users/{scim_user_id}",
|
170
|
+
"field_0": {
|
171
|
+
"field_type": "header",
|
172
|
+
"fields": {
|
173
|
+
"name": "accept",
|
174
|
+
"type": "string",
|
175
|
+
"in": "header",
|
176
|
+
"description": "Setting toapplication/vnd.github.v3+json is recommended."
|
177
|
+
}
|
178
|
+
},
|
179
|
+
"field_1": {
|
180
|
+
"field_type": "path",
|
181
|
+
"fields": {
|
182
|
+
"name": "org",
|
183
|
+
"type": "string",
|
184
|
+
"in": "path",
|
185
|
+
"description": ""
|
186
|
+
}
|
187
|
+
},
|
188
|
+
"field_2": {
|
189
|
+
"field_type": "path",
|
190
|
+
"fields": {
|
191
|
+
"name": "scim_user_id",
|
192
|
+
"type": "string",
|
193
|
+
"in": "path",
|
194
|
+
"description": "scim_user_id parameter"
|
195
|
+
}
|
196
|
+
}
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"namespace_description": "Update a provisioned organization membership",
|
200
|
+
"method": "put",
|
201
|
+
"endpoint": "/scim/v2/organizations/{org}/Users/{scim_user_id}",
|
202
|
+
"field_0": {
|
203
|
+
"field_type": "header",
|
204
|
+
"fields": {
|
205
|
+
"name": "accept",
|
206
|
+
"type": "string",
|
207
|
+
"in": "header",
|
208
|
+
"description": "Setting toapplication/vnd.github.v3+json is recommended."
|
209
|
+
}
|
210
|
+
},
|
211
|
+
"field_1": {
|
212
|
+
"field_type": "path",
|
213
|
+
"fields": {
|
214
|
+
"name": "org",
|
215
|
+
"type": "string",
|
216
|
+
"in": "path",
|
217
|
+
"description": ""
|
218
|
+
}
|
219
|
+
},
|
220
|
+
"field_2": {
|
221
|
+
"field_type": "path",
|
222
|
+
"fields": {
|
223
|
+
"name": "scim_user_id",
|
224
|
+
"type": "string",
|
225
|
+
"in": "path",
|
226
|
+
"description": "scim_user_id parameter"
|
227
|
+
}
|
228
|
+
},
|
229
|
+
"field_3": {
|
230
|
+
"field_type": "body",
|
231
|
+
"fields": {
|
232
|
+
"name": "schemas",
|
233
|
+
"type": "array of strings",
|
234
|
+
"in": "body",
|
235
|
+
"description": ""
|
236
|
+
}
|
237
|
+
},
|
238
|
+
"field_4": {
|
239
|
+
"field_type": "body",
|
240
|
+
"fields": {
|
241
|
+
"name": "displayName",
|
242
|
+
"type": "string",
|
243
|
+
"in": "body",
|
244
|
+
"description": "The name of the user, suitable for display to end-users"
|
245
|
+
}
|
246
|
+
},
|
247
|
+
"field_5": {
|
248
|
+
"field_type": "body",
|
249
|
+
"fields": {
|
250
|
+
"name": "externalId",
|
251
|
+
"type": "string",
|
252
|
+
"in": "body",
|
253
|
+
"description": ""
|
254
|
+
}
|
255
|
+
},
|
256
|
+
"field_6": {
|
257
|
+
"field_type": "body",
|
258
|
+
"fields": {
|
259
|
+
"name": "groups",
|
260
|
+
"type": "array of strings",
|
261
|
+
"in": "body",
|
262
|
+
"description": ""
|
263
|
+
}
|
264
|
+
},
|
265
|
+
"field_7": {
|
266
|
+
"field_type": "body",
|
267
|
+
"fields": {
|
268
|
+
"name": "active",
|
269
|
+
"type": "boolean",
|
270
|
+
"in": "body",
|
271
|
+
"description": ""
|
272
|
+
}
|
273
|
+
},
|
274
|
+
"field_8": {
|
275
|
+
"field_type": "body",
|
276
|
+
"fields": {
|
277
|
+
"name": "userName",
|
278
|
+
"type": "string",
|
279
|
+
"in": "body",
|
280
|
+
"description": "Required. Configured by the admin. Could be an email, login, or username"
|
281
|
+
}
|
282
|
+
},
|
283
|
+
"field_9": {
|
284
|
+
"field_type": "body",
|
285
|
+
"fields": {
|
286
|
+
"name": "name",
|
287
|
+
"type": "object",
|
288
|
+
"in": "body",
|
289
|
+
"description": "Required. "
|
290
|
+
}
|
291
|
+
},
|
292
|
+
"field_10": {
|
293
|
+
"field_type": null,
|
294
|
+
"fields": {
|
295
|
+
"name": "Properties of thenameobjectName (Type)DescriptiongivenName (string)Required. familyName (string)Required. formatted (string)",
|
296
|
+
"type": null,
|
297
|
+
"in": null,
|
298
|
+
"description": null
|
299
|
+
}
|
300
|
+
},
|
301
|
+
"field_11": {
|
302
|
+
"field_type": "body",
|
303
|
+
"fields": {
|
304
|
+
"name": "emails",
|
305
|
+
"type": "array of objects",
|
306
|
+
"in": "body",
|
307
|
+
"description": "Required. user emails"
|
308
|
+
}
|
309
|
+
},
|
310
|
+
"field_12": {
|
311
|
+
"field_type": null,
|
312
|
+
"fields": {
|
313
|
+
"name": "Properties of theemailsitemsName (Type)Descriptiontype (string)value (string)Required. primary (boolean)",
|
314
|
+
"type": null,
|
315
|
+
"in": null,
|
316
|
+
"description": null
|
317
|
+
}
|
318
|
+
}
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"namespace_description": "Update an attribute for a SCIM user",
|
322
|
+
"method": "patch",
|
323
|
+
"endpoint": "{\n \"Operations\":[{\n \"op\":\"replace\",\n \"value\":{\n \"active\":false\n }\n }]\n}\n",
|
324
|
+
"field_0": {
|
325
|
+
"field_type": "header",
|
326
|
+
"fields": {
|
327
|
+
"name": "accept",
|
328
|
+
"type": "string",
|
329
|
+
"in": "header",
|
330
|
+
"description": "Setting toapplication/vnd.github.v3+json is recommended."
|
331
|
+
}
|
332
|
+
},
|
333
|
+
"field_1": {
|
334
|
+
"field_type": "path",
|
335
|
+
"fields": {
|
336
|
+
"name": "org",
|
337
|
+
"type": "string",
|
338
|
+
"in": "path",
|
339
|
+
"description": ""
|
340
|
+
}
|
341
|
+
},
|
342
|
+
"field_2": {
|
343
|
+
"field_type": "path",
|
344
|
+
"fields": {
|
345
|
+
"name": "scim_user_id",
|
346
|
+
"type": "string",
|
347
|
+
"in": "path",
|
348
|
+
"description": "scim_user_id parameter"
|
349
|
+
}
|
350
|
+
},
|
351
|
+
"field_3": {
|
352
|
+
"field_type": "body",
|
353
|
+
"fields": {
|
354
|
+
"name": "schemas",
|
355
|
+
"type": "array of strings",
|
356
|
+
"in": "body",
|
357
|
+
"description": ""
|
358
|
+
}
|
359
|
+
},
|
360
|
+
"field_4": {
|
361
|
+
"field_type": "body",
|
362
|
+
"fields": {
|
363
|
+
"name": "Operations",
|
364
|
+
"type": "array of objects",
|
365
|
+
"in": "body",
|
366
|
+
"description": "Required. Set of operations to be performed"
|
367
|
+
}
|
368
|
+
},
|
369
|
+
"field_5": {
|
370
|
+
"field_type": null,
|
371
|
+
"fields": {
|
372
|
+
"name": "Properties of theOperationsitemsName (Type)Descriptionop (string)Required. path (string)value (object or array or string or )",
|
373
|
+
"type": null,
|
374
|
+
"in": null,
|
375
|
+
"description": null
|
376
|
+
}
|
377
|
+
}
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"namespace_description": "Delete a SCIM user from an organization",
|
381
|
+
"method": "delete",
|
382
|
+
"endpoint": "/scim/v2/organizations/{org}/Users/{scim_user_id}",
|
383
|
+
"field_0": {
|
384
|
+
"field_type": "header",
|
385
|
+
"fields": {
|
386
|
+
"name": "accept",
|
387
|
+
"type": "string",
|
388
|
+
"in": "header",
|
389
|
+
"description": "Setting toapplication/vnd.github.v3+json is recommended."
|
390
|
+
}
|
391
|
+
},
|
392
|
+
"field_1": {
|
393
|
+
"field_type": "path",
|
394
|
+
"fields": {
|
395
|
+
"name": "org",
|
396
|
+
"type": "string",
|
397
|
+
"in": "path",
|
398
|
+
"description": ""
|
399
|
+
}
|
400
|
+
},
|
401
|
+
"field_2": {
|
402
|
+
"field_type": "path",
|
403
|
+
"fields": {
|
404
|
+
"name": "scim_user_id",
|
405
|
+
"type": "string",
|
406
|
+
"in": "path",
|
407
|
+
"description": "scim_user_id parameter"
|
408
|
+
}
|
409
|
+
}
|
410
|
+
}
|
411
|
+
]
|
412
|
+
}
|