sonatype-guide-api-client 0.0.2__tar.gz

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 (142) hide show
  1. sonatype_guide_api_client-0.0.2/LICENSE +201 -0
  2. sonatype_guide_api_client-0.0.2/PKG-INFO +227 -0
  3. sonatype_guide_api_client-0.0.2/README.md +207 -0
  4. sonatype_guide_api_client-0.0.2/pyproject.toml +95 -0
  5. sonatype_guide_api_client-0.0.2/setup.cfg +7 -0
  6. sonatype_guide_api_client-0.0.2/setup.py +51 -0
  7. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/__init__.py +169 -0
  8. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/__init__.py +13 -0
  9. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/billing_api.py +1543 -0
  10. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/components_api.py +2125 -0
  11. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/credits_api.py +529 -0
  12. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/current_user_organization_api.py +2156 -0
  13. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/current_user_tokens_api.py +1097 -0
  14. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/ossi_controller_api.py +1381 -0
  15. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/recommendations_api.py +318 -0
  16. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/usage_api.py +1346 -0
  17. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api/vulnerabilities_api.py +654 -0
  18. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api_client.py +805 -0
  19. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/api_response.py +21 -0
  20. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/configuration.py +583 -0
  21. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/exceptions.py +217 -0
  22. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/__init__.py +69 -0
  23. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/affected_component_version.py +96 -0
  24. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/api_search_response.py +96 -0
  25. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/api_search_response_affected_component_version.py +104 -0
  26. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/api_search_response_component_detail_document.py +104 -0
  27. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/api_search_response_component_document.py +104 -0
  28. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/api_search_response_vulnerability_document.py +104 -0
  29. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/billing_dto.py +107 -0
  30. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/billing_period.py +91 -0
  31. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/billing_periods_response.py +101 -0
  32. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/bulk_remove_members_request.py +89 -0
  33. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/component_artifact.py +105 -0
  34. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/component_detail_document.py +133 -0
  35. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/component_document.py +121 -0
  36. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/component_license.py +92 -0
  37. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/component_report_get.py +104 -0
  38. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/component_report_post.py +102 -0
  39. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/create_token_request.py +91 -0
  40. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/credit_balance.py +125 -0
  41. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/credit_usage.py +97 -0
  42. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/cumulative_credit_usage.py +104 -0
  43. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/current_user_organization_response.py +112 -0
  44. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/customer_info.py +90 -0
  45. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/daily_credit_usage.py +93 -0
  46. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/from_version.py +110 -0
  47. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/invite_users_request.py +89 -0
  48. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/invoice.py +103 -0
  49. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/organization_billing_dto.py +92 -0
  50. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/organization_dtov2.py +98 -0
  51. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/organization_members_response.py +113 -0
  52. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/organization_plan_dto.py +100 -0
  53. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/organization_response.py +99 -0
  54. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/organization_usage_dto.py +92 -0
  55. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/ossi_vulnerability_post.py +106 -0
  56. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/period_dto.py +91 -0
  57. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/plan.py +101 -0
  58. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/plan_dtov2.py +120 -0
  59. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/plan_info.py +96 -0
  60. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/plans_response.py +96 -0
  61. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/purl_request_post.py +88 -0
  62. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/recommendation_request.py +89 -0
  63. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/recommendation_response.py +102 -0
  64. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/recommended_version.py +108 -0
  65. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/reference.py +90 -0
  66. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/refid.py +92 -0
  67. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/subscription_details_response.py +98 -0
  68. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/update_organization_request.py +92 -0
  69. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/usage_dto.py +96 -0
  70. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/user_token_dto.py +99 -0
  71. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/user_token_with_plaintext_dto.py +94 -0
  72. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/vulnerability_detail_document.py +145 -0
  73. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/vulnerability_document.py +115 -0
  74. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/models/vulnerable_method.py +92 -0
  75. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/py.typed +0 -0
  76. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client/rest.py +259 -0
  77. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client.egg-info/PKG-INFO +227 -0
  78. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client.egg-info/SOURCES.txt +141 -0
  79. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client.egg-info/dependency_links.txt +1 -0
  80. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client.egg-info/requires.txt +4 -0
  81. sonatype_guide_api_client-0.0.2/sonatype_guide_api_client.egg-info/top_level.txt +1 -0
  82. sonatype_guide_api_client-0.0.2/test/test_affected_component_version.py +56 -0
  83. sonatype_guide_api_client-0.0.2/test/test_api_search_response.py +62 -0
  84. sonatype_guide_api_client-0.0.2/test/test_api_search_response_affected_component_version.py +67 -0
  85. sonatype_guide_api_client-0.0.2/test/test_api_search_response_component_detail_document.py +98 -0
  86. sonatype_guide_api_client-0.0.2/test/test_api_search_response_component_document.py +82 -0
  87. sonatype_guide_api_client-0.0.2/test/test_api_search_response_vulnerability_document.py +84 -0
  88. sonatype_guide_api_client-0.0.2/test/test_billing_api.py +74 -0
  89. sonatype_guide_api_client-0.0.2/test/test_billing_dto.py +56 -0
  90. sonatype_guide_api_client-0.0.2/test/test_billing_period.py +53 -0
  91. sonatype_guide_api_client-0.0.2/test/test_billing_periods_response.py +59 -0
  92. sonatype_guide_api_client-0.0.2/test/test_bulk_remove_members_request.py +57 -0
  93. sonatype_guide_api_client-0.0.2/test/test_component_artifact.py +61 -0
  94. sonatype_guide_api_client-0.0.2/test/test_component_detail_document.py +87 -0
  95. sonatype_guide_api_client-0.0.2/test/test_component_document.py +71 -0
  96. sonatype_guide_api_client-0.0.2/test/test_component_license.py +54 -0
  97. sonatype_guide_api_client-0.0.2/test/test_component_report_get.py +70 -0
  98. sonatype_guide_api_client-0.0.2/test/test_component_report_post.py +69 -0
  99. sonatype_guide_api_client-0.0.2/test/test_components_api.py +60 -0
  100. sonatype_guide_api_client-0.0.2/test/test_create_token_request.py +55 -0
  101. sonatype_guide_api_client-0.0.2/test/test_credit_balance.py +60 -0
  102. sonatype_guide_api_client-0.0.2/test/test_credit_usage.py +56 -0
  103. sonatype_guide_api_client-0.0.2/test/test_credits_api.py +46 -0
  104. sonatype_guide_api_client-0.0.2/test/test_cumulative_credit_usage.py +61 -0
  105. sonatype_guide_api_client-0.0.2/test/test_current_user_organization_api.py +88 -0
  106. sonatype_guide_api_client-0.0.2/test/test_current_user_organization_response.py +71 -0
  107. sonatype_guide_api_client-0.0.2/test/test_current_user_tokens_api.py +60 -0
  108. sonatype_guide_api_client-0.0.2/test/test_customer_info.py +53 -0
  109. sonatype_guide_api_client-0.0.2/test/test_daily_credit_usage.py +54 -0
  110. sonatype_guide_api_client-0.0.2/test/test_from_version.py +72 -0
  111. sonatype_guide_api_client-0.0.2/test/test_invite_users_request.py +57 -0
  112. sonatype_guide_api_client-0.0.2/test/test_invoice.py +59 -0
  113. sonatype_guide_api_client-0.0.2/test/test_organization_billing_dto.py +54 -0
  114. sonatype_guide_api_client-0.0.2/test/test_organization_dtov2.py +57 -0
  115. sonatype_guide_api_client-0.0.2/test/test_organization_members_response.py +61 -0
  116. sonatype_guide_api_client-0.0.2/test/test_organization_plan_dto.py +59 -0
  117. sonatype_guide_api_client-0.0.2/test/test_organization_response.py +57 -0
  118. sonatype_guide_api_client-0.0.2/test/test_organization_usage_dto.py +54 -0
  119. sonatype_guide_api_client-0.0.2/test/test_ossi_controller_api.py +62 -0
  120. sonatype_guide_api_client-0.0.2/test/test_ossi_vulnerability_post.py +63 -0
  121. sonatype_guide_api_client-0.0.2/test/test_period_dto.py +53 -0
  122. sonatype_guide_api_client-0.0.2/test/test_plan.py +58 -0
  123. sonatype_guide_api_client-0.0.2/test/test_plan_dtov2.py +58 -0
  124. sonatype_guide_api_client-0.0.2/test/test_plan_info.py +56 -0
  125. sonatype_guide_api_client-0.0.2/test/test_plans_response.py +59 -0
  126. sonatype_guide_api_client-0.0.2/test/test_purl_request_post.py +57 -0
  127. sonatype_guide_api_client-0.0.2/test/test_recommendation_request.py +53 -0
  128. sonatype_guide_api_client-0.0.2/test/test_recommendation_response.py +96 -0
  129. sonatype_guide_api_client-0.0.2/test/test_recommendations_api.py +39 -0
  130. sonatype_guide_api_client-0.0.2/test/test_recommended_version.py +71 -0
  131. sonatype_guide_api_client-0.0.2/test/test_reference.py +53 -0
  132. sonatype_guide_api_client-0.0.2/test/test_refid.py +54 -0
  133. sonatype_guide_api_client-0.0.2/test/test_subscription_details_response.py +65 -0
  134. sonatype_guide_api_client-0.0.2/test/test_update_organization_request.py +54 -0
  135. sonatype_guide_api_client-0.0.2/test/test_usage_api.py +67 -0
  136. sonatype_guide_api_client-0.0.2/test/test_usage_dto.py +56 -0
  137. sonatype_guide_api_client-0.0.2/test/test_user_token_dto.py +57 -0
  138. sonatype_guide_api_client-0.0.2/test/test_user_token_with_plaintext_dto.py +59 -0
  139. sonatype_guide_api_client-0.0.2/test/test_vulnerabilities_api.py +46 -0
  140. sonatype_guide_api_client-0.0.2/test/test_vulnerability_detail_document.py +91 -0
  141. sonatype_guide_api_client-0.0.2/test/test_vulnerability_document.py +73 -0
  142. sonatype_guide_api_client-0.0.2/test/test_vulnerable_method.py +56 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,227 @@
