ecosyste-ms-cli 1.3.2__py3-none-any.whl

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.
Files changed (84) hide show
  1. ecosyste_ms_cli-1.3.2.dist-info/METADATA +133 -0
  2. ecosyste_ms_cli-1.3.2.dist-info/RECORD +84 -0
  3. ecosyste_ms_cli-1.3.2.dist-info/WHEEL +5 -0
  4. ecosyste_ms_cli-1.3.2.dist-info/entry_points.txt +2 -0
  5. ecosyste_ms_cli-1.3.2.dist-info/licenses/LICENSE +21 -0
  6. ecosyste_ms_cli-1.3.2.dist-info/top_level.txt +1 -0
  7. ecosystems_cli/__init__.py +3 -0
  8. ecosystems_cli/__main__.py +4 -0
  9. ecosystems_cli/apis/__init__.py +0 -0
  10. ecosystems_cli/apis/advisories.openapi.yaml +347 -0
  11. ecosystems_cli/apis/archives.openapi.yaml +193 -0
  12. ecosystems_cli/apis/commits.openapi.yaml +391 -0
  13. ecosystems_cli/apis/dependabot.openapi.yaml +887 -0
  14. ecosystems_cli/apis/diff.openapi.yaml +90 -0
  15. ecosystems_cli/apis/docker.openapi.yaml +534 -0
  16. ecosystems_cli/apis/issues.openapi.yaml +839 -0
  17. ecosystems_cli/apis/licenses.openapi.yaml +80 -0
  18. ecosystems_cli/apis/opencollective.openapi.yaml +247 -0
  19. ecosystems_cli/apis/packages.openapi.yaml +2522 -0
  20. ecosystems_cli/apis/parser.openapi.yaml +97 -0
  21. ecosystems_cli/apis/registries.yaml +155 -0
  22. ecosystems_cli/apis/repos.openapi.yaml +1521 -0
  23. ecosystems_cli/apis/resolve.openapi.yaml +130 -0
  24. ecosystems_cli/apis/sbom.openapi.yaml +79 -0
  25. ecosystems_cli/apis/sponsors.openapi.yaml +283 -0
  26. ecosystems_cli/apis/summary.openapi.yaml +239 -0
  27. ecosystems_cli/apis/timeline.openapi.yaml +91 -0
  28. ecosystems_cli/cli.py +213 -0
  29. ecosystems_cli/commands/__init__.py +1 -0
  30. ecosystems_cli/commands/advisories.py +109 -0
  31. ecosystems_cli/commands/archives.py +5 -0
  32. ecosystems_cli/commands/commits.py +5 -0
  33. ecosystems_cli/commands/decorators.py +101 -0
  34. ecosystems_cli/commands/dependabot.py +5 -0
  35. ecosystems_cli/commands/diff.py +144 -0
  36. ecosystems_cli/commands/docker.py +5 -0
  37. ecosystems_cli/commands/execution.py +99 -0
  38. ecosystems_cli/commands/generator.py +127 -0
  39. ecosystems_cli/commands/handlers/__init__.py +45 -0
  40. ecosystems_cli/commands/handlers/advisories.py +73 -0
  41. ecosystems_cli/commands/handlers/archives.py +40 -0
  42. ecosystems_cli/commands/handlers/base.py +38 -0
  43. ecosystems_cli/commands/handlers/commits.py +76 -0
  44. ecosystems_cli/commands/handlers/default.py +40 -0
  45. ecosystems_cli/commands/handlers/dependabot.py +205 -0
  46. ecosystems_cli/commands/handlers/diff.py +72 -0
  47. ecosystems_cli/commands/handlers/docker.py +142 -0
  48. ecosystems_cli/commands/handlers/factory.py +60 -0
  49. ecosystems_cli/commands/handlers/issues.py +87 -0
  50. ecosystems_cli/commands/handlers/licenses.py +52 -0
  51. ecosystems_cli/commands/handlers/opencollective.py +86 -0
  52. ecosystems_cli/commands/handlers/packages.py +103 -0
  53. ecosystems_cli/commands/handlers/parser.py +57 -0
  54. ecosystems_cli/commands/handlers/repos.py +97 -0
  55. ecosystems_cli/commands/handlers/resolve.py +68 -0
  56. ecosystems_cli/commands/handlers/sbom.py +52 -0
  57. ecosystems_cli/commands/handlers/sponsors.py +52 -0
  58. ecosystems_cli/commands/handlers/summary.py +81 -0
  59. ecosystems_cli/commands/handlers/timeline.py +45 -0
  60. ecosystems_cli/commands/issues.py +5 -0
  61. ecosystems_cli/commands/licenses.py +135 -0
  62. ecosystems_cli/commands/mcp.py +54 -0
  63. ecosystems_cli/commands/opencollective.py +5 -0
  64. ecosystems_cli/commands/packages.py +151 -0
  65. ecosystems_cli/commands/parser.py +135 -0
  66. ecosystems_cli/commands/repos.py +5 -0
  67. ecosystems_cli/commands/resolve.py +160 -0
  68. ecosystems_cli/commands/sbom.py +135 -0
  69. ecosystems_cli/commands/sponsors.py +5 -0
  70. ecosystems_cli/commands/summary.py +5 -0
  71. ecosystems_cli/commands/timeline.py +5 -0
  72. ecosystems_cli/constants.py +92 -0
  73. ecosystems_cli/exceptions.py +149 -0
  74. ecosystems_cli/helpers/click_params.py +49 -0
  75. ecosystems_cli/helpers/flatten_dict.py +15 -0
  76. ecosystems_cli/helpers/format_value.py +30 -0
  77. ecosystems_cli/helpers/get_domain.py +68 -0
  78. ecosystems_cli/helpers/load_api_spec.py +31 -0
  79. ecosystems_cli/helpers/print_error.py +15 -0
  80. ecosystems_cli/helpers/print_operations.py +73 -0
  81. ecosystems_cli/helpers/print_output.py +183 -0
  82. ecosystems_cli/helpers/purl_parser.py +121 -0
  83. ecosystems_cli/mcp_server.py +267 -0
  84. ecosystems_cli/openapi_client.py +461 -0