1
+ Metadata-Version: 2.4
2
+ Name: sonatype_guide_api_client
3
+ Version: 0.0.2
4
+ Summary: Sonatype Guide API
5
+ Home-page:
6
+ Author: Sonatype Community Maintainers
7
+ Author-email: Sonatype Community Maintainers <community@sonatype.com>
8
+ License: Apache 2.0
9
+ Project-URL: Repository, https://github.com/sonatype-nexus-community/sonatype-guide-api-client
10
+ Keywords: OpenAPI,OpenAPI-Generator,Sonatype Guide API
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: urllib3<3.0.0,>=2.1.0
15
+ Requires-Dist: python-dateutil>=2.8.2
16
+ Requires-Dist: pydantic>=2
17
+ Requires-Dist: typing-extensions>=4.7.1
18
+ Dynamic: author
19
+ Dynamic: license-file
20
+
21
+ # sonatype-guide-api-client
22
+ REST API into [Sonatype Guide](https://guide.sonatype.com).
23
+
24
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
25
+
26
+ - API version: 202601
27
+ - Package version: 1.0.0
28
+ - Generator version: 7.16.0
29
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
30
+ For more information, please visit [https://github.com/sonatype-nexus-community](https://github.com/sonatype-nexus-community)
31
+
32
+ ## Requirements.
33
+
34
+ Python 3.9+
35
+
36
+ ## Installation & Usage
37
+ ### pip install
38
+
39
+ If the python package is hosted on a repository, you can install directly using:
40
+
41
+ ```sh
42
+ pip install git+https://github.com/sonatype-nexus-community/sonatype-guide-api-client.git
43
+ ```
44
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/sonatype-nexus-community/sonatype-guide-api-client.git`)
45
+
46
+ Then import the package:
47
+ ```python
48
+ import sonatype_guide_api_client
49
+ ```
50
+
51
+ ### Setuptools
52
+
53
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
54
+
55
+ ```sh
56
+ python setup.py install --user
57
+ ```
58
+ (or `sudo python setup.py install` to install the package for all users)
59
+
60
+ Then import the package:
61
+ ```python
62
+ import sonatype_guide_api_client
63
+ ```
64
+
65
+ ### Tests
66
+
67
+ Execute `pytest` to run the tests.
68
+
69
+ ## Getting Started
70
+
71
+ Please follow the [installation procedure](#installation--usage) and then run the following:
72
+
73
+ ```python
74
+
75
+ import sonatype_guide_api_client
76
+ from sonatype_guide_api_client.rest import ApiException
77
+ from pprint import pprint
78
+
79
+ # Defining the host is optional and defaults to http://api.guide.sonatype.com
80
+ # See configuration.py for a list of all supported configuration parameters.
81
+ configuration = sonatype_guide_api_client.Configuration(
82
+ host = "http://api.guide.sonatype.com"
83
+ )
84
+
85
+ # The client must configure the authentication and authorization parameters
86
+ # in accordance with the API server security policy.
87
+ # Examples for each auth method are provided below, use the example that
88
+ # satisfies your auth use case.
89
+
90
+ # Configure Bearer authorization (JWT): bearer-jwt
91
+ configuration = sonatype_guide_api_client.Configuration(
92
+ access_token = os.environ["BEARER_TOKEN"]
93
+ )
94
+
95
+
96
+ # Enter a context with an instance of the API client
97
+ with sonatype_guide_api_client.ApiClient(configuration) as api_client:
98
+ # Create an instance of the API class
99
+ api_instance = sonatype_guide_api_client.BillingApi(api_client)
100
+
101
+ try:
102
+ # Get billing information (v2)
103
+ api_response = api_instance.get_billing_v2()
104
+ print("The response of BillingApi->get_billing_v2:\n")
105
+ pprint(api_response)
106
+ except ApiException as e:
107
+ print("Exception when calling BillingApi->get_billing_v2: %s\n" % e)
108
+
109
+ ```
110
+
111
+ ## Documentation for API Endpoints
112
+
113
+ All URIs are relative to *http://api.guide.sonatype.com*
114
+
115
+ Class | Method | HTTP request | Description
116
+ ------------ | ------------- | ------------- | -------------
117
+ *BillingApi* | [**get_billing_v2**](docs/BillingApi.md#get_billing_v2) | **GET** /billing/v2 | Get billing information (v2)
118
+ *BillingApi* | [**get_customer_info**](docs/BillingApi.md#get_customer_info) | **GET** /billing/customer | Get customer information
119
+ *BillingApi* | [**get_plans**](docs/BillingApi.md#get_plans) | **GET** /billing/plans | Get all available plans with current plan marked
120
+ *BillingApi* | [**get_plans_v2**](docs/BillingApi.md#get_plans_v2) | **GET** /billing/v2/plans | Get all available plans (v2)
121
+ *BillingApi* | [**get_user_invoice_history**](docs/BillingApi.md#get_user_invoice_history) | **GET** /billing/invoices | Get user invoice history
122
+ *BillingApi* | [**get_user_subscription**](docs/BillingApi.md#get_user_subscription) | **GET** /billing/subscription | Get user subscription details
123
+ *ComponentsApi* | [**get_component_dependencies_by_purl_query_param**](docs/ComponentsApi.md#get_component_dependencies_by_purl_query_param) | **GET** /components/dependencies | Get dependencies for a component by coordinates (query parameters)
124
+ *ComponentsApi* | [**get_component_detail_by_purl_query_param**](docs/ComponentsApi.md#get_component_detail_by_purl_query_param) | **GET** /components/detail | Get component detail by coordinates (query parameters)
125
+ *ComponentsApi* | [**get_component_versions_by_purl_query_param**](docs/ComponentsApi.md#get_component_versions_by_purl_query_param) | **GET** /components/versions | Get all component versions by coordinates (query parameters)
126
+ *ComponentsApi* | [**get_component_vulnerabilities_by_purl_query_param**](docs/ComponentsApi.md#get_component_vulnerabilities_by_purl_query_param) | **GET** /components/vulnerabilities | Get vulnerabilities for a component by coordinates (query parameters)
127
+ *CreditsApi* | [**get_credit_usage_breakdown**](docs/CreditsApi.md#get_credit_usage_breakdown) | **GET** /credits/usage/breakdown | Get credit usage breakdown
128
+ *CreditsApi* | [**get_credit_usage_history**](docs/CreditsApi.md#get_credit_usage_history) | **GET** /credits/usage/history | Get credit usage history
129
+ *CurrentUserOrganizationApi* | [**accept_invitation**](docs/CurrentUserOrganizationApi.md#accept_invitation) | **POST** /users/me/organization/invitations/{invitationToken}/accept | Accept organization invitation
130
+ *CurrentUserOrganizationApi* | [**bulk_remove_members_or_invitations**](docs/CurrentUserOrganizationApi.md#bulk_remove_members_or_invitations) | **DELETE** /users/me/organization/members | Bulk remove members or invitations from organization
131
+ *CurrentUserOrganizationApi* | [**get_current_user_organization**](docs/CurrentUserOrganizationApi.md#get_current_user_organization) | **GET** /users/me/organization | Get current user&#39;s organization
132
+ *CurrentUserOrganizationApi* | [**get_current_user_organization_v2**](docs/CurrentUserOrganizationApi.md#get_current_user_organization_v2) | **GET** /users/me/organization/v2 | Get current user&#39;s organization (v2)
133
+ *CurrentUserOrganizationApi* | [**invite_users**](docs/CurrentUserOrganizationApi.md#invite_users) | **POST** /users/me/organization/members/invite | Invite users to current user&#39;s an organization
134
+ *CurrentUserOrganizationApi* | [**remove_member_or_invitation**](docs/CurrentUserOrganizationApi.md#remove_member_or_invitation) | **DELETE** /users/me/organization/members/{email} | Remove member or invitation from organization
135
+ *CurrentUserOrganizationApi* | [**retrieve_organization_members_as_csv**](docs/CurrentUserOrganizationApi.md#retrieve_organization_members_as_csv) | **GET** /users/me/organization/members | Retrieve current user&#39;s organization members and invitees
136
+ *CurrentUserOrganizationApi* | [**update_organization**](docs/CurrentUserOrganizationApi.md#update_organization) | **PUT** /users/me/organization | Update current user&#39;s organization
137
+ *CurrentUserTokensApi* | [**create_token**](docs/CurrentUserTokensApi.md#create_token) | **POST** /users/me/tokens | Create a new Personal Access Token
138
+ *CurrentUserTokensApi* | [**get_token_by_id**](docs/CurrentUserTokensApi.md#get_token_by_id) | **GET** /users/me/tokens/{tokenId} | Get a Personal Access Token by ID
139
+ *CurrentUserTokensApi* | [**list_tokens**](docs/CurrentUserTokensApi.md#list_tokens) | **GET** /users/me/tokens | List all Personal Access Tokens
140
+ *CurrentUserTokensApi* | [**revoke_token**](docs/CurrentUserTokensApi.md#revoke_token) | **DELETE** /users/me/tokens/{tokenId} | Revoke a Personal Access Token
141
+ *RecommendationsApi* | [**get_recommendations**](docs/RecommendationsApi.md#get_recommendations) | **POST** /recommendations | Get version upgrade recommendations
142
+ *UsageApi* | [**get_billing_periods**](docs/UsageApi.md#get_billing_periods) | **GET** /usage/billing-periods | Get billing periods for user
143
+ *UsageApi* | [**get_credit_balance**](docs/UsageApi.md#get_credit_balance) | **GET** /usage | Get credit balance
144
+ *UsageApi* | [**get_credit_periods_v2**](docs/UsageApi.md#get_credit_periods_v2) | **GET** /usage/v2/credit-periods | Get credit periods (v2)
145
+ *UsageApi* | [**get_cumulative_usage**](docs/UsageApi.md#get_cumulative_usage) | **GET** /usage/cumulative | Get cumulative credit usage for a billing period
146
+ *UsageApi* | [**get_usage_v2**](docs/UsageApi.md#get_usage_v2) | **GET** /usage/v2 | Get usage information (v2)
147
+ *VulnerabilitiesApi* | [**get_vulnerability_affected_components**](docs/VulnerabilitiesApi.md#get_vulnerability_affected_components) | **GET** /vulnerabilities/{id}/components | Get affected components for a vulnerability
148
+ *VulnerabilitiesApi* | [**get_vulnerability_by_ref_id**](docs/VulnerabilitiesApi.md#get_vulnerability_by_ref_id) | **GET** /vulnerabilities/{id} | Get vulnerability by ID
149
+ *OssiControllerApi* | [**get_component_report**](docs/OssiControllerApi.md#get_component_report) | **GET** /api/v3/authorized/component-report/** |
150
+ *OssiControllerApi* | [**get_component_report1**](docs/OssiControllerApi.md#get_component_report1) | **GET** /api/v3/component-report/** |
151
+ *OssiControllerApi* | [**get_component_reports**](docs/OssiControllerApi.md#get_component_reports) | **POST** /api/v3/component-report |
152
+ *OssiControllerApi* | [**get_component_reports1**](docs/OssiControllerApi.md#get_component_reports1) | **POST** /api/v3/authorized/component-report |
153
+ *OssiControllerApi* | [**get_version**](docs/OssiControllerApi.md#get_version) | **GET** /api/v3/version |
154
+
155
+
156
+ ## Documentation For Models
157
+
158
+ - [AffectedComponentVersion](docs/AffectedComponentVersion.md)
159
+ - [ApiSearchResponse](docs/ApiSearchResponse.md)
160
+ - [ApiSearchResponseAffectedComponentVersion](docs/ApiSearchResponseAffectedComponentVersion.md)
161
+ - [ApiSearchResponseComponentDetailDocument](docs/ApiSearchResponseComponentDetailDocument.md)
162
+ - [ApiSearchResponseComponentDocument](docs/ApiSearchResponseComponentDocument.md)
163
+ - [ApiSearchResponseVulnerabilityDocument](docs/ApiSearchResponseVulnerabilityDocument.md)
164
+ - [BillingDTO](docs/BillingDTO.md)
165
+ - [BillingPeriod](docs/BillingPeriod.md)
166
+ - [BillingPeriodsResponse](docs/BillingPeriodsResponse.md)
167
+ - [BulkRemoveMembersRequest](docs/BulkRemoveMembersRequest.md)
168
+ - [ComponentArtifact](docs/ComponentArtifact.md)
169
+ - [ComponentDetailDocument](docs/ComponentDetailDocument.md)
170
+ - [ComponentDocument](docs/ComponentDocument.md)
171
+ - [ComponentLicense](docs/ComponentLicense.md)
172
+ - [ComponentReportGet](docs/ComponentReportGet.md)
173
+ - [ComponentReportPost](docs/ComponentReportPost.md)
174
+ - [CreateTokenRequest](docs/CreateTokenRequest.md)
175
+ - [CreditBalance](docs/CreditBalance.md)
176
+ - [CreditUsage](docs/CreditUsage.md)
177
+ - [CumulativeCreditUsage](docs/CumulativeCreditUsage.md)
178
+ - [CurrentUserOrganizationResponse](docs/CurrentUserOrganizationResponse.md)
179
+ - [CustomerInfo](docs/CustomerInfo.md)
180
+ - [DailyCreditUsage](docs/DailyCreditUsage.md)
181
+ - [FromVersion](docs/FromVersion.md)
182
+ - [InviteUsersRequest](docs/InviteUsersRequest.md)
183
+ - [Invoice](docs/Invoice.md)
184
+ - [OrganizationBillingDTO](docs/OrganizationBillingDTO.md)
185
+ - [OrganizationDTOv2](docs/OrganizationDTOv2.md)
186
+ - [OrganizationMembersResponse](docs/OrganizationMembersResponse.md)
187
+ - [OrganizationPlanDTO](docs/OrganizationPlanDTO.md)
188
+ - [OrganizationResponse](docs/OrganizationResponse.md)
189
+ - [OrganizationUsageDTO](docs/OrganizationUsageDTO.md)
190
+ - [OssiVulnerabilityPost](docs/OssiVulnerabilityPost.md)
191
+ - [PeriodDTO](docs/PeriodDTO.md)
192
+ - [Plan](docs/Plan.md)
193
+ - [PlanDTOv2](docs/PlanDTOv2.md)
194
+ - [PlanInfo](docs/PlanInfo.md)
195
+ - [PlansResponse](docs/PlansResponse.md)
196
+ - [PurlRequestPost](docs/PurlRequestPost.md)
197
+ - [RecommendationRequest](docs/RecommendationRequest.md)
198
+ - [RecommendationResponse](docs/RecommendationResponse.md)
199
+ - [RecommendedVersion](docs/RecommendedVersion.md)
200
+ - [Reference](docs/Reference.md)
201
+ - [Refid](docs/Refid.md)
202
+ - [SubscriptionDetailsResponse](docs/SubscriptionDetailsResponse.md)
203
+ - [UpdateOrganizationRequest](docs/UpdateOrganizationRequest.md)
204
+ - [UsageDTO](docs/UsageDTO.md)
205
+ - [UserTokenDTO](docs/UserTokenDTO.md)
206
+ - [UserTokenWithPlaintextDTO](docs/UserTokenWithPlaintextDTO.md)
207
+ - [VulnerabilityDetailDocument](docs/VulnerabilityDetailDocument.md)
208
+ - [VulnerabilityDocument](docs/VulnerabilityDocument.md)
209
+ - [VulnerableMethod](docs/VulnerableMethod.md)
210
+
211
+
212
+ <a id="documentation-for-authorization"></a>
213
+ ## Documentation For Authorization
214
+
215
+
216
+ Authentication schemes defined for the API:
217
+ <a id="bearer-jwt"></a>
218
+ ### bearer-jwt
219
+
220
+ - **Type**: Bearer authentication (JWT)
221
+
222
+
223
+ ## Author
224
+
225
+ community@sonatype.com
226
+
227
+
@@ -0,0 +1,207 @@
1
+ # sonatype-guide-api-client
2
+ REST API into [Sonatype Guide](https://guide.sonatype.com).
3
+
4
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
+
6
+ - API version: 202601
7
+ - Package version: 1.0.0
8
+ - Generator version: 7.16.0
9
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
+ For more information, please visit [https://github.com/sonatype-nexus-community](https://github.com/sonatype-nexus-community)
11
+
12
+ ## Requirements.
13
+
14
+ Python 3.9+
15
+
16
+ ## Installation & Usage
17
+ ### pip install
18
+
19
+ If the python package is hosted on a repository, you can install directly using:
20
+
21
+ ```sh
22
+ pip install git+https://github.com/sonatype-nexus-community/sonatype-guide-api-client.git
23
+ ```
24
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/sonatype-nexus-community/sonatype-guide-api-client.git`)
25
+
26
+ Then import the package:
27
+ ```python
28
+ import sonatype_guide_api_client
29
+ ```
30
+
31
+ ### Setuptools
32
+
33
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
34
+
35
+ ```sh
36
+ python setup.py install --user
37
+ ```
38
+ (or `sudo python setup.py install` to install the package for all users)
39
+
40
+ Then import the package:
41
+ ```python
42
+ import sonatype_guide_api_client
43
+ ```
44
+
45
+ ### Tests
46
+
47
+ Execute `pytest` to run the tests.
48
+
49
+ ## Getting Started
50
+
51
+ Please follow the [installation procedure](#installation--usage) and then run the following:
52
+
53
+ ```python
54
+
55
+ import sonatype_guide_api_client
56
+ from sonatype_guide_api_client.rest import ApiException
57
+ from pprint import pprint
58
+
59
+ # Defining the host is optional and defaults to http://api.guide.sonatype.com
60
+ # See configuration.py for a list of all supported configuration parameters.
61
+ configuration = sonatype_guide_api_client.Configuration(
62
+ host = "http://api.guide.sonatype.com"
63
+ )
64
+
65
+ # The client must configure the authentication and authorization parameters
66
+ # in accordance with the API server security policy.
67
+ # Examples for each auth method are provided below, use the example that
68
+ # satisfies your auth use case.
69
+
70
+ # Configure Bearer authorization (JWT): bearer-jwt
71
+ configuration = sonatype_guide_api_client.Configuration(
72
+ access_token = os.environ["BEARER_TOKEN"]
73
+ )
74
+
75
+
76
+ # Enter a context with an instance of the API client
77
+ with sonatype_guide_api_client.ApiClient(configuration) as api_client:
78
+ # Create an instance of the API class
79
+ api_instance = sonatype_guide_api_client.BillingApi(api_client)
80
+
81
+ try:
82
+ # Get billing information (v2)
83
+ api_response = api_instance.get_billing_v2()
84
+ print("The response of BillingApi->get_billing_v2:\n")
85
+ pprint(api_response)
86
+ except ApiException as e:
87
+ print("Exception when calling BillingApi->get_billing_v2: %s\n" % e)
88
+
89
+ ```
90
+
91
+ ## Documentation for API Endpoints
92
+
93
+ All URIs are relative to *http://api.guide.sonatype.com*
94
+
95
+ Class | Method | HTTP request | Description
96
+ ------------ | ------------- | ------------- | -------------
97
+ *BillingApi* | [**get_billing_v2**](docs/BillingApi.md#get_billing_v2) | **GET** /billing/v2 | Get billing information (v2)
98
+ *BillingApi* | [**get_customer_info**](docs/BillingApi.md#get_customer_info) | **GET** /billing/customer | Get customer information
99
+ *BillingApi* | [**get_plans**](docs/BillingApi.md#get_plans) | **GET** /billing/plans | Get all available plans with current plan marked
100
+ *BillingApi* | [**get_plans_v2**](docs/BillingApi.md#get_plans_v2) | **GET** /billing/v2/plans | Get all available plans (v2)
101
+ *BillingApi* | [**get_user_invoice_history**](docs/BillingApi.md#get_user_invoice_history) | **GET** /billing/invoices | Get user invoice history
102
+ *BillingApi* | [**get_user_subscription**](docs/BillingApi.md#get_user_subscription) | **GET** /billing/subscription | Get user subscription details
103
+ *ComponentsApi* | [**get_component_dependencies_by_purl_query_param**](docs/ComponentsApi.md#get_component_dependencies_by_purl_query_param) | **GET** /components/dependencies | Get dependencies for a component by coordinates (query parameters)
104
+ *ComponentsApi* | [**get_component_detail_by_purl_query_param**](docs/ComponentsApi.md#get_component_detail_by_purl_query_param) | **GET** /components/detail | Get component detail by coordinates (query parameters)
105
+ *ComponentsApi* | [**get_component_versions_by_purl_query_param**](docs/ComponentsApi.md#get_component_versions_by_purl_query_param) | **GET** /components/versions | Get all component versions by coordinates (query parameters)
106
+ *ComponentsApi* | [**get_component_vulnerabilities_by_purl_query_param**](docs/ComponentsApi.md#get_component_vulnerabilities_by_purl_query_param) | **GET** /components/vulnerabilities | Get vulnerabilities for a component by coordinates (query parameters)
107
+ *CreditsApi* | [**get_credit_usage_breakdown**](docs/CreditsApi.md#get_credit_usage_breakdown) | **GET** /credits/usage/breakdown | Get credit usage breakdown
108
+ *CreditsApi* | [**get_credit_usage_history**](docs/CreditsApi.md#get_credit_usage_history) | **GET** /credits/usage/history | Get credit usage history
109
+ *CurrentUserOrganizationApi* | [**accept_invitation**](docs/CurrentUserOrganizationApi.md#accept_invitation) | **POST** /users/me/organization/invitations/{invitationToken}/accept | Accept organization invitation
110
+ *CurrentUserOrganizationApi* | [**bulk_remove_members_or_invitations**](docs/CurrentUserOrganizationApi.md#bulk_remove_members_or_invitations) | **DELETE** /users/me/organization/members | Bulk remove members or invitations from organization
111
+ *CurrentUserOrganizationApi* | [**get_current_user_organization**](docs/CurrentUserOrganizationApi.md#get_current_user_organization) | **GET** /users/me/organization | Get current user&#39;s organization
112
+ *CurrentUserOrganizationApi* | [**get_current_user_organization_v2**](docs/CurrentUserOrganizationApi.md#get_current_user_organization_v2) | **GET** /users/me/organization/v2 | Get current user&#39;s organization (v2)
113
+ *CurrentUserOrganizationApi* | [**invite_users**](docs/CurrentUserOrganizationApi.md#invite_users) | **POST** /users/me/organization/members/invite | Invite users to current user&#39;s an organization
114
+ *CurrentUserOrganizationApi* | [**remove_member_or_invitation**](docs/CurrentUserOrganizationApi.md#remove_member_or_invitation) | **DELETE** /users/me/organization/members/{email} | Remove member or invitation from organization
115
+ *CurrentUserOrganizationApi* | [**retrieve_organization_members_as_csv**](docs/CurrentUserOrganizationApi.md#retrieve_organization_members_as_csv) | **GET** /users/me/organization/members | Retrieve current user&#39;s organization members and invitees
116
+ *CurrentUserOrganizationApi* | [**update_organization**](docs/CurrentUserOrganizationApi.md#update_organization) | **PUT** /users/me/organization | Update current user&#39;s organization
117
+ *CurrentUserTokensApi* | [**create_token**](docs/CurrentUserTokensApi.md#create_token) | **POST** /users/me/tokens | Create a new Personal Access Token
118
+ *CurrentUserTokensApi* | [**get_token_by_id**](docs/CurrentUserTokensApi.md#get_token_by_id) | **GET** /users/me/tokens/{tokenId} | Get a Personal Access Token by ID
119
+ *CurrentUserTokensApi* | [**list_tokens**](docs/CurrentUserTokensApi.md#list_tokens) | **GET** /users/me/tokens | List all Personal Access Tokens
120
+ *CurrentUserTokensApi* | [**revoke_token**](docs/CurrentUserTokensApi.md#revoke_token) | **DELETE** /users/me/tokens/{tokenId} | Revoke a Personal Access Token
121
+ *RecommendationsApi* | [**get_recommendations**](docs/RecommendationsApi.md#get_recommendations) | **POST** /recommendations | Get version upgrade recommendations
122
+ *UsageApi* | [**get_billing_periods**](docs/UsageApi.md#get_billing_periods) | **GET** /usage/billing-periods | Get billing periods for user
123
+ *UsageApi* | [**get_credit_balance**](docs/UsageApi.md#get_credit_balance) | **GET** /usage | Get credit balance
124
+ *UsageApi* | [**get_credit_periods_v2**](docs/UsageApi.md#get_credit_periods_v2) | **GET** /usage/v2/credit-periods | Get credit periods (v2)
125
+ *UsageApi* | [**get_cumulative_usage**](docs/UsageApi.md#get_cumulative_usage) | **GET** /usage/cumulative | Get cumulative credit usage for a billing period
126
+ *UsageApi* | [**get_usage_v2**](docs/UsageApi.md#get_usage_v2) | **GET** /usage/v2 | Get usage information (v2)
127
+ *VulnerabilitiesApi* | [**get_vulnerability_affected_components**](docs/VulnerabilitiesApi.md#get_vulnerability_affected_components) | **GET** /vulnerabilities/{id}/components | Get affected components for a vulnerability
128
+ *VulnerabilitiesApi* | [**get_vulnerability_by_ref_id**](docs/VulnerabilitiesApi.md#get_vulnerability_by_ref_id) | **GET** /vulnerabilities/{id} | Get vulnerability by ID
129
+ *OssiControllerApi* | [**get_component_report**](docs/OssiControllerApi.md#get_component_report) | **GET** /api/v3/authorized/component-report/** |
130
+ *OssiControllerApi* | [**get_component_report1**](docs/OssiControllerApi.md#get_component_report1) | **GET** /api/v3/component-report/** |
131
+ *OssiControllerApi* | [**get_component_reports**](docs/OssiControllerApi.md#get_component_reports) | **POST** /api/v3/component-report |
132
+ *OssiControllerApi* | [**get_component_reports1**](docs/OssiControllerApi.md#get_component_reports1) | **POST** /api/v3/authorized/component-report |
133
+ *OssiControllerApi* | [**get_version**](docs/OssiControllerApi.md#get_version) | **GET** /api/v3/version |
134
+
135
+
136
+ ## Documentation For Models
137
+
138
+ - [AffectedComponentVersion](docs/AffectedComponentVersion.md)
139
+ - [ApiSearchResponse](docs/ApiSearchResponse.md)
140
+ - [ApiSearchResponseAffectedComponentVersion](docs/ApiSearchResponseAffectedComponentVersion.md)
141
+ - [ApiSearchResponseComponentDetailDocument](docs/ApiSearchResponseComponentDetailDocument.md)
142
+ - [ApiSearchResponseComponentDocument](docs/ApiSearchResponseComponentDocument.md)
143
+ - [ApiSearchResponseVulnerabilityDocument](docs/ApiSearchResponseVulnerabilityDocument.md)
144
+ - [BillingDTO](docs/BillingDTO.md)
145
+ - [BillingPeriod](docs/BillingPeriod.md)
146
+ - [BillingPeriodsResponse](docs/BillingPeriodsResponse.md)
147
+ - [BulkRemoveMembersRequest](docs/BulkRemoveMembersRequest.md)
148
+ - [ComponentArtifact](docs/ComponentArtifact.md)
149
+ - [ComponentDetailDocument](docs/ComponentDetailDocument.md)
150
+ - [ComponentDocument](docs/ComponentDocument.md)
151
+ - [ComponentLicense](docs/ComponentLicense.md)
152
+ - [ComponentReportGet](docs/ComponentReportGet.md)
153
+ - [ComponentReportPost](docs/ComponentReportPost.md)
154
+ - [CreateTokenRequest](docs/CreateTokenRequest.md)
155
+ - [CreditBalance](docs/CreditBalance.md)
156
+ - [CreditUsage](docs/CreditUsage.md)
157
+ - [CumulativeCreditUsage](docs/CumulativeCreditUsage.md)
158
+ - [CurrentUserOrganizationResponse](docs/CurrentUserOrganizationResponse.md)
159
+ - [CustomerInfo](docs/CustomerInfo.md)
160
+ - [DailyCreditUsage](docs/DailyCreditUsage.md)
161
+ - [FromVersion](docs/FromVersion.md)
162
+ - [InviteUsersRequest](docs/InviteUsersRequest.md)
163
+ - [Invoice](docs/Invoice.md)
164
+ - [OrganizationBillingDTO](docs/OrganizationBillingDTO.md)
165
+ - [OrganizationDTOv2](docs/OrganizationDTOv2.md)
166
+ - [OrganizationMembersResponse](docs/OrganizationMembersResponse.md)
167
+ - [OrganizationPlanDTO](docs/OrganizationPlanDTO.md)
168
+ - [OrganizationResponse](docs/OrganizationResponse.md)
169
+ - [OrganizationUsageDTO](docs/OrganizationUsageDTO.md)
170
+ - [OssiVulnerabilityPost](docs/OssiVulnerabilityPost.md)
171
+ - [PeriodDTO](docs/PeriodDTO.md)
172
+ - [Plan](docs/Plan.md)
173
+ - [PlanDTOv2](docs/PlanDTOv2.md)
174
+ - [PlanInfo](docs/PlanInfo.md)
175
+ - [PlansResponse](docs/PlansResponse.md)
176
+ - [PurlRequestPost](docs/PurlRequestPost.md)
177
+ - [RecommendationRequest](docs/RecommendationRequest.md)
178
+ - [RecommendationResponse](docs/RecommendationResponse.md)
179
+ - [RecommendedVersion](docs/RecommendedVersion.md)
180
+ - [Reference](docs/Reference.md)
181
+ - [Refid](docs/Refid.md)
182
+ - [SubscriptionDetailsResponse](docs/SubscriptionDetailsResponse.md)
183
+ - [UpdateOrganizationRequest](docs/UpdateOrganizationRequest.md)
184
+ - [UsageDTO](docs/UsageDTO.md)
185
+ - [UserTokenDTO](docs/UserTokenDTO.md)
186
+ - [UserTokenWithPlaintextDTO](docs/UserTokenWithPlaintextDTO.md)
187
+ - [VulnerabilityDetailDocument](docs/VulnerabilityDetailDocument.md)
188
+ - [VulnerabilityDocument](docs/VulnerabilityDocument.md)
189
+ - [VulnerableMethod](docs/VulnerableMethod.md)
190
+
191
+
192
+ <a id="documentation-for-authorization"></a>
193
+ ## Documentation For Authorization
194
+
195
+
196
+ Authentication schemes defined for the API:
197
+ <a id="bearer-jwt"></a>
198
+ ### bearer-jwt
199
+
200
+ - **Type**: Bearer authentication (JWT)
201
+
202
+
203
+ ## Author
204
+
205
+ community@sonatype.com
206
+
207
+