@@ -0,0 +1,2522 @@
1
+ ---
2
+ openapi: 3.0.1
3
+ info:
4
+ title: 'Ecosyste.ms: Packages'
5
+ description: An open API service providing package, version and dependency metadata
6
+ of many open source software ecosystems and registries.
7
+ contact:
8
+ name: Ecosyste.ms
9
+ email: support@ecosyste.ms
10
+ url: https://ecosyste.ms
11
+ version: 1.1.0
12
+ license:
13
+ name: CC-BY-SA-4.0
14
+ url: https://creativecommons.org/licenses/by-sa/4.0/
15
+ externalDocs:
16
+ description: GitHub Repository
17
+ url: https://github.com/ecosyste-ms/packages
18
+ servers:
19
+ - url: https://packages.ecosyste.ms/api/v1
20
+ paths:
21
+ "/critical":
22
+ get:
23
+ summary: list critical packages
24
+ operationId: getCriticalPackages
25
+ tags:
26
+ - critical
27
+ parameters:
28
+ - name: registry
29
+ in: query
30
+ description: filter by registry name
31
+ required: false
32
+ schema:
33
+ type: string
34
+ - name: page
35
+ in: query
36
+ description: pagination page number
37
+ required: false
38
+ schema:
39
+ type: integer
40
+ - name: per_page
41
+ in: query
42
+ description: Number of records to return
43
+ required: false
44
+ schema:
45
+ type: integer
46
+ - name: sort
47
+ in: query
48
+ description: field to sort results by
49
+ required: false
50
+ schema:
51
+ type: string
52
+ enum:
53
+ - updated_at
54
+ - created_at
55
+ - name
56
+ - downloads
57
+ - dependent_repos_count
58
+ - dependent_packages_count
59
+ - latest_release_published_at
60
+ - versions_count
61
+ - maintainers_count
62
+ - docker_downloads_count
63
+ - docker_dependents_count
64
+ - stargazers_count
65
+ - forks_count
66
+ - name: order
67
+ in: query
68
+ description: direction to sort results by (asc or desc)
69
+ required: false
70
+ schema:
71
+ type: string
72
+ responses:
73
+ 200:
74
+ description: OK
75
+ content:
76
+ application/json:
77
+ schema:
78
+ type: array
79
+ items:
80
+ "$ref": "#/components/schemas/PackageWithRegistry"
81
+ "/critical/sole_maintainers":
82
+ get:
83
+ summary: list critical packages with sole maintainers
84
+ operationId: getCriticalSoleMaintainers
85
+ tags:
86
+ - critical
87
+ parameters:
88
+ - name: registry
89
+ in: query
90
+ description: filter by registry name
91
+ required: false
92
+ schema:
93
+ type: string
94
+ - name: page
95
+ in: query
96
+ description: pagination page number
97
+ required: false
98
+ schema:
99
+ type: integer
100
+ - name: per_page
101
+ in: query
102
+ description: Number of records to return
103
+ required: false
104
+ schema:
105
+ type: integer
106
+ - name: sort
107
+ in: query
108
+ description: field to sort results by
109
+ required: false
110
+ schema:
111
+ type: string
112
+ enum:
113
+ - updated_at
114
+ - created_at
115
+ - name
116
+ - downloads
117
+ - dependent_repos_count
118
+ - dependent_packages_count
119
+ - latest_release_published_at
120
+ - versions_count
121
+ - maintainers_count
122
+ - docker_downloads_count
123
+ - docker_dependents_count
124
+ - stargazers_count
125
+ - forks_count
126
+ - name: order
127
+ in: query
128
+ description: direction to sort results by (asc or desc)
129
+ required: false
130
+ schema:
131
+ type: string
132
+ responses:
133
+ 200:
134
+ description: OK
135
+ content:
136
+ application/json:
137
+ schema:
138
+ type: array
139
+ items:
140
+ "$ref": "#/components/schemas/PackageWithRegistry"
141
+ "/critical/maintainers":
142
+ get:
143
+ summary: list unique maintainers of critical packages
144
+ operationId: getCriticalMaintainers
145
+ tags:
146
+ - critical
147
+ parameters:
148
+ - name: registry
149
+ in: query
150
+ description: filter by registry name
151
+ required: false
152
+ schema:
153
+ type: string
154
+ - name: page
155
+ in: query
156
+ description: pagination page number
157
+ required: false
158
+ schema:
159
+ type: integer
160
+ - name: per_page
161
+ in: query
162
+ description: Number of records to return
163
+ required: false
164
+ schema:
165
+ type: integer
166
+ - name: sort
167
+ in: query
168
+ description: field to sort results by (login or packages_count)
169
+ required: false
170
+ schema:
171
+ type: string
172
+ enum:
173
+ - login
174
+ - packages_count
175
+ - name: order
176
+ in: query
177
+ description: direction to sort results by (asc or desc)
178
+ required: false
179
+ schema:
180
+ type: string
181
+ responses:
182
+ 200:
183
+ description: OK
184
+ content:
185
+ application/json:
186
+ schema:
187
+ type: array
188
+ items:
189
+ type: object
190
+ properties:
191
+ login:
192
+ type: string
193
+ name:
194
+ type: string
195
+ nullable: true
196
+ registry_name:
197
+ type: string
198
+ packages_count:
199
+ type: integer
200
+ packages:
201
+ type: array
202
+ items:
203
+ "$ref": "#/components/schemas/PackageWithRegistry"
204
+ "/packages/lookup":
205
+ get:
206
+ summary: lookup a package by repository URL, purl or ecosystem+name
207
+ operationId: lookupPackage
208
+ tags:
209
+ - packages
210
+ parameters:
211
+ - name: repository_url
212
+ in: query
213
+ description: repository URL
214
+ required: false
215
+ schema:
216
+ type: string
217
+ - name: purl
218
+ in: query
219
+ description: package URL
220
+ required: false
221
+ schema:
222
+ type: string
223
+ - name: ecosystem
224
+ in: query
225
+ description: ecosystem name
226
+ required: false
227
+ schema:
228
+ type: string
229
+ - name: name
230
+ in: query
231
+ description: package name
232
+ required: false
233
+ schema:
234
+ type: string
235
+ - name: sort
236
+ in: query
237
+ description: field to sort results by
238
+ required: false
239
+ schema:
240
+ type: string
241
+ enum:
242
+ - updated_at
243
+ - created_at
244
+ - name
245
+ - downloads
246
+ - dependent_repos_count
247
+ - dependent_packages_count
248
+ - latest_release_published_at
249
+ - versions_count
250
+ - maintainers_count
251
+ - docker_downloads_count
252
+ - docker_dependents_count
253
+ - stargazers_count
254
+ - forks_count
255
+ - name: order
256
+ in: query
257
+ description: direction to sort results by
258
+ required: false
259
+ schema:
260
+ type: string
261
+ responses:
262
+ 200:
263
+ description: OK
264
+ content:
265
+ application/json:
266
+ schema:
267
+ type: array
268
+ items:
269
+ "$ref": "#/components/schemas/PackageWithRegistry"
270
+ "/packages/critical":
271
+ get:
272
+ summary: list all critical packages
273
+ operationId: getCriticalPackagesList
274
+ tags:
275
+ - packages
276
+ parameters:
277
+ - name: page
278
+ in: query
279
+ description: pagination page number
280
+ required: false
281
+ schema:
282
+ type: integer
283
+ - name: per_page
284
+ in: query
285
+ description: Number of records to return
286
+ required: false
287
+ schema:
288
+ type: integer
289
+ - name: created_after
290
+ in: query
291
+ description: filter by created_at after given time
292
+ required: false
293
+ schema:
294
+ type: string
295
+ format: date-time
296
+ - name: updated_after
297
+ in: query
298
+ description: filter by updated_at after given time
299
+ required: false
300
+ schema:
301
+ type: string
302
+ format: date-time
303
+ - name: created_before
304
+ in: query
305
+ description: filter by created_at before given time
306
+ required: false
307
+ schema:
308
+ type: string
309
+ format: date-time
310
+ - name: updated_before
311
+ in: query
312
+ description: filter by updated_at before given time
313
+ required: false
314
+ schema:
315
+ type: string
316
+ format: date-time
317
+ - name: funding
318
+ in: query
319
+ description: filter by packages with funding information
320
+ required: false
321
+ schema:
322
+ type: boolean
323
+ - name: sort
324
+ in: query
325
+ description: field to sort results by
326
+ required: false
327
+ schema:
328
+ type: string
329
+ enum:
330
+ - updated_at
331
+ - created_at
332
+ - name
333
+ - downloads
334
+ - dependent_repos_count
335
+ - dependent_packages_count
336
+ - latest_release_published_at
337
+ - versions_count
338
+ - maintainers_count
339
+ - docker_downloads_count
340
+ - docker_dependents_count
341
+ - stargazers_count
342
+ - forks_count
343
+ - name: order
344
+ in: query
345
+ description: direction to sort results by (asc or desc)
346
+ required: false
347
+ schema:
348
+ type: string
349
+ responses:
350
+ 200:
351
+ description: OK
352
+ content:
353
+ application/json:
354
+ schema:
355
+ type: array
356
+ items:
357
+ "$ref": "#/components/schemas/PackageWithRegistry"
358
+ "/packages/bulk_lookup":
359
+ post:
360
+ summary: lookup multiple packages by repository URLs, PURLs, or names
361
+ operationId: bulkLookupPackages
362
+ tags:
363
+ - packages
364
+ requestBody:
365
+ required: true
366
+ content:
367
+ application/json:
368
+ schema:
369
+ type: object
370
+ properties:
371
+ repository_urls:
372
+ type: array
373
+ description: array of repository URLs to lookup
374
+ items:
375
+ type: string
376
+ purls:
377
+ type: array
378
+ description: array of package URLs to lookup (maximum 100)
379
+ maxItems: 100
380
+ items:
381
+ type: string
382
+ names:
383
+ type: array
384
+ description: array of package names to lookup
385
+ items:
386
+ type: string
387
+ ecosystem:
388
+ type: string
389
+ description: filter results by ecosystem name
390
+ responses:
391
+ 200:
392
+ description: OK
393
+ content:
394
+ application/json:
395
+ schema:
396
+ type: array
397
+ items:
398
+ "$ref": "#/components/schemas/PackageWithRegistry"
399
+ 400:
400
+ description: Bad Request - too many PURLs provided
401
+ content:
402
+ application/json:
403
+ schema:
404
+ type: object
405
+ properties:
406
+ error:
407
+ type: string
408
+ example: Maximum 100 PURLs allowed per request
409
+ "/keywords":
410
+ get:
411
+ summary: list keywords
412
+ operationId: getKeywords
413
+ tags:
414
+ - keywords
415
+ parameters:
416
+ - name: page
417
+ in: query
418
+ description: pagination page number
419
+ required: false
420
+ schema:
421
+ type: integer
422
+ - name: per_page
423
+ in: query
424
+ description: Number of records to return
425
+ required: false
426
+ schema:
427
+ type: integer
428
+ responses:
429
+ 200:
430
+ description: OK
431
+ content:
432
+ application/json:
433
+ schema:
434
+ type: array
435
+ items:
436
+ "$ref": "#/components/schemas/Keyword"
437
+ "/keywords/{keywordName}":
438
+ get:
439
+ summary: get a keyword by name
440
+ operationId: getKeyword
441
+ tags:
442
+ - keywords
443
+ parameters:
444
+ - in: path
445
+ name: keywordName
446
+ schema:
447
+ type: string
448
+ required: true
449
+ description: name of keyword
450
+ - name: page
451
+ in: query
452
+ description: pagination page number
453
+ required: false
454
+ schema:
455
+ type: integer
456
+ - name: per_page
457
+ in: query
458
+ description: Number of records to return
459
+ required: false
460
+ schema:
461
+ type: integer
462
+ responses:
463
+ 200:
464
+ description: OK
465
+ content:
466
+ application/json:
467
+ schema:
468
+ "$ref": "#/components/schemas/KeywordWithPackages"
469
+ "/registries":
470
+ get:
471
+ summary: list registies
472
+ operationId: getRegistries
473
+ tags:
474
+ - registries
475
+ parameters:
476
+ - name: ecosystem
477
+ in: query
478
+ description: filter by ecosystem name
479
+ required: false
480
+ schema:
481
+ type: string
482
+ - name: page
483
+ in: query
484
+ description: pagination page number
485
+ required: false
486
+ schema:
487
+ type: integer
488
+ - name: per_page
489
+ in: query
490
+ description: Number of records to return
491
+ required: false
492
+ schema:
493
+ type: integer
494
+ responses:
495
+ 200:
496
+ description: OK
497
+ content:
498
+ application/json:
499
+ schema:
500
+ type: array
501
+ items:
502
+ "$ref": "#/components/schemas/Registry"
503
+ "/registries/{registryName}":
504
+ get:
505
+ summary: get a registry by name
506
+ operationId: getRegistry
507
+ tags:
508
+ - registries
509
+ parameters:
510
+ - in: path
511
+ name: registryName
512
+ schema:
513
+ type: string
514
+ required: true
515
+ description: name of registry
516
+ - name: page
517
+ in: query
518
+ description: pagination page number
519
+ required: false
520
+ schema:
521
+ type: integer
522
+ - name: per_page
523
+ in: query
524
+ description: Number of records to return
525
+ required: false
526
+ schema:
527
+ type: integer
528
+ responses:
529
+ 200:
530
+ description: OK
531
+ content:
532
+ application/json:
533
+ schema:
534
+ "$ref": "#/components/schemas/Registry"
535
+ "/registries/{registryName}/lookup":
536
+ get:
537
+ summary: lookup a package within a registry by repository URL, purl or ecosystem+name
538
+ operationId: lookupRegistryPackage
539
+ tags:
540
+ - packages
541
+ parameters:
542
+ - in: path
543
+ name: registryName
544
+ schema:
545
+ type: string
546
+ required: true
547
+ description: name of registry
548
+ - name: repository_url
549
+ in: query
550
+ description: repository URL
551
+ required: false
552
+ schema:
553
+ type: string
554
+ - name: purl
555
+ in: query
556
+ description: package URL
557
+ required: false
558
+ schema:
559
+ type: string
560
+ - name: ecosystem
561
+ in: query
562
+ description: ecosystem name
563
+ required: false
564
+ schema:
565
+ type: string
566
+ - name: name
567
+ in: query
568
+ description: package name
569
+ required: false
570
+ schema:
571
+ type: string
572
+ - name: sort
573
+ in: query
574
+ description: field to sort results by
575
+ required: false
576
+ schema:
577
+ type: string
578
+ enum:
579
+ - updated_at
580
+ - created_at
581
+ - name
582
+ - downloads
583
+ - dependent_repos_count
584
+ - dependent_packages_count
585
+ - latest_release_published_at
586
+ - versions_count
587
+ - maintainers_count
588
+ - docker_downloads_count
589
+ - docker_dependents_count
590
+ - stargazers_count
591
+ - forks_count
592
+ - name: order
593
+ in: query
594
+ description: direction to sort results by
595
+ required: false
596
+ schema:
597
+ type: string
598
+ responses:
599
+ 200:
600
+ description: OK
601
+ content:
602
+ application/json:
603
+ schema:
604
+ type: array
605
+ items:
606
+ "$ref": "#/components/schemas/PackageWithRegistry"
607
+ "/registries/{registryName}/maintainers":
608
+ get:
609
+ summary: get a list of maintainers from a registry
610
+ operationId: getRegistryMaintainers
611
+ tags:
612
+ - maintainers
613
+ parameters:
614
+ - in: path
615
+ name: registryName
616
+ schema:
617
+ type: string
618
+ required: true
619
+ description: name of registry
620
+ - name: page
621
+ in: query
622
+ description: pagination page number
623
+ required: false
624
+ schema:
625
+ type: integer
626
+ - name: per_page
627
+ in: query
628
+ description: Number of records to return
629
+ required: false
630
+ schema:
631
+ type: integer
632
+ - name: created_after
633
+ in: query
634
+ description: filter by created_at after given time
635
+ required: false
636
+ schema:
637
+ type: string
638
+ format: date-time
639
+ - name: updated_after
640
+ in: query
641
+ description: filter by updated_at after given time
642
+ required: false
643
+ schema:
644
+ type: string
645
+ format: date-time
646
+ - name: sort
647
+ in: query
648
+ description: field to order results by
649
+ required: false
650
+ schema:
651
+ type: string
652
+ enum:
653
+ - login
654
+ - packages_count
655
+ - updated_at
656
+ - created_at
657
+ - name
658
+ - uuid
659
+ - name: order
660
+ in: query
661
+ description: direction to order results by
662
+ required: false
663
+ schema:
664
+ type: string
665
+ responses:
666
+ 200:
667
+ description: OK
668
+ content:
669
+ application/json:
670
+ schema:
671
+ type: array
672
+ items:
673
+ "$ref": "#/components/schemas/Maintainer"
674
+ "/registries/{registryName}/maintainers/{MaintainerLoginOrUUID}":
675
+ get:
676
+ summary: get a maintainer by login or UUID
677
+ operationId: getRegistryMaintainer
678
+ tags:
679
+ - maintainers
680
+ parameters:
681
+ - in: path
682
+ name: registryName
683
+ schema:
684
+ type: string
685
+ required: true
686
+ description: name of registry
687
+ - in: path
688
+ name: MaintainerLoginOrUUID
689
+ schema:
690
+ type: string
691
+ required: true
692
+ description: login or uuid of maintainer
693
+ responses:
694
+ 200:
695
+ description: OK
696
+ content:
697
+ application/json:
698
+ schema:
699
+ "$ref": "#/components/schemas/Maintainer"
700
+ "/registries/{registryName}/maintainers/{MaintainerLoginOrUUID}/packages":
701
+ get:
702
+ summary: get packages for a maintainer by login or UUID
703
+ operationId: getRegistryMaintainerPackages
704
+ tags:
705
+ - maintainers
706
+ parameters:
707
+ - in: path
708
+ name: registryName
709
+ schema:
710
+ type: string
711
+ required: true
712
+ description: name of registry
713
+ - in: path
714
+ name: MaintainerLoginOrUUID
715
+ schema:
716
+ type: string
717
+ required: true
718
+ description: login or uuid of maintainer
719
+ - name: page
720
+ in: query
721
+ description: pagination page number
722
+ required: false
723
+ schema:
724
+ type: integer
725
+ - name: per_page
726
+ in: query
727
+ description: Number of records to return
728
+ required: false
729
+ schema:
730
+ type: integer
731
+ responses:
732
+ 200:
733
+ description: OK
734
+ content:
735
+ application/json:
736
+ schema:
737
+ type: array
738
+ items:
739
+ "$ref": "#/components/schemas/Package"
740
+ "/registries/{registryName}/namespaces":
741
+ get:
742
+ summary: get a list of namespaces from a registry
743
+ operationId: getRegistryNamespaces
744
+ tags:
745
+ - namespaces
746
+ parameters:
747
+ - in: path
748
+ name: registryName
749
+ schema:
750
+ type: string
751
+ required: true
752
+ description: name of registry
753
+ - name: page
754
+ in: query
755
+ description: pagination page number
756
+ required: false
757
+ schema:
758
+ type: integer
759
+ - name: per_page
760
+ in: query
761
+ description: Number of records to return
762
+ required: false
763
+ schema:
764
+ type: integer
765
+ responses:
766
+ 200:
767
+ description: OK
768
+ content:
769
+ application/json:
770
+ schema:
771
+ type: array
772
+ items:
773
+ "$ref": "#/components/schemas/Namespace"
774
+ "/registries/{registryName}/namespaces/{namespaceName}":
775
+ get:
776
+ summary: get a namespace by name
777
+ operationId: getRegistryNamespace
778
+ tags:
779
+ - namespaces
780
+ parameters:
781
+ - in: path
782
+ name: registryName
783
+ schema:
784
+ type: string
785
+ required: true
786
+ description: name of registry
787
+ - in: path
788
+ name: namespaceName
789
+ schema:
790
+ type: string
791
+ required: true
792
+ description: name of namespace
793
+ responses:
794
+ 200:
795
+ description: OK
796
+ content:
797
+ application/json:
798
+ schema:
799
+ "$ref": "#/components/schemas/Namespace"
800
+ "/registries/{registryName}/namespaces/{namespaceName}/packages":
801
+ get:
802
+ summary: get packages for a namespace by login or UUID
803
+ operationId: getRegistryNamespacePackages
804
+ tags:
805
+ - namespaces
806
+ parameters:
807
+ - in: path
808
+ name: registryName
809
+ schema:
810
+ type: string
811
+ required: true
812
+ description: name of registry
813
+ - in: path
814
+ name: namespaceName
815
+ schema:
816
+ type: string
817
+ required: true
818
+ description: lname of namespace
819
+ - name: page
820
+ in: query
821
+ description: pagination page number
822
+ required: false
823
+ schema:
824
+ type: integer
825
+ - name: per_page
826
+ in: query
827
+ description: Number of records to return
828
+ required: false
829
+ schema:
830
+ type: integer
831
+ responses:
832
+ 200:
833
+ description: OK
834
+ content:
835
+ application/json:
836
+ schema:
837
+ type: array
838
+ items:
839
+ "$ref": "#/components/schemas/Package"
840
+ "/registries/{registryName}/packages":
841
+ get:
842
+ summary: get a list of packages from a registry
843
+ operationId: getRegistryPackages
844
+ tags:
845
+ - packages
846
+ parameters:
847
+ - in: path
848
+ name: registryName
849
+ schema:
850
+ type: string
851
+ required: true
852
+ description: name of registry
853
+ - name: page
854
+ in: query
855
+ description: pagination page number
856
+ required: false
857
+ schema:
858
+ type: integer
859
+ - name: per_page
860
+ in: query
861
+ description: Number of records to return
862
+ required: false
863
+ schema:
864
+ type: integer
865
+ - name: created_after
866
+ in: query
867
+ description: filter by created_at after given time
868
+ required: false
869
+ schema:
870
+ type: string
871
+ format: date-time
872
+ - name: updated_after
873
+ in: query
874
+ description: filter by updated_at after given time
875
+ required: false
876
+ schema:
877
+ type: string
878
+ format: date-time
879
+ - name: created_before
880
+ in: query
881
+ description: filter by created_at before given time
882
+ required: false
883
+ schema:
884
+ type: string
885
+ format: date-time
886
+ - name: updated_before
887
+ in: query
888
+ description: filter by updated_at before given time
889
+ required: false
890
+ schema:
891
+ type: string
892
+ format: date-time
893
+ - name: critical
894
+ in: query
895
+ description: filter by critical packages
896
+ required: false
897
+ schema:
898
+ type: boolean
899
+ - name: sort
900
+ in: query
901
+ description: field to order results by
902
+ required: false
903
+ schema:
904
+ type: string
905
+ enum:
906
+ - updated_at
907
+ - created_at
908
+ - name
909
+ - downloads
910
+ - dependent_repos_count
911
+ - dependent_packages_count
912
+ - latest_release_published_at
913
+ - versions_count
914
+ - maintainers_count
915
+ - docker_downloads_count
916
+ - docker_dependents_count
917
+ - stargazers_count
918
+ - forks_count
919
+ - name: order
920
+ in: query
921
+ description: direction to order results by
922
+ required: false
923
+ schema:
924
+ type: string
925
+ responses:
926
+ 200:
927
+ description: OK
928
+ content:
929
+ application/json:
930
+ schema:
931
+ type: array
932
+ items:
933
+ "$ref": "#/components/schemas/Package"
934
+ "/registries/{registryName}/package_names":
935
+ get:
936
+ summary: get a list of package names from a registry
937
+ operationId: getRegistryPackageNames
938
+ tags:
939
+ - packages
940
+ parameters:
941
+ - in: path
942
+ name: registryName
943
+ schema:
944
+ type: string
945
+ required: true
946
+ description: name of registry
947
+ - name: page
948
+ in: query
949
+ description: pagination page number
950
+ required: false
951
+ schema:
952
+ type: integer
953
+ - name: per_page
954
+ in: query
955
+ description: Number of records to return
956
+ required: false
957
+ schema:
958
+ type: integer
959
+ - name: created_after
960
+ in: query
961
+ description: filter by created_at after given time
962
+ required: false
963
+ schema:
964
+ type: string
965
+ format: date-time
966
+ - name: updated_after
967
+ in: query
968
+ description: filter by updated_at after given time
969
+ required: false
970
+ schema:
971
+ type: string
972
+ format: date-time
973
+ - name: created_before
974
+ in: query
975
+ description: filter by created_at before given time
976
+ required: false
977
+ schema:
978
+ type: string
979
+ format: date-time
980
+ - name: updated_before
981
+ in: query
982
+ description: filter by updated_at before given time
983
+ required: false
984
+ schema:
985
+ type: string
986
+ format: date-time
987
+ - name: sort
988
+ in: query
989
+ description: field to order results by
990
+ required: false
991
+ schema:
992
+ type: string
993
+ enum:
994
+ - updated_at
995
+ - created_at
996
+ - name
997
+ - downloads
998
+ - dependent_repos_count
999
+ - dependent_packages_count
1000
+ - latest_release_published_at
1001
+ - versions_count
1002
+ - maintainers_count
1003
+ - docker_downloads_count
1004
+ - docker_dependents_count
1005
+ - stargazers_count
1006
+ - forks_count
1007
+ - name: order
1008
+ in: query
1009
+ description: direction to order results by
1010
+ required: false
1011
+ schema:
1012
+ type: string
1013
+ - name: critical
1014
+ in: query
1015
+ description: filter by critical packages
1016
+ required: false
1017
+ schema:
1018
+ type: boolean
1019
+ - name: funding
1020
+ in: query
1021
+ description: filter by packages with funding information
1022
+ required: false
1023
+ schema:
1024
+ type: boolean
1025
+ - name: prefix
1026
+ in: query
1027
+ description: filter by package names starting with this string (case insensitive)
1028
+ required: false
1029
+ schema:
1030
+ type: string
1031
+ - name: postfix
1032
+ in: query
1033
+ description: filter by package names ending with this string (case insensitive)
1034
+ required: false
1035
+ schema:
1036
+ type: string
1037
+ responses:
1038
+ 200:
1039
+ description: OK
1040
+ content:
1041
+ application/json:
1042
+ schema:
1043
+ type: array
1044
+ items:
1045
+ type: string
1046
+ "/registries/{registryName}/versions":
1047
+ get:
1048
+ summary: get a list of recently published versions from a registry
1049
+ operationId: getRegistryRecentVersions
1050
+ tags:
1051
+ - packages
1052
+ parameters:
1053
+ - in: path
1054
+ name: registryName
1055
+ schema:
1056
+ type: string
1057
+ required: true
1058
+ description: name of registry
1059
+ - name: page
1060
+ in: query
1061
+ description: pagination page number
1062
+ required: false
1063
+ schema:
1064
+ type: integer
1065
+ - name: per_page
1066
+ in: query
1067
+ description: Number of records to return
1068
+ required: false
1069
+ schema:
1070
+ type: integer
1071
+ - name: created_after
1072
+ in: query
1073
+ description: filter by created_at after given time
1074
+ required: false
1075
+ schema:
1076
+ type: string
1077
+ format: date-time
1078
+ - name: updated_after
1079
+ in: query
1080
+ description: filter by updated_at after given time
1081
+ required: false
1082
+ schema:
1083
+ type: string
1084
+ format: date-time
1085
+ - name: published_after
1086
+ in: query
1087
+ description: filter by published_at after given time
1088
+ required: false
1089
+ schema:
1090
+ type: string
1091
+ format: date-time
1092
+ - name: published_before
1093
+ in: query
1094
+ description: filter by published_at before given time
1095
+ required: false
1096
+ schema:
1097
+ type: string
1098
+ format: date-time
1099
+ - name: created_before
1100
+ in: query
1101
+ description: filter by created_at before given time
1102
+ required: false
1103
+ schema:
1104
+ type: string
1105
+ format: date-time
1106
+ - name: updated_before
1107
+ in: query
1108
+ description: filter by updated_at before given time
1109
+ required: false
1110
+ schema:
1111
+ type: string
1112
+ format: date-time
1113
+ - name: sort
1114
+ in: query
1115
+ description: field to order results by
1116
+ required: false
1117
+ schema:
1118
+ type: string
1119
+ enum:
1120
+ - published_at
1121
+ - created_at
1122
+ - updated_at
1123
+ - number
1124
+ - name: order
1125
+ in: query
1126
+ description: direction to order results by
1127
+ required: false
1128
+ schema:
1129
+ type: string
1130
+ responses:
1131
+ 200:
1132
+ description: OK
1133
+ content:
1134
+ application/json:
1135
+ schema:
1136
+ type: array
1137
+ items:
1138
+ "$ref": "#/components/schemas/VersionWithPackage"
1139
+ "/registries/{registryName}/packages/{packageName}":
1140
+ get:
1141
+ summary: get a package by name
1142
+ operationId: getRegistryPackage
1143
+ tags:
1144
+ - packages
1145
+ parameters:
1146
+ - in: path
1147
+ name: registryName
1148
+ schema:
1149
+ type: string
1150
+ required: true
1151
+ description: name of registry
1152
+ - in: path
1153
+ name: packageName
1154
+ schema:
1155
+ type: string
1156
+ required: true
1157
+ description: name of package
1158
+ responses:
1159
+ 200:
1160
+ description: OK
1161
+ content:
1162
+ application/json:
1163
+ schema:
1164
+ "$ref": "#/components/schemas/Package"
1165
+ "/registries/{registryName}/packages/{packageName}/dependent_packages":
1166
+ get:
1167
+ summary: get a list of packages that depend on a package
1168
+ operationId: getRegistryPackageDependentPackages
1169
+ tags:
1170
+ - packages
1171
+ parameters:
1172
+ - in: path
1173
+ name: registryName
1174
+ schema:
1175
+ type: string
1176
+ required: true
1177
+ description: name of registry
1178
+ - in: path
1179
+ name: packageName
1180
+ schema:
1181
+ type: string
1182
+ required: true
1183
+ description: name of package
1184
+ - name: page
1185
+ in: query
1186
+ description: pagination page number
1187
+ required: false
1188
+ schema:
1189
+ type: integer
1190
+ - name: per_page
1191
+ in: query
1192
+ description: Number of records to return
1193
+ required: false
1194
+ schema:
1195
+ type: integer
1196
+ - name: created_after
1197
+ in: query
1198
+ description: filter by created_at after given time
1199
+ required: false
1200
+ schema:
1201
+ type: string
1202
+ format: date-time
1203
+ - name: updated_after
1204
+ in: query
1205
+ description: filter by updated_at after given time
1206
+ required: false
1207
+ schema:
1208
+ type: string
1209
+ format: date-time
1210
+ - name: sort
1211
+ in: query
1212
+ description: field to order results by
1213
+ required: false
1214
+ schema:
1215
+ type: string
1216
+ enum:
1217
+ - updated_at
1218
+ - created_at
1219
+ - name
1220
+ - downloads
1221
+ - dependent_repos_count
1222
+ - dependent_packages_count
1223
+ - latest_release_published_at
1224
+ - versions_count
1225
+ - maintainers_count
1226
+ - docker_downloads_count
1227
+ - docker_dependents_count
1228
+ - stargazers_count
1229
+ - forks_count
1230
+ - name: order
1231
+ in: query
1232
+ description: direction to order results by
1233
+ required: false
1234
+ schema:
1235
+ type: string
1236
+ - name: latest
1237
+ in: query
1238
+ description: filter by latest version
1239
+ required: false
1240
+ schema:
1241
+ type: boolean
1242
+ - name: kind
1243
+ in: query
1244
+ description: filter by dependency kind
1245
+ required: false
1246
+ schema:
1247
+ type: string
1248
+ responses:
1249
+ 200:
1250
+ description: OK
1251
+ content:
1252
+ application/json:
1253
+ schema:
1254
+ type: array
1255
+ items:
1256
+ "$ref": "#/components/schemas/Package"
1257
+ "/registries/{registryName}/packages/{packageName}/codemeta":
1258
+ get:
1259
+ summary: get CodeMeta metadata for a package
1260
+ operationId: getRegistryPackageCodeMeta
1261
+ tags:
1262
+ - packages
1263
+ parameters:
1264
+ - in: path
1265
+ name: registryName
1266
+ schema:
1267
+ type: string
1268
+ required: true
1269
+ description: name of registry
1270
+ - in: path
1271
+ name: packageName
1272
+ schema:
1273
+ type: string
1274
+ required: true
1275
+ description: name of package
1276
+ responses:
1277
+ 200:
1278
+ description: OK
1279
+ content:
1280
+ application/json:
1281
+ schema:
1282
+ "$ref": "#/components/schemas/CodeMeta"
1283
+ "/registries/{registryName}/packages/{packageName}/dependent_package_kinds":
1284
+ get:
1285
+ summary: get a list of dependency kinds for a package
1286
+ operationId: getRegistryPackageDependentPackageKinds
1287
+ tags:
1288
+ - packages
1289
+ parameters:
1290
+ - in: path
1291
+ name: registryName
1292
+ schema:
1293
+ type: string
1294
+ required: true
1295
+ description: name of registry
1296
+ - in: path
1297
+ name: packageName
1298
+ schema:
1299
+ type: string
1300
+ required: true
1301
+ description: name of package
1302
+ - name: latest
1303
+ in: query
1304
+ description: filter by latest version
1305
+ required: false
1306
+ schema:
1307
+ type: boolean
1308
+ responses:
1309
+ 200:
1310
+ description: OK
1311
+ content:
1312
+ application/json:
1313
+ schema:
1314
+ type: array
1315
+ items:
1316
+ type: string
1317
+ "/registries/{registryName}/packages/{packageName}/related_packages":
1318
+ get:
1319
+ summary: get a list of packages that are related to a package
1320
+ operationId: getRegistryPackageRelatedPackages
1321
+ tags:
1322
+ - packages
1323
+ parameters:
1324
+ - in: path
1325
+ name: registryName
1326
+ schema:
1327
+ type: string
1328
+ required: true
1329
+ description: name of registry
1330
+ - in: path
1331
+ name: packageName
1332
+ schema:
1333
+ type: string
1334
+ required: true
1335
+ description: name of package
1336
+ - name: page
1337
+ in: query
1338
+ description: pagination page number
1339
+ required: false
1340
+ schema:
1341
+ type: integer
1342
+ - name: per_page
1343
+ in: query
1344
+ description: Number of records to return
1345
+ required: false
1346
+ schema:
1347
+ type: integer
1348
+ - name: created_after
1349
+ in: query
1350
+ description: filter by created_at after given time
1351
+ required: false
1352
+ schema:
1353
+ type: string
1354
+ format: date-time
1355
+ - name: updated_after
1356
+ in: query
1357
+ description: filter by updated_at after given time
1358
+ required: false
1359
+ schema:
1360
+ type: string
1361
+ format: date-time
1362
+ - name: sort
1363
+ in: query
1364
+ description: field to order results by
1365
+ required: false
1366
+ schema:
1367
+ type: string
1368
+ enum:
1369
+ - updated_at
1370
+ - created_at
1371
+ - name
1372
+ - downloads
1373
+ - dependent_repos_count
1374
+ - dependent_packages_count
1375
+ - latest_release_published_at
1376
+ - versions_count
1377
+ - maintainers_count
1378
+ - docker_downloads_count
1379
+ - docker_dependents_count
1380
+ - stargazers_count
1381
+ - forks_count
1382
+ - name: order
1383
+ in: query
1384
+ description: direction to order results by
1385
+ required: false
1386
+ schema:
1387
+ type: string
1388
+ responses:
1389
+ 200:
1390
+ description: OK
1391
+ content:
1392
+ application/json:
1393
+ schema:
1394
+ type: array
1395
+ items:
1396
+ "$ref": "#/components/schemas/Package"
1397
+ "/registries/{registryName}/packages/{packageName}/version_numbers":
1398
+ get:
1399
+ summary: get a list of version numbers for a package from a registry
1400
+ operationId: getRegistryPackageVersionNumbers
1401
+ tags:
1402
+ - packages
1403
+ parameters:
1404
+ - in: path
1405
+ name: registryName
1406
+ schema:
1407
+ type: string
1408
+ required: true
1409
+ description: name of registry
1410
+ - in: path
1411
+ name: packageName
1412
+ schema:
1413
+ type: string
1414
+ required: true
1415
+ description: name of package
1416
+ responses:
1417
+ 200:
1418
+ description: OK
1419
+ content:
1420
+ application/json:
1421
+ schema:
1422
+ type: array
1423
+ items:
1424
+ type: string
1425
+ "/registries/{registryName}/packages/{packageName}/versions":
1426
+ get:
1427
+ summary: get a list of versions for a package
1428
+ operationId: getRegistryPackageVersions
1429
+ tags:
1430
+ - packages
1431
+ parameters:
1432
+ - in: path
1433
+ name: registryName
1434
+ schema:
1435
+ type: string
1436
+ required: true
1437
+ description: name of registry
1438
+ - in: path
1439
+ name: packageName
1440
+ schema:
1441
+ type: string
1442
+ required: true
1443
+ description: name of package
1444
+ - name: page
1445
+ in: query
1446
+ description: pagination page number
1447
+ required: false
1448
+ schema:
1449
+ type: integer
1450
+ - name: per_page
1451
+ in: query
1452
+ description: Number of records to return
1453
+ required: false
1454
+ schema:
1455
+ type: integer
1456
+ - name: created_after
1457
+ in: query
1458
+ description: filter by created_at after given time
1459
+ required: false
1460
+ schema:
1461
+ type: string
1462
+ format: date-time
1463
+ - name: updated_after
1464
+ in: query
1465
+ description: filter by updated_at after given time
1466
+ required: false
1467
+ schema:
1468
+ type: string
1469
+ format: date-time
1470
+ - name: published_after
1471
+ in: query
1472
+ description: filter by published_at after given time
1473
+ required: false
1474
+ schema:
1475
+ type: string
1476
+ format: date-time
1477
+ - name: published_before
1478
+ in: query
1479
+ description: filter by published_at before given time
1480
+ required: false
1481
+ schema:
1482
+ type: string
1483
+ format: date-time
1484
+ - name: created_before
1485
+ in: query
1486
+ description: filter by created_at before given time
1487
+ required: false
1488
+ schema:
1489
+ type: string
1490
+ format: date-time
1491
+ - name: updated_before
1492
+ in: query
1493
+ description: filter by updated_at before given time
1494
+ required: false
1495
+ schema:
1496
+ type: string
1497
+ format: date-time
1498
+ - name: sort
1499
+ in: query
1500
+ description: field to order results by
1501
+ required: false
1502
+ schema:
1503
+ type: string
1504
+ enum:
1505
+ - published_at
1506
+ - created_at
1507
+ - updated_at
1508
+ - number
1509
+ - name: order
1510
+ in: query
1511
+ description: direction to order results by
1512
+ required: false
1513
+ schema:
1514
+ type: string
1515
+ responses:
1516
+ 200:
1517
+ description: OK
1518
+ content:
1519
+ application/json:
1520
+ schema:
1521
+ type: array
1522
+ items:
1523
+ "$ref": "#/components/schemas/Version"
1524
+ "/registries/{registryName}/packages/{packageName}/versions/{versionNumber}":
1525
+ get:
1526
+ summary: get a version of a package
1527
+ operationId: getRegistryPackageVersion
1528
+ tags:
1529
+ - packages
1530
+ parameters:
1531
+ - in: path
1532
+ name: registryName
1533
+ schema:
1534
+ type: string
1535
+ required: true
1536
+ description: name of registry
1537
+ - in: path
1538
+ name: packageName
1539
+ schema:
1540
+ type: string
1541
+ required: true
1542
+ description: name of package
1543
+ - in: path
1544
+ name: versionNumber
1545
+ schema:
1546
+ type: string
1547
+ required: true
1548
+ description: number of version
1549
+ responses:
1550
+ 200:
1551
+ description: OK
1552
+ content:
1553
+ application/json:
1554
+ schema:
1555
+ "$ref": "#/components/schemas/VersionWithDependencies"
1556
+ "/registries/{registryName}/packages/{packageName}/versions/{versionNumber}/codemeta":
1557
+ get:
1558
+ summary: get CodeMeta metadata for a version
1559
+ operationId: getRegistryPackageVersionCodeMeta
1560
+ tags:
1561
+ - packages
1562
+ parameters:
1563
+ - in: path
1564
+ name: registryName
1565
+ schema:
1566
+ type: string
1567
+ required: true
1568
+ description: name of registry
1569
+ - in: path
1570
+ name: packageName
1571
+ schema:
1572
+ type: string
1573
+ required: true
1574
+ description: name of package
1575
+ - in: path
1576
+ name: versionNumber
1577
+ schema:
1578
+ type: string
1579
+ required: true
1580
+ description: number of version
1581
+ responses:
1582
+ 200:
1583
+ description: OK
1584
+ content:
1585
+ application/json:
1586
+ schema:
1587
+ "$ref": "#/components/schemas/CodeMeta"
1588
+ "/dependencies":
1589
+ get:
1590
+ summary: list dependencies
1591
+ operationId: getDependencies
1592
+ tags:
1593
+ - dependencies
1594
+ parameters:
1595
+ - name: page
1596
+ in: query
1597
+ description: pagination page number
1598
+ required: false
1599
+ schema:
1600
+ type: integer
1601
+ - name: per_page
1602
+ in: query
1603
+ description: Number of records to return
1604
+ required: false
1605
+ schema:
1606
+ type: integer
1607
+ - name: ecosystem
1608
+ in: query
1609
+ description: ecosystem name
1610
+ required: false
1611
+ schema:
1612
+ type: string
1613
+ - name: package_name
1614
+ in: query
1615
+ description: package name
1616
+ required: false
1617
+ schema:
1618
+ type: string
1619
+ - name: package_id
1620
+ in: query
1621
+ description: package id
1622
+ required: false
1623
+ schema:
1624
+ type: string
1625
+ - name: requirements
1626
+ in: query
1627
+ description: requirements
1628
+ required: false
1629
+ schema:
1630
+ type: string
1631
+ - name: kind
1632
+ in: query
1633
+ description: kind
1634
+ required: false
1635
+ schema:
1636
+ type: string
1637
+ - name: optional
1638
+ in: query
1639
+ description: optional
1640
+ required: false
1641
+ schema:
1642
+ type: boolean
1643
+ - name: after
1644
+ in: query
1645
+ description: filter by id after given id
1646
+ required: false
1647
+ schema:
1648
+ type: string
1649
+ - name: sort
1650
+ in: query
1651
+ description: field to order results by
1652
+ required: false
1653
+ schema:
1654
+ type: string
1655
+ enum:
1656
+ - id
1657
+ - created_at
1658
+ - updated_at
1659
+ - package_name
1660
+ - ecosystem
1661
+ - kind
1662
+ - name: order
1663
+ in: query
1664
+ description: direction to order results by
1665
+ required: false
1666
+ schema:
1667
+ type: string
1668
+ responses:
1669
+ 200:
1670
+ description: OK
1671
+ content:
1672
+ application/json:
1673
+ schema:
1674
+ type: array
1675
+ items:
1676
+ "$ref": "#/components/schemas/Dependency"
1677
+ components:
1678
+ schemas:
1679
+ Registry:
1680
+ required:
1681
+ - name
1682
+ - url
1683
+ - ecosystem
1684
+ - default
1685
+ - packages_count
1686
+ - maintainers_count
1687
+ - namespaces_count
1688
+ - keywords_count
1689
+ - downloads
1690
+ - github
1691
+ - metadata
1692
+ - created_at
1693
+ - updated_at
1694
+ - packages_url
1695
+ - maintainers_url
1696
+ - icon_url
1697
+ - purl_type
1698
+ type: object
1699
+ properties:
1700
+ name:
1701
+ type: string
1702
+ url:
1703
+ type: string
1704
+ ecosystem:
1705
+ type: string
1706
+ default:
1707
+ type: boolean
1708
+ packages_count:
1709
+ type: integer
1710
+ format: int64
1711
+ versions_count:
1712
+ type: integer
1713
+ format: int64
1714
+ maintainers_count:
1715
+ type: integer
1716
+ format: int64
1717
+ namespaces_count:
1718
+ type: integer
1719
+ format: int64
1720
+ keywords_count:
1721
+ type: integer
1722
+ format: int64
1723
+ downloads:
1724
+ type: integer
1725
+ format: int64
1726
+ github:
1727
+ type: string
1728
+ nullable: true
1729
+ metadata:
1730
+ type: object
1731
+ nullable: true
1732
+ created_at:
1733
+ type: string
1734
+ format: date-time
1735
+ updated_at:
1736
+ type: string
1737
+ format: date-time
1738
+ packages_url:
1739
+ type: string
1740
+ maintainers_url:
1741
+ type: string
1742
+ icon_url:
1743
+ type: string
1744
+ purl_type:
1745
+ type: string
1746
+ Package:
1747
+ required:
1748
+ - id
1749
+ - name
1750
+ - ecosystem
1751
+ - description
1752
+ - homepage
1753
+ - licenses
1754
+ - normalized_licenses
1755
+ - repository_url
1756
+ - keywords_array
1757
+ - namespace
1758
+ - versions_count
1759
+ - first_release_published_at
1760
+ - latest_release_published_at
1761
+ - latest_release_number
1762
+ - last_synced_at
1763
+ - created_at
1764
+ - updated_at
1765
+ - registry_url
1766
+ - documentation_url
1767
+ - install_command
1768
+ - metadata
1769
+ - repo_metadata
1770
+ - repo_metadata_updated_at
1771
+ - dependent_packages_count
1772
+ - downloads
1773
+ - downloads_period
1774
+ - dependent_repos_count
1775
+ - rankings
1776
+ - purl
1777
+ - advisories
1778
+ - versions_url
1779
+ - dependent_packages_url
1780
+ - related_packages_url
1781
+ - codemeta_url
1782
+ - docker_usage_url
1783
+ - docker_dependents_count
1784
+ - docker_downloads_count
1785
+ - maintainers
1786
+ - usage_url
1787
+ - dependent_repositories_url
1788
+ - status
1789
+ - funding_links
1790
+ - critical
1791
+ - issue_metadata
1792
+ type: object
1793
+ properties:
1794
+ id:
1795
+ type: integer
1796
+ name:
1797
+ type: string
1798
+ ecosystem:
1799
+ type: string
1800
+ description:
1801
+ type: string
1802
+ nullable: true
1803
+ homepage:
1804
+ type: string
1805
+ nullable: true
1806
+ licenses:
1807
+ type: string
1808
+ nullable: true
1809
+ normalized_licenses:
1810
+ type: array
1811
+ items:
1812
+ type: string
1813
+ repository_url:
1814
+ type: string
1815
+ nullable: true
1816
+ keywords_array:
1817
+ type: array
1818
+ items:
1819
+ type: string
1820
+ namespace:
1821
+ type: string
1822
+ nullable: true
1823
+ versions_count:
1824
+ type: integer
1825
+ first_release_published_at:
1826
+ type: string
1827
+ format: date-time
1828
+ nullable: true
1829
+ latest_release_published_at:
1830
+ type: string
1831
+ format: date-time
1832
+ nullable: true
1833
+ latest_release_number:
1834
+ type: string
1835
+ nullable: true
1836
+ last_synced_at:
1837
+ type: string
1838
+ format: date-time
1839
+ nullable: true
1840
+ created_at:
1841
+ type: string
1842
+ format: date-time
1843
+ updated_at:
1844
+ type: string
1845
+ format: date-time
1846
+ registry_url:
1847
+ type: string
1848
+ nullable: true
1849
+ documentation_url:
1850
+ type: string
1851
+ nullable: true
1852
+ install_command:
1853
+ type: string
1854
+ nullable: true
1855
+ metadata:
1856
+ type: object
1857
+ nullable: true
1858
+ repo_metadata:
1859
+ type: object
1860
+ nullable: true
1861
+ repo_metadata_updated_at:
1862
+ type: string
1863
+ format: date-time
1864
+ nullable: true
1865
+ dependent_packages_count:
1866
+ type: integer
1867
+ downloads:
1868
+ type: integer
1869
+ downloads_period:
1870
+ type: string
1871
+ nullable: true
1872
+ dependent_repos_count:
1873
+ type: integer
1874
+ rankings:
1875
+ type: object
1876
+ purl:
1877
+ type: string
1878
+ advisories:
1879
+ type: array
1880
+ items:
1881
+ "$ref": "#/components/schemas/Advisory"
1882
+ versions_url:
1883
+ type: string
1884
+ version_numbers_url:
1885
+ type: string
1886
+ dependent_packages_url:
1887
+ type: string
1888
+ related_packages_url:
1889
+ type: string
1890
+ codemeta_url:
1891
+ type: string
1892
+ docker_usage_url:
1893
+ type: string
1894
+ docker_dependents_count:
1895
+ type: integer
1896
+ docker_downloads_count:
1897
+ type: integer
1898
+ usage_url:
1899
+ type: string
1900
+ dependent_repositories_url:
1901
+ type: string
1902
+ status:
1903
+ type: string
1904
+ nullable: true
1905
+ funding_links:
1906
+ type: array
1907
+ items:
1908
+ type: string
1909
+ maintainers:
1910
+ type: array
1911
+ items:
1912
+ "$ref": "#/components/schemas/Maintainer"
1913
+ critical:
1914
+ type: boolean
1915
+ issue_metadata:
1916
+ type: object
1917
+ PackageWithRegistry:
1918
+ allOf:
1919
+ - "$ref": "#/components/schemas/Package"
1920
+ - type: object
1921
+ properties:
1922
+ registry:
1923
+ "$ref": "#/components/schemas/Registry"
1924
+ required:
1925
+ - registry
1926
+ Version:
1927
+ required:
1928
+ - id
1929
+ - number
1930
+ - published_at
1931
+ - licenses
1932
+ - integrity
1933
+ - status
1934
+ - download_url
1935
+ - registry_url
1936
+ - documentation_url
1937
+ - install_command
1938
+ - metadata
1939
+ - created_at
1940
+ - updated_at
1941
+ - purl
1942
+ - version_url
1943
+ - codemeta_url
1944
+ - related_tag
1945
+ - latest
1946
+ type: object
1947
+ properties:
1948
+ id:
1949
+ type: integer
1950
+ number:
1951
+ type: string
1952
+ published_at:
1953
+ type: string
1954
+ nullable: true
1955
+ licenses:
1956
+ type: string
1957
+ nullable: true
1958
+ integrity:
1959
+ type: string
1960
+ nullable: true
1961
+ status:
1962
+ type: string
1963
+ nullable: true
1964
+ download_url:
1965
+ type: string
1966
+ nullable: true
1967
+ registry_url:
1968
+ type: string
1969
+ nullable: true
1970
+ documentation_url:
1971
+ type: string
1972
+ nullable: true
1973
+ install_command:
1974
+ type: string
1975
+ nullable: true
1976
+ metadata:
1977
+ type: object
1978
+ nullable: true
1979
+ created_at:
1980
+ type: string
1981
+ format: date-time
1982
+ updated_at:
1983
+ type: string
1984
+ format: date-time
1985
+ purl:
1986
+ type: string
1987
+ version_url:
1988
+ type: string
1989
+ codemeta_url:
1990
+ type: string
1991
+ related_tag:
1992
+ type: object
1993
+ VersionWithDependencies:
1994
+ required:
1995
+ - number
1996
+ - published_at
1997
+ - licenses
1998
+ - integrity
1999
+ - status
2000
+ - download_url
2001
+ - registry_url
2002
+ - documentation_url
2003
+ - install_command
2004
+ - metadata
2005
+ - created_at
2006
+ - updated_at
2007
+ - purl
2008
+ - version_url
2009
+ - codemeta_url
2010
+ - related_tag
2011
+ - latest
2012
+ - dependencies
2013
+ type: object
2014
+ properties:
2015
+ id:
2016
+ type: integer
2017
+ number:
2018
+ type: string
2019
+ published_at:
2020
+ type: string
2021
+ nullable: true
2022
+ licenses:
2023
+ type: string
2024
+ nullable: true
2025
+ integrity:
2026
+ type: string
2027
+ nullable: true
2028
+ status:
2029
+ type: string
2030
+ nullable: true
2031
+ download_url:
2032
+ type: string
2033
+ nullable: true
2034
+ registry_url:
2035
+ type: string
2036
+ nullable: true
2037
+ documentation_url:
2038
+ type: string
2039
+ nullable: true
2040
+ install_command:
2041
+ type: string
2042
+ nullable: true
2043
+ metadata:
2044
+ type: object
2045
+ nullable: true
2046
+ created_at:
2047
+ type: string
2048
+ format: date-time
2049
+ updated_at:
2050
+ type: string
2051
+ format: date-time
2052
+ purl:
2053
+ type: string
2054
+ version_url:
2055
+ type: string
2056
+ codemeta_url:
2057
+ type: string
2058
+ related_tag:
2059
+ type: object
2060
+ latest:
2061
+ type: boolean
2062
+ dependencies:
2063
+ type: array
2064
+ items:
2065
+ "$ref": "#/components/schemas/Dependency"
2066
+ VersionWithPackage:
2067
+ required:
2068
+ - id
2069
+ - number
2070
+ - published_at
2071
+ - licenses
2072
+ - integrity
2073
+ - status
2074
+ - download_url
2075
+ - registry_url
2076
+ - documentation_url
2077
+ - install_command
2078
+ - metadata
2079
+ - created_at
2080
+ - updated_at
2081
+ - purl
2082
+ - version_url
2083
+ - codemeta_url
2084
+ - related_tag
2085
+ - latest
2086
+ - package_url
2087
+ type: object
2088
+ properties:
2089
+ id:
2090
+ type: integer
2091
+ number:
2092
+ type: string
2093
+ published_at:
2094
+ type: string
2095
+ nullable: true
2096
+ licenses:
2097
+ type: string
2098
+ nullable: true
2099
+ integrity:
2100
+ type: string
2101
+ nullable: true
2102
+ status:
2103
+ type: string
2104
+ nullable: true
2105
+ download_url:
2106
+ type: string
2107
+ nullable: true
2108
+ registry_url:
2109
+ type: string
2110
+ nullable: true
2111
+ documentation_url:
2112
+ type: string
2113
+ nullable: true
2114
+ install_command:
2115
+ type: string
2116
+ nullable: true
2117
+ metadata:
2118
+ type: object
2119
+ nullable: true
2120
+ created_at:
2121
+ type: string
2122
+ format: date-time
2123
+ updated_at:
2124
+ type: string
2125
+ format: date-time
2126
+ purl:
2127
+ type: string
2128
+ latest:
2129
+ type: boolean
2130
+ version_url:
2131
+ type: string
2132
+ codemeta_url:
2133
+ type: string
2134
+ package_url:
2135
+ type: string
2136
+ Dependency:
2137
+ required:
2138
+ - id
2139
+ - ecosystem
2140
+ - package_name
2141
+ - requirements
2142
+ - kind
2143
+ - optional
2144
+ type: object
2145
+ properties:
2146
+ id:
2147
+ type: integer
2148
+ ecosystem:
2149
+ type: string
2150
+ package_name:
2151
+ type: string
2152
+ requirements:
2153
+ type: string
2154
+ nullable: true
2155
+ kind:
2156
+ type: string
2157
+ nullable: true
2158
+ optional:
2159
+ type: boolean
2160
+ nullable: true
2161
+ Maintainer:
2162
+ required:
2163
+ - uuid
2164
+ - login
2165
+ - name
2166
+ - email
2167
+ - url
2168
+ - created_at
2169
+ - updated_at
2170
+ - packages_count
2171
+ - packages_url
2172
+ - total_downloads
2173
+ - html_url
2174
+ - role
2175
+ type: object
2176
+ properties:
2177
+ uuid:
2178
+ type: string
2179
+ login:
2180
+ type: string
2181
+ nullable: true
2182
+ name:
2183
+ type: string
2184
+ nullable: true
2185
+ email:
2186
+ type: string
2187
+ nullable: true
2188
+ url:
2189
+ type: string
2190
+ nullable: true
2191
+ created_at:
2192
+ type: string
2193
+ format: date-time
2194
+ updated_at:
2195
+ type: string
2196
+ format: date-time
2197
+ packages_count:
2198
+ type: integer
2199
+ packages_url:
2200
+ type: string
2201
+ total_downloads:
2202
+ type: integer
2203
+ html_url:
2204
+ type: string
2205
+ nullable: true
2206
+ role:
2207
+ type: string
2208
+ nullable: true
2209
+ Namespace:
2210
+ required:
2211
+ - uuid
2212
+ - name
2213
+ - packages_count
2214
+ - packages_url
2215
+ type: object
2216
+ properties:
2217
+ name:
2218
+ type: string
2219
+ packages_count:
2220
+ type: integer
2221
+ packages_url:
2222
+ type: string
2223
+ Advisory:
2224
+ required:
2225
+ - uuid
2226
+ - url
2227
+ - title
2228
+ - description
2229
+ - origin
2230
+ - severity
2231
+ - published_at
2232
+ - withdrawn_at
2233
+ - classification
2234
+ - cvss_score
2235
+ - cvss_vector
2236
+ - references
2237
+ - source_kind
2238
+ - identifiers
2239
+ - packages
2240
+ - created_at
2241
+ - updated_at
2242
+ type: object
2243
+ properties:
2244
+ uuid:
2245
+ type: string
2246
+ url:
2247
+ type: string
2248
+ nullable: true
2249
+ title:
2250
+ type: string
2251
+ nullable: true
2252
+ description:
2253
+ type: string
2254
+ nullable: true
2255
+ origin:
2256
+ type: string
2257
+ nullable: true
2258
+ severity:
2259
+ type: string
2260
+ nullable: true
2261
+ published_at:
2262
+ type: string
2263
+ nullable: true
2264
+ withdrawn_at:
2265
+ type: string
2266
+ nullable: true
2267
+ classification:
2268
+ type: string
2269
+ nullable: true
2270
+ cvss_score:
2271
+ type: number
2272
+ nullable: true
2273
+ cvss_vector:
2274
+ type: string
2275
+ nullable: true
2276
+ references:
2277
+ type: array
2278
+ items:
2279
+ type: string
2280
+ nullable: true
2281
+ source_kind:
2282
+ type: string
2283
+ nullable: true
2284
+ identifiers:
2285
+ type: array
2286
+ items:
2287
+ type: string
2288
+ nullable: true
2289
+ packages:
2290
+ type: array
2291
+ items:
2292
+ type: object
2293
+ created_at:
2294
+ type: string
2295
+ updated_at:
2296
+ type: string
2297
+ Keyword:
2298
+ required:
2299
+ - name
2300
+ - packages_count
2301
+ - packages_url
2302
+ type: object
2303
+ properties:
2304
+ name:
2305
+ type: string
2306
+ packages_count:
2307
+ type: integer
2308
+ packages_url:
2309
+ type: string
2310
+ KeywordWithPackages:
2311
+ required:
2312
+ - name
2313
+ - packages_count
2314
+ - packages_url
2315
+ - related_keywords
2316
+ - packages
2317
+ type: object
2318
+ properties:
2319
+ name:
2320
+ type: string
2321
+ packages_count:
2322
+ type: integer
2323
+ packages_url:
2324
+ type: string
2325
+ related_keywords:
2326
+ type: array
2327
+ items:
2328
+ "$ref": "#/components/schemas/Keyword"
2329
+ packages:
2330
+ type: array
2331
+ items:
2332
+ "$ref": "#/components/schemas/Package"
2333
+ CodeMeta:
2334
+ required:
2335
+ - "@context"
2336
+ - "@type"
2337
+ - identifier
2338
+ - name
2339
+ type: object
2340
+ description: CodeMeta JSON-LD metadata format for software packages, compatible
2341
+ with Software Heritage
2342
+ properties:
2343
+ "@context":
2344
+ type: string
2345
+ description: JSON-LD context URL
2346
+ example: https://w3id.org/codemeta/3.0
2347
+ "@type":
2348
+ type: string
2349
+ description: Type of software artifact
2350
+ example: SoftwareSourceCode
2351
+ identifier:
2352
+ type: string
2353
+ description: Package URL (purl) identifier
2354
+ example: pkg:cargo/rand@0.8.5
2355
+ name:
2356
+ type: string
2357
+ description: Package name
2358
+ description:
2359
+ type: string
2360
+ description: Package description
2361
+ nullable: true
2362
+ version:
2363
+ type: string
2364
+ description: Version number
2365
+ nullable: true
2366
+ softwareVersion:
2367
+ type: string
2368
+ description: Software version
2369
+ nullable: true
2370
+ license:
2371
+ oneOf:
2372
+ - type: string
2373
+ - type: array
2374
+ items:
2375
+ type: string
2376
+ description: SPDX license URL(s)
2377
+ nullable: true
2378
+ codeRepository:
2379
+ type: string
2380
+ description: Source code repository URL
2381
+ nullable: true
2382
+ issueTracker:
2383
+ type: string
2384
+ description: Issue tracker URL
2385
+ nullable: true
2386
+ url:
2387
+ type: string
2388
+ description: Homepage URL
2389
+ nullable: true
2390
+ keywords:
2391
+ type: array
2392
+ items:
2393
+ type: string
2394
+ description: Keywords and tags
2395
+ nullable: true
2396
+ programmingLanguage:
2397
+ type: object
2398
+ description: Programming language information
2399
+ nullable: true
2400
+ properties:
2401
+ "@type":
2402
+ type: string
2403
+ example: ComputerLanguage
2404
+ name:
2405
+ type: string
2406
+ example: Rust
2407
+ maintainer:
2408
+ type: array
2409
+ description: Package maintainers
2410
+ nullable: true
2411
+ items:
2412
+ type: object
2413
+ properties:
2414
+ "@type":
2415
+ type: string
2416
+ example: Person
2417
+ name:
2418
+ type: string
2419
+ url:
2420
+ type: string
2421
+ nullable: true
2422
+ author:
2423
+ type: array
2424
+ description: Package authors
2425
+ nullable: true
2426
+ items:
2427
+ type: object
2428
+ properties:
2429
+ "@type":
2430
+ type: string
2431
+ example: Person
2432
+ name:
2433
+ type: string
2434
+ url:
2435
+ type: string
2436
+ nullable: true
2437
+ copyrightHolder:
2438
+ type: array
2439
+ description: Copyright holders
2440
+ nullable: true
2441
+ items:
2442
+ type: object
2443
+ properties:
2444
+ "@type":
2445
+ type: string
2446
+ example: Person
2447
+ name:
2448
+ type: string
2449
+ url:
2450
+ type: string
2451
+ nullable: true
2452
+ dateCreated:
2453
+ type: string
2454
+ format: date-time
2455
+ description: Creation date (ISO 8601)
2456
+ nullable: true
2457
+ dateModified:
2458
+ type: string
2459
+ format: date-time
2460
+ description: Last modification date (ISO 8601)
2461
+ nullable: true
2462
+ datePublished:
2463
+ type: string
2464
+ format: date-time
2465
+ description: Publication date (ISO 8601)
2466
+ nullable: true
2467
+ copyrightYear:
2468
+ type: integer
2469
+ description: Copyright year
2470
+ nullable: true
2471
+ downloadUrl:
2472
+ type: string
2473
+ description: Package download URL
2474
+ nullable: true
2475
+ softwareHelp:
2476
+ type: object
2477
+ description: Documentation/help resources
2478
+ nullable: true
2479
+ properties:
2480
+ "@type":
2481
+ type: string
2482
+ example: WebSite
2483
+ url:
2484
+ type: string
2485
+ applicationCategory:
2486
+ type: string
2487
+ description: Package ecosystem/category
2488
+ nullable: true
2489
+ runtimePlatform:
2490
+ type: string
2491
+ description: Runtime platform/ecosystem
2492
+ nullable: true
2493
+ developmentStatus:
2494
+ type: string
2495
+ description: Development status
2496
+ nullable: true
2497
+ sameAs:
2498
+ type: array
2499
+ items:
2500
+ type: string
2501
+ description: Alternative identifiers/URLs
2502
+ nullable: true
2503
+ funder:
2504
+ type: array
2505
+ description: Funding sources
2506
+ nullable: true
2507
+ items:
2508
+ type: object
2509
+ properties:
2510
+ "@type":
2511
+ type: string
2512
+ example: Organization
2513
+ url:
2514
+ type: string
2515
+ https://www.w3.org/ns/activitystreams#likes:
2516
+ type: integer
2517
+ description: Star/like count (ActivityStreams)
2518
+ nullable: true
2519
+ https://forgefed.org/ns#forks:
2520
+ type: integer
2521
+ description: Fork count (ForgeFed)
2522
+ nullable: true