spartera_api_sdk 0.3.6

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 (499) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +9 -0
  3. data/Gemfile +9 -0
  4. data/LICENSE +21 -0
  5. data/README.md +372 -0
  6. data/Rakefile +10 -0
  7. data/docs/APIKeysApi.md +537 -0
  8. data/docs/Alerts.md +30 -0
  9. data/docs/AlertsApi.md +525 -0
  10. data/docs/AlertsInput.md +24 -0
  11. data/docs/AlertsUpdate.md +24 -0
  12. data/docs/ApiKeys.md +40 -0
  13. data/docs/ApiKeysInput.md +34 -0
  14. data/docs/ApiKeysUpdate.md +34 -0
  15. data/docs/AssetPriceHistory.md +30 -0
  16. data/docs/AssetPriceHistoryApi.md +597 -0
  17. data/docs/AssetPriceHistoryInput.md +24 -0
  18. data/docs/AssetPriceHistoryUpdate.md +24 -0
  19. data/docs/AssetUsecases.md +28 -0
  20. data/docs/AssetUsecasesApi.md +157 -0
  21. data/docs/Assets.md +142 -0
  22. data/docs/AssetsApi.md +1197 -0
  23. data/docs/AssetsInput.md +128 -0
  24. data/docs/AssetsUpdate.md +128 -0
  25. data/docs/CloudProviders.md +28 -0
  26. data/docs/CloudProvidersApi.md +157 -0
  27. data/docs/CloudProvidersInput.md +22 -0
  28. data/docs/CloudProvidersUpdate.md +22 -0
  29. data/docs/Companies.md +46 -0
  30. data/docs/CompaniesApi.md +805 -0
  31. data/docs/CompaniesInput.md +40 -0
  32. data/docs/CompaniesUpdate.md +40 -0
  33. data/docs/Connections.md +38 -0
  34. data/docs/ConnectionsApi.md +607 -0
  35. data/docs/ConnectionsInput.md +32 -0
  36. data/docs/ConnectionsUpdate.md +32 -0
  37. data/docs/CreateAlerts200Response.md +20 -0
  38. data/docs/CreateAlerts200ResponseData.md +18 -0
  39. data/docs/CreateApiKeys200Response.md +20 -0
  40. data/docs/CreateApiKeys200ResponseData.md +18 -0
  41. data/docs/CreateAssetPriceHistory200Response.md +20 -0
  42. data/docs/CreateAssetPriceHistory200ResponseData.md +18 -0
  43. data/docs/CreateAssetsAnalyze200Response.md +20 -0
  44. data/docs/CreateAssetsAnalyze200ResponseData.md +18 -0
  45. data/docs/CreateConnections200Response.md +20 -0
  46. data/docs/CreateConnections200ResponseData.md +18 -0
  47. data/docs/CreateEndpoints200Response.md +20 -0
  48. data/docs/CreateEndpoints200ResponseData.md +18 -0
  49. data/docs/CreateFavorites200Response.md +20 -0
  50. data/docs/CreateFavorites200ResponseData.md +18 -0
  51. data/docs/CreatePostgenIntegrations200Response.md +20 -0
  52. data/docs/CreatePostgenIntegrations200ResponseData.md +18 -0
  53. data/docs/CreatePosts200Response.md +20 -0
  54. data/docs/CreatePosts200ResponseData.md +18 -0
  55. data/docs/CreateUsers200Response.md +20 -0
  56. data/docs/CreateUsers200ResponseData.md +18 -0
  57. data/docs/DeleteAlerts200Response.md +20 -0
  58. data/docs/DeleteAlerts200ResponseData.md +18 -0
  59. data/docs/DeleteApiKeys200Response.md +20 -0
  60. data/docs/DeleteApiKeys200ResponseData.md +18 -0
  61. data/docs/DeleteAssetPriceHistory200Response.md +20 -0
  62. data/docs/DeleteAssetPriceHistory200ResponseData.md +18 -0
  63. data/docs/DeleteAssets200Response.md +20 -0
  64. data/docs/DeleteAssets200ResponseData.md +18 -0
  65. data/docs/DeleteConnections200Response.md +20 -0
  66. data/docs/DeleteConnections200ResponseData.md +18 -0
  67. data/docs/DeleteEndpoints200Response.md +20 -0
  68. data/docs/DeleteEndpoints200ResponseData.md +18 -0
  69. data/docs/DeleteFavorites200Response.md +20 -0
  70. data/docs/DeleteFavorites200ResponseData.md +18 -0
  71. data/docs/DeletePostgenIntegrations200Response.md +20 -0
  72. data/docs/DeletePostgenIntegrations200ResponseData.md +18 -0
  73. data/docs/DeletePosts200Response.md +20 -0
  74. data/docs/DeletePosts200ResponseData.md +18 -0
  75. data/docs/DeleteUsers200Response.md +20 -0
  76. data/docs/DeleteUsers200ResponseData.md +18 -0
  77. data/docs/Endpoints.md +96 -0
  78. data/docs/EndpointsApi.md +1189 -0
  79. data/docs/EndpointsInput.md +94 -0
  80. data/docs/EndpointsUpdate.md +94 -0
  81. data/docs/Error.md +24 -0
  82. data/docs/Favorites.md +34 -0
  83. data/docs/FavoritesApi.md +597 -0
  84. data/docs/FavoritesInput.md +28 -0
  85. data/docs/FavoritesUpdate.md +28 -0
  86. data/docs/GetAlertsById200Response.md +20 -0
  87. data/docs/GetApiKeysById200Response.md +20 -0
  88. data/docs/GetAssetPriceHistoryById200Response.md +20 -0
  89. data/docs/GetAssetUsecasesById200Response.md +20 -0
  90. data/docs/GetAssetsByIdAnalyze200Response.md +20 -0
  91. data/docs/GetCloudProvidersById200Response.md +20 -0
  92. data/docs/GetCompaniesById200Response.md +20 -0
  93. data/docs/GetConnectionsById200Response.md +20 -0
  94. data/docs/GetEndpointsByIdConnectionsDescribe200Response.md +20 -0
  95. data/docs/GetFavoritesById200Response.md +20 -0
  96. data/docs/GetIndustriesById200Response.md +20 -0
  97. data/docs/GetJobFunctionsById200Response.md +20 -0
  98. data/docs/GetPostgenIntegrationsById200Response.md +20 -0
  99. data/docs/GetPostsById200Response.md +20 -0
  100. data/docs/GetStorageEnginesById200Response.md +20 -0
  101. data/docs/GetUsersById200Response.md +20 -0
  102. data/docs/Industries.md +32 -0
  103. data/docs/IndustriesApi.md +237 -0
  104. data/docs/InlineObject.md +22 -0
  105. data/docs/InlineObject1.md +20 -0
  106. data/docs/InlineObject2.md +20 -0
  107. data/docs/InlineObject3.md +20 -0
  108. data/docs/InlineObject4.md +20 -0
  109. data/docs/InlineObject5.md +20 -0
  110. data/docs/InlineObject6.md +22 -0
  111. data/docs/InlineObject7.md +20 -0
  112. data/docs/JobFunctions.md +24 -0
  113. data/docs/JobFunctionsApi.md +157 -0
  114. data/docs/JobFunctionsInput.md +18 -0
  115. data/docs/JobFunctionsUpdate.md +18 -0
  116. data/docs/ListApiKeys200Response.md +20 -0
  117. data/docs/ListAssetUsecases200Response.md +20 -0
  118. data/docs/ListAssets200Response.md +20 -0
  119. data/docs/ListCloudProviders200Response.md +20 -0
  120. data/docs/ListCompaniesAnalyticsAssets200Response.md +20 -0
  121. data/docs/ListConnections200Response.md +20 -0
  122. data/docs/ListEndpoints200Response.md +20 -0
  123. data/docs/ListIndustries200Response.md +20 -0
  124. data/docs/ListJobFunctions200Response.md +20 -0
  125. data/docs/ListPostgenIntegrations200Response.md +20 -0
  126. data/docs/ListPosts200Response.md +20 -0
  127. data/docs/ListStorageEngines200Response.md +20 -0
  128. data/docs/ListUsers200Response.md +20 -0
  129. data/docs/PostPublications.md +40 -0
  130. data/docs/PostPublicationsInput.md +34 -0
  131. data/docs/PostPublicationsUpdate.md +34 -0
  132. data/docs/PostgenIntegrations.md +36 -0
  133. data/docs/PostgenIntegrationsApi.md +463 -0
  134. data/docs/PostgenIntegrationsInput.md +30 -0
  135. data/docs/PostgenIntegrationsUpdate.md +30 -0
  136. data/docs/Posts.md +68 -0
  137. data/docs/PostsApi.md +843 -0
  138. data/docs/PostsInput.md +62 -0
  139. data/docs/PostsUpdate.md +62 -0
  140. data/docs/StorageEngines.md +32 -0
  141. data/docs/StorageEnginesApi.md +161 -0
  142. data/docs/UpdateAlerts200Response.md +20 -0
  143. data/docs/UpdateAlerts200ResponseData.md +18 -0
  144. data/docs/UpdateApiKeys200Response.md +20 -0
  145. data/docs/UpdateApiKeys200ResponseData.md +18 -0
  146. data/docs/UpdateAssetPriceHistory200Response.md +20 -0
  147. data/docs/UpdateAssetPriceHistory200ResponseData.md +18 -0
  148. data/docs/UpdateAssets200Response.md +20 -0
  149. data/docs/UpdateAssets200ResponseData.md +18 -0
  150. data/docs/UpdateCompanies200Response.md +20 -0
  151. data/docs/UpdateCompanies200ResponseData.md +18 -0
  152. data/docs/UpdateConnections200Response.md +20 -0
  153. data/docs/UpdateConnections200ResponseData.md +18 -0
  154. data/docs/UpdateEndpoints200Response.md +20 -0
  155. data/docs/UpdateEndpoints200ResponseData.md +18 -0
  156. data/docs/UpdateFavorites200Response.md +20 -0
  157. data/docs/UpdateFavorites200ResponseData.md +18 -0
  158. data/docs/UpdatePostgenIntegrations200Response.md +20 -0
  159. data/docs/UpdatePostgenIntegrations200ResponseData.md +18 -0
  160. data/docs/UpdatePosts200Response.md +20 -0
  161. data/docs/UpdatePosts200ResponseData.md +18 -0
  162. data/docs/UpdateUsers200Response.md +20 -0
  163. data/docs/UpdateUsers200ResponseData.md +18 -0
  164. data/docs/Users.md +36 -0
  165. data/docs/UsersApi.md +639 -0
  166. data/docs/UsersInput.md +30 -0
  167. data/docs/UsersUpdate.md +30 -0
  168. data/git_push.sh +57 -0
  169. data/lib/spartera_api_sdk/api/alerts_api.rb +790 -0
  170. data/lib/spartera_api_sdk/api/api_keys_api.rb +746 -0
  171. data/lib/spartera_api_sdk/api/asset_price_history_api.rb +867 -0
  172. data/lib/spartera_api_sdk/api/asset_usecases_api.rb +190 -0
  173. data/lib/spartera_api_sdk/api/assets_api.rb +1554 -0
  174. data/lib/spartera_api_sdk/api/cloud_providers_api.rb +190 -0
  175. data/lib/spartera_api_sdk/api/companies_api.rb +1085 -0
  176. data/lib/spartera_api_sdk/api/connections_api.rb +828 -0
  177. data/lib/spartera_api_sdk/api/endpoints_api.rb +1613 -0
  178. data/lib/spartera_api_sdk/api/favorites_api.rb +870 -0
  179. data/lib/spartera_api_sdk/api/industries_api.rb +284 -0
  180. data/lib/spartera_api_sdk/api/job_functions_api.rb +190 -0
  181. data/lib/spartera_api_sdk/api/postgen_integrations_api.rb +634 -0
  182. data/lib/spartera_api_sdk/api/posts_api.rb +1190 -0
  183. data/lib/spartera_api_sdk/api/storage_engines_api.rb +228 -0
  184. data/lib/spartera_api_sdk/api/users_api.rb +891 -0
  185. data/lib/spartera_api_sdk/api_client.rb +397 -0
  186. data/lib/spartera_api_sdk/api_error.rb +58 -0
  187. data/lib/spartera_api_sdk/api_model_base.rb +88 -0
  188. data/lib/spartera_api_sdk/configuration.rb +312 -0
  189. data/lib/spartera_api_sdk/models/alerts.rb +260 -0
  190. data/lib/spartera_api_sdk/models/alerts_input.rb +213 -0
  191. data/lib/spartera_api_sdk/models/alerts_update.rb +179 -0
  192. data/lib/spartera_api_sdk/models/api_keys.rb +344 -0
  193. data/lib/spartera_api_sdk/models/api_keys_input.rb +263 -0
  194. data/lib/spartera_api_sdk/models/api_keys_update.rb +229 -0
  195. data/lib/spartera_api_sdk/models/asset_price_history.rb +209 -0
  196. data/lib/spartera_api_sdk/models/asset_price_history_input.rb +179 -0
  197. data/lib/spartera_api_sdk/models/asset_price_history_update.rb +179 -0
  198. data/lib/spartera_api_sdk/models/asset_usecases.rb +216 -0
  199. data/lib/spartera_api_sdk/models/assets.rb +1068 -0
  200. data/lib/spartera_api_sdk/models/assets_input.rb +918 -0
  201. data/lib/spartera_api_sdk/models/assets_update.rb +877 -0
  202. data/lib/spartera_api_sdk/models/cloud_providers.rb +216 -0
  203. data/lib/spartera_api_sdk/models/cloud_providers_input.rb +186 -0
  204. data/lib/spartera_api_sdk/models/cloud_providers_update.rb +169 -0
  205. data/lib/spartera_api_sdk/models/companies.rb +374 -0
  206. data/lib/spartera_api_sdk/models/companies_input.rb +327 -0
  207. data/lib/spartera_api_sdk/models/companies_update.rb +293 -0
  208. data/lib/spartera_api_sdk/models/connections.rb +317 -0
  209. data/lib/spartera_api_sdk/models/connections_input.rb +287 -0
  210. data/lib/spartera_api_sdk/models/connections_update.rb +253 -0
  211. data/lib/spartera_api_sdk/models/create_alerts200_response.rb +191 -0
  212. data/lib/spartera_api_sdk/models/create_alerts200_response_data.rb +165 -0
  213. data/lib/spartera_api_sdk/models/create_api_keys200_response.rb +191 -0
  214. data/lib/spartera_api_sdk/models/create_api_keys200_response_data.rb +165 -0
  215. data/lib/spartera_api_sdk/models/create_asset_price_history200_response.rb +191 -0
  216. data/lib/spartera_api_sdk/models/create_asset_price_history200_response_data.rb +165 -0
  217. data/lib/spartera_api_sdk/models/create_assets_analyze200_response.rb +191 -0
  218. data/lib/spartera_api_sdk/models/create_assets_analyze200_response_data.rb +165 -0
  219. data/lib/spartera_api_sdk/models/create_connections200_response.rb +191 -0
  220. data/lib/spartera_api_sdk/models/create_connections200_response_data.rb +165 -0
  221. data/lib/spartera_api_sdk/models/create_endpoints200_response.rb +191 -0
  222. data/lib/spartera_api_sdk/models/create_endpoints200_response_data.rb +165 -0
  223. data/lib/spartera_api_sdk/models/create_favorites200_response.rb +191 -0
  224. data/lib/spartera_api_sdk/models/create_favorites200_response_data.rb +165 -0
  225. data/lib/spartera_api_sdk/models/create_postgen_integrations200_response.rb +191 -0
  226. data/lib/spartera_api_sdk/models/create_postgen_integrations200_response_data.rb +165 -0
  227. data/lib/spartera_api_sdk/models/create_posts200_response.rb +191 -0
  228. data/lib/spartera_api_sdk/models/create_posts200_response_data.rb +165 -0
  229. data/lib/spartera_api_sdk/models/create_users200_response.rb +191 -0
  230. data/lib/spartera_api_sdk/models/create_users200_response_data.rb +165 -0
  231. data/lib/spartera_api_sdk/models/delete_alerts200_response.rb +191 -0
  232. data/lib/spartera_api_sdk/models/delete_alerts200_response_data.rb +165 -0
  233. data/lib/spartera_api_sdk/models/delete_api_keys200_response.rb +191 -0
  234. data/lib/spartera_api_sdk/models/delete_api_keys200_response_data.rb +165 -0
  235. data/lib/spartera_api_sdk/models/delete_asset_price_history200_response.rb +191 -0
  236. data/lib/spartera_api_sdk/models/delete_asset_price_history200_response_data.rb +165 -0
  237. data/lib/spartera_api_sdk/models/delete_assets200_response.rb +191 -0
  238. data/lib/spartera_api_sdk/models/delete_assets200_response_data.rb +165 -0
  239. data/lib/spartera_api_sdk/models/delete_connections200_response.rb +191 -0
  240. data/lib/spartera_api_sdk/models/delete_connections200_response_data.rb +165 -0
  241. data/lib/spartera_api_sdk/models/delete_endpoints200_response.rb +191 -0
  242. data/lib/spartera_api_sdk/models/delete_endpoints200_response_data.rb +165 -0
  243. data/lib/spartera_api_sdk/models/delete_favorites200_response.rb +191 -0
  244. data/lib/spartera_api_sdk/models/delete_favorites200_response_data.rb +165 -0
  245. data/lib/spartera_api_sdk/models/delete_postgen_integrations200_response.rb +191 -0
  246. data/lib/spartera_api_sdk/models/delete_postgen_integrations200_response_data.rb +165 -0
  247. data/lib/spartera_api_sdk/models/delete_posts200_response.rb +191 -0
  248. data/lib/spartera_api_sdk/models/delete_posts200_response_data.rb +165 -0
  249. data/lib/spartera_api_sdk/models/delete_users200_response.rb +191 -0
  250. data/lib/spartera_api_sdk/models/delete_users200_response_data.rb +165 -0
  251. data/lib/spartera_api_sdk/models/endpoints.rb +788 -0
  252. data/lib/spartera_api_sdk/models/endpoints_input.rb +686 -0
  253. data/lib/spartera_api_sdk/models/endpoints_update.rb +635 -0
  254. data/lib/spartera_api_sdk/models/error.rb +212 -0
  255. data/lib/spartera_api_sdk/models/favorites.rb +280 -0
  256. data/lib/spartera_api_sdk/models/favorites_input.rb +233 -0
  257. data/lib/spartera_api_sdk/models/favorites_update.rb +199 -0
  258. data/lib/spartera_api_sdk/models/get_alerts_by_id200_response.rb +191 -0
  259. data/lib/spartera_api_sdk/models/get_api_keys_by_id200_response.rb +191 -0
  260. data/lib/spartera_api_sdk/models/get_asset_price_history_by_id200_response.rb +191 -0
  261. data/lib/spartera_api_sdk/models/get_asset_usecases_by_id200_response.rb +191 -0
  262. data/lib/spartera_api_sdk/models/get_assets_by_id_analyze200_response.rb +191 -0
  263. data/lib/spartera_api_sdk/models/get_cloud_providers_by_id200_response.rb +191 -0
  264. data/lib/spartera_api_sdk/models/get_companies_by_id200_response.rb +191 -0
  265. data/lib/spartera_api_sdk/models/get_connections_by_id200_response.rb +191 -0
  266. data/lib/spartera_api_sdk/models/get_endpoints_by_id_connections_describe200_response.rb +191 -0
  267. data/lib/spartera_api_sdk/models/get_favorites_by_id200_response.rb +191 -0
  268. data/lib/spartera_api_sdk/models/get_industries_by_id200_response.rb +191 -0
  269. data/lib/spartera_api_sdk/models/get_job_functions_by_id200_response.rb +191 -0
  270. data/lib/spartera_api_sdk/models/get_postgen_integrations_by_id200_response.rb +191 -0
  271. data/lib/spartera_api_sdk/models/get_posts_by_id200_response.rb +191 -0
  272. data/lib/spartera_api_sdk/models/get_storage_engines_by_id200_response.rb +191 -0
  273. data/lib/spartera_api_sdk/models/get_users_by_id200_response.rb +191 -0
  274. data/lib/spartera_api_sdk/models/industries.rb +253 -0
  275. data/lib/spartera_api_sdk/models/inline_object.rb +167 -0
  276. data/lib/spartera_api_sdk/models/inline_object1.rb +156 -0
  277. data/lib/spartera_api_sdk/models/inline_object2.rb +156 -0
  278. data/lib/spartera_api_sdk/models/inline_object3.rb +156 -0
  279. data/lib/spartera_api_sdk/models/inline_object4.rb +156 -0
  280. data/lib/spartera_api_sdk/models/inline_object5.rb +156 -0
  281. data/lib/spartera_api_sdk/models/inline_object6.rb +166 -0
  282. data/lib/spartera_api_sdk/models/inline_object7.rb +156 -0
  283. data/lib/spartera_api_sdk/models/job_functions.rb +213 -0
  284. data/lib/spartera_api_sdk/models/job_functions_input.rb +166 -0
  285. data/lib/spartera_api_sdk/models/job_functions_update.rb +149 -0
  286. data/lib/spartera_api_sdk/models/list_api_keys200_response.rb +193 -0
  287. data/lib/spartera_api_sdk/models/list_asset_usecases200_response.rb +193 -0
  288. data/lib/spartera_api_sdk/models/list_assets200_response.rb +193 -0
  289. data/lib/spartera_api_sdk/models/list_cloud_providers200_response.rb +193 -0
  290. data/lib/spartera_api_sdk/models/list_companies_analytics_assets200_response.rb +193 -0
  291. data/lib/spartera_api_sdk/models/list_connections200_response.rb +193 -0
  292. data/lib/spartera_api_sdk/models/list_endpoints200_response.rb +193 -0
  293. data/lib/spartera_api_sdk/models/list_industries200_response.rb +193 -0
  294. data/lib/spartera_api_sdk/models/list_job_functions200_response.rb +193 -0
  295. data/lib/spartera_api_sdk/models/list_postgen_integrations200_response.rb +193 -0
  296. data/lib/spartera_api_sdk/models/list_posts200_response.rb +193 -0
  297. data/lib/spartera_api_sdk/models/list_storage_engines200_response.rb +193 -0
  298. data/lib/spartera_api_sdk/models/list_users200_response.rb +193 -0
  299. data/lib/spartera_api_sdk/models/post_publications.rb +327 -0
  300. data/lib/spartera_api_sdk/models/post_publications_input.rb +280 -0
  301. data/lib/spartera_api_sdk/models/post_publications_update.rb +229 -0
  302. data/lib/spartera_api_sdk/models/postgen_integrations.rb +341 -0
  303. data/lib/spartera_api_sdk/models/postgen_integrations_input.rb +294 -0
  304. data/lib/spartera_api_sdk/models/postgen_integrations_update.rb +209 -0
  305. data/lib/spartera_api_sdk/models/posts.rb +586 -0
  306. data/lib/spartera_api_sdk/models/posts_input.rb +437 -0
  307. data/lib/spartera_api_sdk/models/posts_update.rb +369 -0
  308. data/lib/spartera_api_sdk/models/storage_engines.rb +294 -0
  309. data/lib/spartera_api_sdk/models/update_alerts200_response.rb +191 -0
  310. data/lib/spartera_api_sdk/models/update_alerts200_response_data.rb +165 -0
  311. data/lib/spartera_api_sdk/models/update_api_keys200_response.rb +191 -0
  312. data/lib/spartera_api_sdk/models/update_api_keys200_response_data.rb +165 -0
  313. data/lib/spartera_api_sdk/models/update_asset_price_history200_response.rb +191 -0
  314. data/lib/spartera_api_sdk/models/update_asset_price_history200_response_data.rb +165 -0
  315. data/lib/spartera_api_sdk/models/update_assets200_response.rb +191 -0
  316. data/lib/spartera_api_sdk/models/update_assets200_response_data.rb +165 -0
  317. data/lib/spartera_api_sdk/models/update_companies200_response.rb +191 -0
  318. data/lib/spartera_api_sdk/models/update_companies200_response_data.rb +165 -0
  319. data/lib/spartera_api_sdk/models/update_connections200_response.rb +191 -0
  320. data/lib/spartera_api_sdk/models/update_connections200_response_data.rb +165 -0
  321. data/lib/spartera_api_sdk/models/update_endpoints200_response.rb +191 -0
  322. data/lib/spartera_api_sdk/models/update_endpoints200_response_data.rb +165 -0
  323. data/lib/spartera_api_sdk/models/update_favorites200_response.rb +191 -0
  324. data/lib/spartera_api_sdk/models/update_favorites200_response_data.rb +165 -0
  325. data/lib/spartera_api_sdk/models/update_postgen_integrations200_response.rb +191 -0
  326. data/lib/spartera_api_sdk/models/update_postgen_integrations200_response_data.rb +165 -0
  327. data/lib/spartera_api_sdk/models/update_posts200_response.rb +191 -0
  328. data/lib/spartera_api_sdk/models/update_posts200_response_data.rb +165 -0
  329. data/lib/spartera_api_sdk/models/update_users200_response.rb +191 -0
  330. data/lib/spartera_api_sdk/models/update_users200_response_data.rb +165 -0
  331. data/lib/spartera_api_sdk/models/users.rb +331 -0
  332. data/lib/spartera_api_sdk/models/users_input.rb +260 -0
  333. data/lib/spartera_api_sdk/models/users_update.rb +243 -0
  334. data/lib/spartera_api_sdk/version.rb +15 -0
  335. data/lib/spartera_api_sdk.rb +201 -0
  336. data/spartera_api_sdk.gemspec +39 -0
  337. data/spec/api/alerts_api_spec.rb +126 -0
  338. data/spec/api/api_keys_api_spec.rb +130 -0
  339. data/spec/api/asset_price_history_api_spec.rb +138 -0
  340. data/spec/api/asset_usecases_api_spec.rb +61 -0
  341. data/spec/api/assets_api_spec.rb +243 -0
  342. data/spec/api/cloud_providers_api_spec.rb +61 -0
  343. data/spec/api/companies_api_spec.rb +186 -0
  344. data/spec/api/connections_api_spec.rb +141 -0
  345. data/spec/api/endpoints_api_spec.rb +240 -0
  346. data/spec/api/favorites_api_spec.rb +138 -0
  347. data/spec/api/industries_api_spec.rb +76 -0
  348. data/spec/api/job_functions_api_spec.rb +61 -0
  349. data/spec/api/postgen_integrations_api_spec.rb +117 -0
  350. data/spec/api/posts_api_spec.rb +186 -0
  351. data/spec/api/storage_engines_api_spec.rb +63 -0
  352. data/spec/api/users_api_spec.rb +154 -0
  353. data/spec/models/alerts_input_spec.rb +54 -0
  354. data/spec/models/alerts_spec.rb +72 -0
  355. data/spec/models/alerts_update_spec.rb +54 -0
  356. data/spec/models/api_keys_input_spec.rb +84 -0
  357. data/spec/models/api_keys_spec.rb +102 -0
  358. data/spec/models/api_keys_update_spec.rb +84 -0
  359. data/spec/models/asset_price_history_input_spec.rb +54 -0
  360. data/spec/models/asset_price_history_spec.rb +72 -0
  361. data/spec/models/asset_price_history_update_spec.rb +54 -0
  362. data/spec/models/asset_usecases_spec.rb +66 -0
  363. data/spec/models/assets_input_spec.rb +418 -0
  364. data/spec/models/assets_spec.rb +464 -0
  365. data/spec/models/assets_update_spec.rb +418 -0
  366. data/spec/models/cloud_providers_input_spec.rb +48 -0
  367. data/spec/models/cloud_providers_spec.rb +66 -0
  368. data/spec/models/cloud_providers_update_spec.rb +48 -0
  369. data/spec/models/companies_input_spec.rb +106 -0
  370. data/spec/models/companies_spec.rb +124 -0
  371. data/spec/models/companies_update_spec.rb +106 -0
  372. data/spec/models/connections_input_spec.rb +82 -0
  373. data/spec/models/connections_spec.rb +100 -0
  374. data/spec/models/connections_update_spec.rb +82 -0
  375. data/spec/models/create_alerts200_response_data_spec.rb +36 -0
  376. data/spec/models/create_alerts200_response_spec.rb +42 -0
  377. data/spec/models/create_api_keys200_response_data_spec.rb +36 -0
  378. data/spec/models/create_api_keys200_response_spec.rb +42 -0
  379. data/spec/models/create_asset_price_history200_response_data_spec.rb +36 -0
  380. data/spec/models/create_asset_price_history200_response_spec.rb +42 -0
  381. data/spec/models/create_assets_analyze200_response_data_spec.rb +36 -0
  382. data/spec/models/create_assets_analyze200_response_spec.rb +42 -0
  383. data/spec/models/create_connections200_response_data_spec.rb +36 -0
  384. data/spec/models/create_connections200_response_spec.rb +42 -0
  385. data/spec/models/create_endpoints200_response_data_spec.rb +36 -0
  386. data/spec/models/create_endpoints200_response_spec.rb +42 -0
  387. data/spec/models/create_favorites200_response_data_spec.rb +36 -0
  388. data/spec/models/create_favorites200_response_spec.rb +42 -0
  389. data/spec/models/create_postgen_integrations200_response_data_spec.rb +36 -0
  390. data/spec/models/create_postgen_integrations200_response_spec.rb +42 -0
  391. data/spec/models/create_posts200_response_data_spec.rb +36 -0
  392. data/spec/models/create_posts200_response_spec.rb +42 -0
  393. data/spec/models/create_users200_response_data_spec.rb +36 -0
  394. data/spec/models/create_users200_response_spec.rb +42 -0
  395. data/spec/models/delete_alerts200_response_data_spec.rb +36 -0
  396. data/spec/models/delete_alerts200_response_spec.rb +42 -0
  397. data/spec/models/delete_api_keys200_response_data_spec.rb +36 -0
  398. data/spec/models/delete_api_keys200_response_spec.rb +42 -0
  399. data/spec/models/delete_asset_price_history200_response_data_spec.rb +36 -0
  400. data/spec/models/delete_asset_price_history200_response_spec.rb +42 -0
  401. data/spec/models/delete_assets200_response_data_spec.rb +36 -0
  402. data/spec/models/delete_assets200_response_spec.rb +42 -0
  403. data/spec/models/delete_connections200_response_data_spec.rb +36 -0
  404. data/spec/models/delete_connections200_response_spec.rb +42 -0
  405. data/spec/models/delete_endpoints200_response_data_spec.rb +36 -0
  406. data/spec/models/delete_endpoints200_response_spec.rb +42 -0
  407. data/spec/models/delete_favorites200_response_data_spec.rb +36 -0
  408. data/spec/models/delete_favorites200_response_spec.rb +42 -0
  409. data/spec/models/delete_postgen_integrations200_response_data_spec.rb +36 -0
  410. data/spec/models/delete_postgen_integrations200_response_spec.rb +42 -0
  411. data/spec/models/delete_posts200_response_data_spec.rb +36 -0
  412. data/spec/models/delete_posts200_response_spec.rb +42 -0
  413. data/spec/models/delete_users200_response_data_spec.rb +36 -0
  414. data/spec/models/delete_users200_response_spec.rb +42 -0
  415. data/spec/models/endpoints_input_spec.rb +292 -0
  416. data/spec/models/endpoints_spec.rb +298 -0
  417. data/spec/models/endpoints_update_spec.rb +292 -0
  418. data/spec/models/error_spec.rb +54 -0
  419. data/spec/models/favorites_input_spec.rb +66 -0
  420. data/spec/models/favorites_spec.rb +84 -0
  421. data/spec/models/favorites_update_spec.rb +66 -0
  422. data/spec/models/get_alerts_by_id200_response_spec.rb +42 -0
  423. data/spec/models/get_api_keys_by_id200_response_spec.rb +42 -0
  424. data/spec/models/get_asset_price_history_by_id200_response_spec.rb +42 -0
  425. data/spec/models/get_asset_usecases_by_id200_response_spec.rb +42 -0
  426. data/spec/models/get_assets_by_id_analyze200_response_spec.rb +42 -0
  427. data/spec/models/get_cloud_providers_by_id200_response_spec.rb +42 -0
  428. data/spec/models/get_companies_by_id200_response_spec.rb +42 -0
  429. data/spec/models/get_connections_by_id200_response_spec.rb +42 -0
  430. data/spec/models/get_endpoints_by_id_connections_describe200_response_spec.rb +42 -0
  431. data/spec/models/get_favorites_by_id200_response_spec.rb +42 -0
  432. data/spec/models/get_industries_by_id200_response_spec.rb +42 -0
  433. data/spec/models/get_job_functions_by_id200_response_spec.rb +42 -0
  434. data/spec/models/get_postgen_integrations_by_id200_response_spec.rb +42 -0
  435. data/spec/models/get_posts_by_id200_response_spec.rb +42 -0
  436. data/spec/models/get_storage_engines_by_id200_response_spec.rb +42 -0
  437. data/spec/models/get_users_by_id200_response_spec.rb +42 -0
  438. data/spec/models/industries_spec.rb +78 -0
  439. data/spec/models/inline_object1_spec.rb +42 -0
  440. data/spec/models/inline_object2_spec.rb +42 -0
  441. data/spec/models/inline_object3_spec.rb +42 -0
  442. data/spec/models/inline_object4_spec.rb +42 -0
  443. data/spec/models/inline_object5_spec.rb +42 -0
  444. data/spec/models/inline_object6_spec.rb +48 -0
  445. data/spec/models/inline_object7_spec.rb +42 -0
  446. data/spec/models/inline_object_spec.rb +48 -0
  447. data/spec/models/job_functions_input_spec.rb +36 -0
  448. data/spec/models/job_functions_spec.rb +54 -0
  449. data/spec/models/job_functions_update_spec.rb +36 -0
  450. data/spec/models/list_api_keys200_response_spec.rb +42 -0
  451. data/spec/models/list_asset_usecases200_response_spec.rb +42 -0
  452. data/spec/models/list_assets200_response_spec.rb +42 -0
  453. data/spec/models/list_cloud_providers200_response_spec.rb +42 -0
  454. data/spec/models/list_companies_analytics_assets200_response_spec.rb +42 -0
  455. data/spec/models/list_connections200_response_spec.rb +42 -0
  456. data/spec/models/list_endpoints200_response_spec.rb +42 -0
  457. data/spec/models/list_industries200_response_spec.rb +42 -0
  458. data/spec/models/list_job_functions200_response_spec.rb +42 -0
  459. data/spec/models/list_postgen_integrations200_response_spec.rb +42 -0
  460. data/spec/models/list_posts200_response_spec.rb +42 -0
  461. data/spec/models/list_storage_engines200_response_spec.rb +42 -0
  462. data/spec/models/list_users200_response_spec.rb +42 -0
  463. data/spec/models/post_publications_input_spec.rb +84 -0
  464. data/spec/models/post_publications_spec.rb +102 -0
  465. data/spec/models/post_publications_update_spec.rb +84 -0
  466. data/spec/models/postgen_integrations_input_spec.rb +72 -0
  467. data/spec/models/postgen_integrations_spec.rb +90 -0
  468. data/spec/models/postgen_integrations_update_spec.rb +72 -0
  469. data/spec/models/posts_input_spec.rb +168 -0
  470. data/spec/models/posts_spec.rb +186 -0
  471. data/spec/models/posts_update_spec.rb +168 -0
  472. data/spec/models/storage_engines_spec.rb +82 -0
  473. data/spec/models/update_alerts200_response_data_spec.rb +36 -0
  474. data/spec/models/update_alerts200_response_spec.rb +42 -0
  475. data/spec/models/update_api_keys200_response_data_spec.rb +36 -0
  476. data/spec/models/update_api_keys200_response_spec.rb +42 -0
  477. data/spec/models/update_asset_price_history200_response_data_spec.rb +36 -0
  478. data/spec/models/update_asset_price_history200_response_spec.rb +42 -0
  479. data/spec/models/update_assets200_response_data_spec.rb +36 -0
  480. data/spec/models/update_assets200_response_spec.rb +42 -0
  481. data/spec/models/update_companies200_response_data_spec.rb +36 -0
  482. data/spec/models/update_companies200_response_spec.rb +42 -0
  483. data/spec/models/update_connections200_response_data_spec.rb +36 -0
  484. data/spec/models/update_connections200_response_spec.rb +42 -0
  485. data/spec/models/update_endpoints200_response_data_spec.rb +36 -0
  486. data/spec/models/update_endpoints200_response_spec.rb +42 -0
  487. data/spec/models/update_favorites200_response_data_spec.rb +36 -0
  488. data/spec/models/update_favorites200_response_spec.rb +42 -0
  489. data/spec/models/update_postgen_integrations200_response_data_spec.rb +36 -0
  490. data/spec/models/update_postgen_integrations200_response_spec.rb +42 -0
  491. data/spec/models/update_posts200_response_data_spec.rb +36 -0
  492. data/spec/models/update_posts200_response_spec.rb +42 -0
  493. data/spec/models/update_users200_response_data_spec.rb +36 -0
  494. data/spec/models/update_users200_response_spec.rb +42 -0
  495. data/spec/models/users_input_spec.rb +76 -0
  496. data/spec/models/users_spec.rb +94 -0
  497. data/spec/models/users_update_spec.rb +76 -0
  498. data/spec/spec_helper.rb +111 -0
  499. metadata +742 -0
@@ -0,0 +1,1189 @@
1
+ # SparteraApiSdk::EndpointsApi
2
+
3
+ All URIs are relative to *https://api.spartera.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_endpoints**](EndpointsApi.md#create_endpoints) | **POST** /companies/{company_id}/endpoints | Create a new endpoint |
8
+ | [**create_endpoints_keys**](EndpointsApi.md#create_endpoints_keys) | **POST** /companies/{company_id}/endpoints/{endpoint_id}/keys | POST /companies/{company_id}/endpoints/{endpoint_id}/keys |
9
+ | [**create_endpoints_scan_column**](EndpointsApi.md#create_endpoints_scan_column) | **POST** /companies/{company_id}/endpoints/{endpoint_id}/scan_column | POST /companies/{company_id}/endpoints/{endpoint_id}/scan_column |
10
+ | [**delete_endpoints**](EndpointsApi.md#delete_endpoints) | **DELETE** /companies/{company_id}/endpoints/{endpoint_id} | Delete single endpoint by ID |
11
+ | [**delete_endpoints_keys**](EndpointsApi.md#delete_endpoints_keys) | **DELETE** /companies/{company_id}/endpoints/{endpoint_id}/keys/{api_key_id} | DELETE /companies/{company_id}/endpoints/{endpoint_id}/keys/{api_key_id} |
12
+ | [**get_endpoints_by_id**](EndpointsApi.md#get_endpoints_by_id) | **GET** /companies/{company_id}/endpoints/{endpoint_id} | Get single endpoint by ID |
13
+ | [**get_endpoints_by_id_available_endpoints**](EndpointsApi.md#get_endpoints_by_id_available_endpoints) | **GET** /companies/{company_id}/endpoints/{endpoint_id}/available-endpoints | GET /companies/{company_id}/endpoints/{endpoint_id}/available-endpoints |
14
+ | [**get_endpoints_by_id_connections_describe**](EndpointsApi.md#get_endpoints_by_id_connections_describe) | **GET** /companies/{company_id}/endpoints/../connections/{connection_id}/describe | Get schema information for a connection Query parameters: include_fields: Whether to include field information (default: true) schemas: Optional comma-separated schemas to include tables: Optional comma-separated tables to include |
15
+ | [**get_endpoints_by_id_execute**](EndpointsApi.md#get_endpoints_by_id_execute) | **GET** /companies/{company_id}/endpoints/{endpoint_id}/execute | Execute an endpoint with pagination support. Customer-facing route that returns paginated data. Query params: ?start=0&limit=100 |
16
+ | [**get_endpoints_by_id_keys**](EndpointsApi.md#get_endpoints_by_id_keys) | **GET** /companies/{company_id}/endpoints/{endpoint_id}/keys | GET /companies/{company_id}/endpoints/{endpoint_id}/keys |
17
+ | [**get_endpoints_by_id_recommendations**](EndpointsApi.md#get_endpoints_by_id_recommendations) | **GET** /companies/{company_id}/endpoints/{endpoint_id}/recommendations | GET /companies/{company_id}/endpoints/{endpoint_id}/recommendations |
18
+ | [**get_endpoints_by_id_stats**](EndpointsApi.md#get_endpoints_by_id_stats) | **GET** /companies/{company_id}/endpoints/{endpoint_id}/stats | Get usage statistics for an endpoint Query parameters: days: Number of days to analyze (default: 30) |
19
+ | [**get_endpoints_by_id_test**](EndpointsApi.md#get_endpoints_by_id_test) | **GET** /companies/{company_id}/endpoints/{endpoint_id}/test | Test an endpoint with sample data Request body (optional): limit: Number of sample rows to return (default: 10) |
20
+ | [**get_endpoints_by_id_url**](EndpointsApi.md#get_endpoints_by_id_url) | **GET** /companies/{company_id}/endpoints/{endpoint_id}/url | GET /companies/{company_id}/endpoints/{endpoint_id}/url |
21
+ | [**list_endpoints**](EndpointsApi.md#list_endpoints) | **GET** /companies/{company_id}/endpoints | Get all endpoints for a specific company with pagination, filtering, and sorting |
22
+ | [**update_endpoints**](EndpointsApi.md#update_endpoints) | **PATCH** /companies/{company_id}/endpoints/{endpoint_id} | Update an existing endpoint by ID |
23
+
24
+
25
+ ## create_endpoints
26
+
27
+ > <CreateEndpoints200Response> create_endpoints(company_id, endpoints_input, opts)
28
+
29
+ Create a new endpoint
30
+
31
+ ### Examples
32
+
33
+ ```ruby
34
+ require 'time'
35
+ require 'spartera_api_sdk'
36
+ # setup authorization
37
+ SparteraApiSdk.configure do |config|
38
+ # Configure API key authorization: ApiKeyAuth
39
+ config.api_key['x-api-key'] = 'YOUR API KEY'
40
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
41
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
42
+ end
43
+
44
+ api_instance = SparteraApiSdk::EndpointsApi.new
45
+ company_id = 'company_id_example' # String | Unique identifier for the Company
46
+ endpoints_input = SparteraApiSdk::EndpointsInput.new({company_id: 'company_id_abc123', connection_id: 'connection_id_abc123', name: 'Example Name'}) # EndpointsInput |
47
+ opts = {
48
+ page: 56, # Integer | Page number for pagination
49
+ limit: 56, # Integer | Number of items per page
50
+ sort_by: 'sort_by_example', # String | Field to sort by
51
+ sort_order: 'asc', # String | Sort order (ascending or descending)
52
+ search: 'search_example' # String | Search term to filter results
53
+ }
54
+
55
+ begin
56
+ # Create a new endpoint
57
+ result = api_instance.create_endpoints(company_id, endpoints_input, opts)
58
+ p result
59
+ rescue SparteraApiSdk::ApiError => e
60
+ puts "Error when calling EndpointsApi->create_endpoints: #{e}"
61
+ end
62
+ ```
63
+
64
+ #### Using the create_endpoints_with_http_info variant
65
+
66
+ This returns an Array which contains the response data, status code and headers.
67
+
68
+ > <Array(<CreateEndpoints200Response>, Integer, Hash)> create_endpoints_with_http_info(company_id, endpoints_input, opts)
69
+
70
+ ```ruby
71
+ begin
72
+ # Create a new endpoint
73
+ data, status_code, headers = api_instance.create_endpoints_with_http_info(company_id, endpoints_input, opts)
74
+ p status_code # => 2xx
75
+ p headers # => { ... }
76
+ p data # => <CreateEndpoints200Response>
77
+ rescue SparteraApiSdk::ApiError => e
78
+ puts "Error when calling EndpointsApi->create_endpoints_with_http_info: #{e}"
79
+ end
80
+ ```
81
+
82
+ ### Parameters
83
+
84
+ | Name | Type | Description | Notes |
85
+ | ---- | ---- | ----------- | ----- |
86
+ | **company_id** | **String** | Unique identifier for the Company | |
87
+ | **endpoints_input** | [**EndpointsInput**](EndpointsInput.md) | | |
88
+ | **page** | **Integer** | Page number for pagination | [optional][default to 1] |
89
+ | **limit** | **Integer** | Number of items per page | [optional][default to 20] |
90
+ | **sort_by** | **String** | Field to sort by | [optional] |
91
+ | **sort_order** | **String** | Sort order (ascending or descending) | [optional][default to &#39;desc&#39;] |
92
+ | **search** | **String** | Search term to filter results | [optional] |
93
+
94
+ ### Return type
95
+
96
+ [**CreateEndpoints200Response**](CreateEndpoints200Response.md)
97
+
98
+ ### Authorization
99
+
100
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: application/json
105
+ - **Accept**: application/json
106
+
107
+
108
+ ## create_endpoints_keys
109
+
110
+ > <CreateEndpoints200Response> create_endpoints_keys(company_id, endpoint_id, endpoints_input)
111
+
112
+ POST /companies/{company_id}/endpoints/{endpoint_id}/keys
113
+
114
+ ### Examples
115
+
116
+ ```ruby
117
+ require 'time'
118
+ require 'spartera_api_sdk'
119
+ # setup authorization
120
+ SparteraApiSdk.configure do |config|
121
+ # Configure API key authorization: ApiKeyAuth
122
+ config.api_key['x-api-key'] = 'YOUR API KEY'
123
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
124
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
125
+ end
126
+
127
+ api_instance = SparteraApiSdk::EndpointsApi.new
128
+ company_id = 'company_id_example' # String | Unique identifier for the Company
129
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
130
+ endpoints_input = SparteraApiSdk::EndpointsInput.new({company_id: 'company_id_abc123', connection_id: 'connection_id_abc123', name: 'Example Name'}) # EndpointsInput |
131
+
132
+ begin
133
+ # POST /companies/{company_id}/endpoints/{endpoint_id}/keys
134
+ result = api_instance.create_endpoints_keys(company_id, endpoint_id, endpoints_input)
135
+ p result
136
+ rescue SparteraApiSdk::ApiError => e
137
+ puts "Error when calling EndpointsApi->create_endpoints_keys: #{e}"
138
+ end
139
+ ```
140
+
141
+ #### Using the create_endpoints_keys_with_http_info variant
142
+
143
+ This returns an Array which contains the response data, status code and headers.
144
+
145
+ > <Array(<CreateEndpoints200Response>, Integer, Hash)> create_endpoints_keys_with_http_info(company_id, endpoint_id, endpoints_input)
146
+
147
+ ```ruby
148
+ begin
149
+ # POST /companies/{company_id}/endpoints/{endpoint_id}/keys
150
+ data, status_code, headers = api_instance.create_endpoints_keys_with_http_info(company_id, endpoint_id, endpoints_input)
151
+ p status_code # => 2xx
152
+ p headers # => { ... }
153
+ p data # => <CreateEndpoints200Response>
154
+ rescue SparteraApiSdk::ApiError => e
155
+ puts "Error when calling EndpointsApi->create_endpoints_keys_with_http_info: #{e}"
156
+ end
157
+ ```
158
+
159
+ ### Parameters
160
+
161
+ | Name | Type | Description | Notes |
162
+ | ---- | ---- | ----------- | ----- |
163
+ | **company_id** | **String** | Unique identifier for the Company | |
164
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
165
+ | **endpoints_input** | [**EndpointsInput**](EndpointsInput.md) | | |
166
+
167
+ ### Return type
168
+
169
+ [**CreateEndpoints200Response**](CreateEndpoints200Response.md)
170
+
171
+ ### Authorization
172
+
173
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
174
+
175
+ ### HTTP request headers
176
+
177
+ - **Content-Type**: application/json
178
+ - **Accept**: application/json
179
+
180
+
181
+ ## create_endpoints_scan_column
182
+
183
+ > <CreateEndpoints200Response> create_endpoints_scan_column(company_id, endpoint_id, endpoints_input)
184
+
185
+ POST /companies/{company_id}/endpoints/{endpoint_id}/scan_column
186
+
187
+ ### Examples
188
+
189
+ ```ruby
190
+ require 'time'
191
+ require 'spartera_api_sdk'
192
+ # setup authorization
193
+ SparteraApiSdk.configure do |config|
194
+ # Configure API key authorization: ApiKeyAuth
195
+ config.api_key['x-api-key'] = 'YOUR API KEY'
196
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
197
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
198
+ end
199
+
200
+ api_instance = SparteraApiSdk::EndpointsApi.new
201
+ company_id = 'company_id_example' # String | Unique identifier for the Company
202
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
203
+ endpoints_input = SparteraApiSdk::EndpointsInput.new({company_id: 'company_id_abc123', connection_id: 'connection_id_abc123', name: 'Example Name'}) # EndpointsInput |
204
+
205
+ begin
206
+ # POST /companies/{company_id}/endpoints/{endpoint_id}/scan_column
207
+ result = api_instance.create_endpoints_scan_column(company_id, endpoint_id, endpoints_input)
208
+ p result
209
+ rescue SparteraApiSdk::ApiError => e
210
+ puts "Error when calling EndpointsApi->create_endpoints_scan_column: #{e}"
211
+ end
212
+ ```
213
+
214
+ #### Using the create_endpoints_scan_column_with_http_info variant
215
+
216
+ This returns an Array which contains the response data, status code and headers.
217
+
218
+ > <Array(<CreateEndpoints200Response>, Integer, Hash)> create_endpoints_scan_column_with_http_info(company_id, endpoint_id, endpoints_input)
219
+
220
+ ```ruby
221
+ begin
222
+ # POST /companies/{company_id}/endpoints/{endpoint_id}/scan_column
223
+ data, status_code, headers = api_instance.create_endpoints_scan_column_with_http_info(company_id, endpoint_id, endpoints_input)
224
+ p status_code # => 2xx
225
+ p headers # => { ... }
226
+ p data # => <CreateEndpoints200Response>
227
+ rescue SparteraApiSdk::ApiError => e
228
+ puts "Error when calling EndpointsApi->create_endpoints_scan_column_with_http_info: #{e}"
229
+ end
230
+ ```
231
+
232
+ ### Parameters
233
+
234
+ | Name | Type | Description | Notes |
235
+ | ---- | ---- | ----------- | ----- |
236
+ | **company_id** | **String** | Unique identifier for the Company | |
237
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
238
+ | **endpoints_input** | [**EndpointsInput**](EndpointsInput.md) | | |
239
+
240
+ ### Return type
241
+
242
+ [**CreateEndpoints200Response**](CreateEndpoints200Response.md)
243
+
244
+ ### Authorization
245
+
246
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
247
+
248
+ ### HTTP request headers
249
+
250
+ - **Content-Type**: application/json
251
+ - **Accept**: application/json
252
+
253
+
254
+ ## delete_endpoints
255
+
256
+ > <DeleteEndpoints200Response> delete_endpoints(company_id, endpoint_id)
257
+
258
+ Delete single endpoint by ID
259
+
260
+ ### Examples
261
+
262
+ ```ruby
263
+ require 'time'
264
+ require 'spartera_api_sdk'
265
+ # setup authorization
266
+ SparteraApiSdk.configure do |config|
267
+ # Configure API key authorization: ApiKeyAuth
268
+ config.api_key['x-api-key'] = 'YOUR API KEY'
269
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
270
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
271
+ end
272
+
273
+ api_instance = SparteraApiSdk::EndpointsApi.new
274
+ company_id = 'company_id_example' # String | Unique identifier for the Company
275
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
276
+
277
+ begin
278
+ # Delete single endpoint by ID
279
+ result = api_instance.delete_endpoints(company_id, endpoint_id)
280
+ p result
281
+ rescue SparteraApiSdk::ApiError => e
282
+ puts "Error when calling EndpointsApi->delete_endpoints: #{e}"
283
+ end
284
+ ```
285
+
286
+ #### Using the delete_endpoints_with_http_info variant
287
+
288
+ This returns an Array which contains the response data, status code and headers.
289
+
290
+ > <Array(<DeleteEndpoints200Response>, Integer, Hash)> delete_endpoints_with_http_info(company_id, endpoint_id)
291
+
292
+ ```ruby
293
+ begin
294
+ # Delete single endpoint by ID
295
+ data, status_code, headers = api_instance.delete_endpoints_with_http_info(company_id, endpoint_id)
296
+ p status_code # => 2xx
297
+ p headers # => { ... }
298
+ p data # => <DeleteEndpoints200Response>
299
+ rescue SparteraApiSdk::ApiError => e
300
+ puts "Error when calling EndpointsApi->delete_endpoints_with_http_info: #{e}"
301
+ end
302
+ ```
303
+
304
+ ### Parameters
305
+
306
+ | Name | Type | Description | Notes |
307
+ | ---- | ---- | ----------- | ----- |
308
+ | **company_id** | **String** | Unique identifier for the Company | |
309
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
310
+
311
+ ### Return type
312
+
313
+ [**DeleteEndpoints200Response**](DeleteEndpoints200Response.md)
314
+
315
+ ### Authorization
316
+
317
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
318
+
319
+ ### HTTP request headers
320
+
321
+ - **Content-Type**: Not defined
322
+ - **Accept**: application/json
323
+
324
+
325
+ ## delete_endpoints_keys
326
+
327
+ > <DeleteEndpoints200Response> delete_endpoints_keys(company_id, endpoint_id, api_key_id)
328
+
329
+ DELETE /companies/{company_id}/endpoints/{endpoint_id}/keys/{api_key_id}
330
+
331
+ ### Examples
332
+
333
+ ```ruby
334
+ require 'time'
335
+ require 'spartera_api_sdk'
336
+ # setup authorization
337
+ SparteraApiSdk.configure do |config|
338
+ # Configure API key authorization: ApiKeyAuth
339
+ config.api_key['x-api-key'] = 'YOUR API KEY'
340
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
341
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
342
+ end
343
+
344
+ api_instance = SparteraApiSdk::EndpointsApi.new
345
+ company_id = 'company_id_example' # String | Unique identifier for the Company
346
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
347
+ api_key_id = 'api_key_id_example' # String | Unique identifier for the Api Key
348
+
349
+ begin
350
+ # DELETE /companies/{company_id}/endpoints/{endpoint_id}/keys/{api_key_id}
351
+ result = api_instance.delete_endpoints_keys(company_id, endpoint_id, api_key_id)
352
+ p result
353
+ rescue SparteraApiSdk::ApiError => e
354
+ puts "Error when calling EndpointsApi->delete_endpoints_keys: #{e}"
355
+ end
356
+ ```
357
+
358
+ #### Using the delete_endpoints_keys_with_http_info variant
359
+
360
+ This returns an Array which contains the response data, status code and headers.
361
+
362
+ > <Array(<DeleteEndpoints200Response>, Integer, Hash)> delete_endpoints_keys_with_http_info(company_id, endpoint_id, api_key_id)
363
+
364
+ ```ruby
365
+ begin
366
+ # DELETE /companies/{company_id}/endpoints/{endpoint_id}/keys/{api_key_id}
367
+ data, status_code, headers = api_instance.delete_endpoints_keys_with_http_info(company_id, endpoint_id, api_key_id)
368
+ p status_code # => 2xx
369
+ p headers # => { ... }
370
+ p data # => <DeleteEndpoints200Response>
371
+ rescue SparteraApiSdk::ApiError => e
372
+ puts "Error when calling EndpointsApi->delete_endpoints_keys_with_http_info: #{e}"
373
+ end
374
+ ```
375
+
376
+ ### Parameters
377
+
378
+ | Name | Type | Description | Notes |
379
+ | ---- | ---- | ----------- | ----- |
380
+ | **company_id** | **String** | Unique identifier for the Company | |
381
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
382
+ | **api_key_id** | **String** | Unique identifier for the Api Key | |
383
+
384
+ ### Return type
385
+
386
+ [**DeleteEndpoints200Response**](DeleteEndpoints200Response.md)
387
+
388
+ ### Authorization
389
+
390
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
391
+
392
+ ### HTTP request headers
393
+
394
+ - **Content-Type**: Not defined
395
+ - **Accept**: application/json
396
+
397
+
398
+ ## get_endpoints_by_id
399
+
400
+ > <GetEndpointsByIdConnectionsDescribe200Response> get_endpoints_by_id(company_id, endpoint_id)
401
+
402
+ Get single endpoint by ID
403
+
404
+ ### Examples
405
+
406
+ ```ruby
407
+ require 'time'
408
+ require 'spartera_api_sdk'
409
+ # setup authorization
410
+ SparteraApiSdk.configure do |config|
411
+ # Configure API key authorization: ApiKeyAuth
412
+ config.api_key['x-api-key'] = 'YOUR API KEY'
413
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
414
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
415
+ end
416
+
417
+ api_instance = SparteraApiSdk::EndpointsApi.new
418
+ company_id = 'company_id_example' # String | Unique identifier for the Company
419
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
420
+
421
+ begin
422
+ # Get single endpoint by ID
423
+ result = api_instance.get_endpoints_by_id(company_id, endpoint_id)
424
+ p result
425
+ rescue SparteraApiSdk::ApiError => e
426
+ puts "Error when calling EndpointsApi->get_endpoints_by_id: #{e}"
427
+ end
428
+ ```
429
+
430
+ #### Using the get_endpoints_by_id_with_http_info variant
431
+
432
+ This returns an Array which contains the response data, status code and headers.
433
+
434
+ > <Array(<GetEndpointsByIdConnectionsDescribe200Response>, Integer, Hash)> get_endpoints_by_id_with_http_info(company_id, endpoint_id)
435
+
436
+ ```ruby
437
+ begin
438
+ # Get single endpoint by ID
439
+ data, status_code, headers = api_instance.get_endpoints_by_id_with_http_info(company_id, endpoint_id)
440
+ p status_code # => 2xx
441
+ p headers # => { ... }
442
+ p data # => <GetEndpointsByIdConnectionsDescribe200Response>
443
+ rescue SparteraApiSdk::ApiError => e
444
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_with_http_info: #{e}"
445
+ end
446
+ ```
447
+
448
+ ### Parameters
449
+
450
+ | Name | Type | Description | Notes |
451
+ | ---- | ---- | ----------- | ----- |
452
+ | **company_id** | **String** | Unique identifier for the Company | |
453
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
454
+
455
+ ### Return type
456
+
457
+ [**GetEndpointsByIdConnectionsDescribe200Response**](GetEndpointsByIdConnectionsDescribe200Response.md)
458
+
459
+ ### Authorization
460
+
461
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
462
+
463
+ ### HTTP request headers
464
+
465
+ - **Content-Type**: Not defined
466
+ - **Accept**: application/json
467
+
468
+
469
+ ## get_endpoints_by_id_available_endpoints
470
+
471
+ > <GetEndpointsByIdConnectionsDescribe200Response> get_endpoints_by_id_available_endpoints(company_id, endpoint_id)
472
+
473
+ GET /companies/{company_id}/endpoints/{endpoint_id}/available-endpoints
474
+
475
+ ### Examples
476
+
477
+ ```ruby
478
+ require 'time'
479
+ require 'spartera_api_sdk'
480
+ # setup authorization
481
+ SparteraApiSdk.configure do |config|
482
+ # Configure API key authorization: ApiKeyAuth
483
+ config.api_key['x-api-key'] = 'YOUR API KEY'
484
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
485
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
486
+ end
487
+
488
+ api_instance = SparteraApiSdk::EndpointsApi.new
489
+ company_id = 'company_id_example' # String | Unique identifier for the Company
490
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
491
+
492
+ begin
493
+ # GET /companies/{company_id}/endpoints/{endpoint_id}/available-endpoints
494
+ result = api_instance.get_endpoints_by_id_available_endpoints(company_id, endpoint_id)
495
+ p result
496
+ rescue SparteraApiSdk::ApiError => e
497
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_available_endpoints: #{e}"
498
+ end
499
+ ```
500
+
501
+ #### Using the get_endpoints_by_id_available_endpoints_with_http_info variant
502
+
503
+ This returns an Array which contains the response data, status code and headers.
504
+
505
+ > <Array(<GetEndpointsByIdConnectionsDescribe200Response>, Integer, Hash)> get_endpoints_by_id_available_endpoints_with_http_info(company_id, endpoint_id)
506
+
507
+ ```ruby
508
+ begin
509
+ # GET /companies/{company_id}/endpoints/{endpoint_id}/available-endpoints
510
+ data, status_code, headers = api_instance.get_endpoints_by_id_available_endpoints_with_http_info(company_id, endpoint_id)
511
+ p status_code # => 2xx
512
+ p headers # => { ... }
513
+ p data # => <GetEndpointsByIdConnectionsDescribe200Response>
514
+ rescue SparteraApiSdk::ApiError => e
515
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_available_endpoints_with_http_info: #{e}"
516
+ end
517
+ ```
518
+
519
+ ### Parameters
520
+
521
+ | Name | Type | Description | Notes |
522
+ | ---- | ---- | ----------- | ----- |
523
+ | **company_id** | **String** | Unique identifier for the Company | |
524
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
525
+
526
+ ### Return type
527
+
528
+ [**GetEndpointsByIdConnectionsDescribe200Response**](GetEndpointsByIdConnectionsDescribe200Response.md)
529
+
530
+ ### Authorization
531
+
532
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
533
+
534
+ ### HTTP request headers
535
+
536
+ - **Content-Type**: Not defined
537
+ - **Accept**: application/json
538
+
539
+
540
+ ## get_endpoints_by_id_connections_describe
541
+
542
+ > <GetEndpointsByIdConnectionsDescribe200Response> get_endpoints_by_id_connections_describe(company_id, connection_id)
543
+
544
+ Get schema information for a connection Query parameters: include_fields: Whether to include field information (default: true) schemas: Optional comma-separated schemas to include tables: Optional comma-separated tables to include
545
+
546
+ ### Examples
547
+
548
+ ```ruby
549
+ require 'time'
550
+ require 'spartera_api_sdk'
551
+ # setup authorization
552
+ SparteraApiSdk.configure do |config|
553
+ # Configure API key authorization: ApiKeyAuth
554
+ config.api_key['x-api-key'] = 'YOUR API KEY'
555
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
556
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
557
+ end
558
+
559
+ api_instance = SparteraApiSdk::EndpointsApi.new
560
+ company_id = 'company_id_example' # String | Unique identifier for the Company
561
+ connection_id = 'connection_id_example' # String | Unique identifier for the Connection
562
+
563
+ begin
564
+ # Get schema information for a connection Query parameters: include_fields: Whether to include field information (default: true) schemas: Optional comma-separated schemas to include tables: Optional comma-separated tables to include
565
+ result = api_instance.get_endpoints_by_id_connections_describe(company_id, connection_id)
566
+ p result
567
+ rescue SparteraApiSdk::ApiError => e
568
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_connections_describe: #{e}"
569
+ end
570
+ ```
571
+
572
+ #### Using the get_endpoints_by_id_connections_describe_with_http_info variant
573
+
574
+ This returns an Array which contains the response data, status code and headers.
575
+
576
+ > <Array(<GetEndpointsByIdConnectionsDescribe200Response>, Integer, Hash)> get_endpoints_by_id_connections_describe_with_http_info(company_id, connection_id)
577
+
578
+ ```ruby
579
+ begin
580
+ # Get schema information for a connection Query parameters: include_fields: Whether to include field information (default: true) schemas: Optional comma-separated schemas to include tables: Optional comma-separated tables to include
581
+ data, status_code, headers = api_instance.get_endpoints_by_id_connections_describe_with_http_info(company_id, connection_id)
582
+ p status_code # => 2xx
583
+ p headers # => { ... }
584
+ p data # => <GetEndpointsByIdConnectionsDescribe200Response>
585
+ rescue SparteraApiSdk::ApiError => e
586
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_connections_describe_with_http_info: #{e}"
587
+ end
588
+ ```
589
+
590
+ ### Parameters
591
+
592
+ | Name | Type | Description | Notes |
593
+ | ---- | ---- | ----------- | ----- |
594
+ | **company_id** | **String** | Unique identifier for the Company | |
595
+ | **connection_id** | **String** | Unique identifier for the Connection | |
596
+
597
+ ### Return type
598
+
599
+ [**GetEndpointsByIdConnectionsDescribe200Response**](GetEndpointsByIdConnectionsDescribe200Response.md)
600
+
601
+ ### Authorization
602
+
603
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
604
+
605
+ ### HTTP request headers
606
+
607
+ - **Content-Type**: Not defined
608
+ - **Accept**: application/json
609
+
610
+
611
+ ## get_endpoints_by_id_execute
612
+
613
+ > <GetEndpointsByIdConnectionsDescribe200Response> get_endpoints_by_id_execute(company_id, endpoint_id)
614
+
615
+ Execute an endpoint with pagination support. Customer-facing route that returns paginated data. Query params: ?start=0&limit=100
616
+
617
+ ### Examples
618
+
619
+ ```ruby
620
+ require 'time'
621
+ require 'spartera_api_sdk'
622
+ # setup authorization
623
+ SparteraApiSdk.configure do |config|
624
+ # Configure API key authorization: ApiKeyAuth
625
+ config.api_key['x-api-key'] = 'YOUR API KEY'
626
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
627
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
628
+ end
629
+
630
+ api_instance = SparteraApiSdk::EndpointsApi.new
631
+ company_id = 'company_id_example' # String | Unique identifier for the Company
632
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
633
+
634
+ begin
635
+ # Execute an endpoint with pagination support. Customer-facing route that returns paginated data. Query params: ?start=0&limit=100
636
+ result = api_instance.get_endpoints_by_id_execute(company_id, endpoint_id)
637
+ p result
638
+ rescue SparteraApiSdk::ApiError => e
639
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_execute: #{e}"
640
+ end
641
+ ```
642
+
643
+ #### Using the get_endpoints_by_id_execute_with_http_info variant
644
+
645
+ This returns an Array which contains the response data, status code and headers.
646
+
647
+ > <Array(<GetEndpointsByIdConnectionsDescribe200Response>, Integer, Hash)> get_endpoints_by_id_execute_with_http_info(company_id, endpoint_id)
648
+
649
+ ```ruby
650
+ begin
651
+ # Execute an endpoint with pagination support. Customer-facing route that returns paginated data. Query params: ?start=0&limit=100
652
+ data, status_code, headers = api_instance.get_endpoints_by_id_execute_with_http_info(company_id, endpoint_id)
653
+ p status_code # => 2xx
654
+ p headers # => { ... }
655
+ p data # => <GetEndpointsByIdConnectionsDescribe200Response>
656
+ rescue SparteraApiSdk::ApiError => e
657
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_execute_with_http_info: #{e}"
658
+ end
659
+ ```
660
+
661
+ ### Parameters
662
+
663
+ | Name | Type | Description | Notes |
664
+ | ---- | ---- | ----------- | ----- |
665
+ | **company_id** | **String** | Unique identifier for the Company | |
666
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
667
+
668
+ ### Return type
669
+
670
+ [**GetEndpointsByIdConnectionsDescribe200Response**](GetEndpointsByIdConnectionsDescribe200Response.md)
671
+
672
+ ### Authorization
673
+
674
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
675
+
676
+ ### HTTP request headers
677
+
678
+ - **Content-Type**: Not defined
679
+ - **Accept**: application/json
680
+
681
+
682
+ ## get_endpoints_by_id_keys
683
+
684
+ > <GetEndpointsByIdConnectionsDescribe200Response> get_endpoints_by_id_keys(company_id, endpoint_id)
685
+
686
+ GET /companies/{company_id}/endpoints/{endpoint_id}/keys
687
+
688
+ ### Examples
689
+
690
+ ```ruby
691
+ require 'time'
692
+ require 'spartera_api_sdk'
693
+ # setup authorization
694
+ SparteraApiSdk.configure do |config|
695
+ # Configure API key authorization: ApiKeyAuth
696
+ config.api_key['x-api-key'] = 'YOUR API KEY'
697
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
698
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
699
+ end
700
+
701
+ api_instance = SparteraApiSdk::EndpointsApi.new
702
+ company_id = 'company_id_example' # String | Unique identifier for the Company
703
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
704
+
705
+ begin
706
+ # GET /companies/{company_id}/endpoints/{endpoint_id}/keys
707
+ result = api_instance.get_endpoints_by_id_keys(company_id, endpoint_id)
708
+ p result
709
+ rescue SparteraApiSdk::ApiError => e
710
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_keys: #{e}"
711
+ end
712
+ ```
713
+
714
+ #### Using the get_endpoints_by_id_keys_with_http_info variant
715
+
716
+ This returns an Array which contains the response data, status code and headers.
717
+
718
+ > <Array(<GetEndpointsByIdConnectionsDescribe200Response>, Integer, Hash)> get_endpoints_by_id_keys_with_http_info(company_id, endpoint_id)
719
+
720
+ ```ruby
721
+ begin
722
+ # GET /companies/{company_id}/endpoints/{endpoint_id}/keys
723
+ data, status_code, headers = api_instance.get_endpoints_by_id_keys_with_http_info(company_id, endpoint_id)
724
+ p status_code # => 2xx
725
+ p headers # => { ... }
726
+ p data # => <GetEndpointsByIdConnectionsDescribe200Response>
727
+ rescue SparteraApiSdk::ApiError => e
728
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_keys_with_http_info: #{e}"
729
+ end
730
+ ```
731
+
732
+ ### Parameters
733
+
734
+ | Name | Type | Description | Notes |
735
+ | ---- | ---- | ----------- | ----- |
736
+ | **company_id** | **String** | Unique identifier for the Company | |
737
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
738
+
739
+ ### Return type
740
+
741
+ [**GetEndpointsByIdConnectionsDescribe200Response**](GetEndpointsByIdConnectionsDescribe200Response.md)
742
+
743
+ ### Authorization
744
+
745
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
746
+
747
+ ### HTTP request headers
748
+
749
+ - **Content-Type**: Not defined
750
+ - **Accept**: application/json
751
+
752
+
753
+ ## get_endpoints_by_id_recommendations
754
+
755
+ > <GetEndpointsByIdConnectionsDescribe200Response> get_endpoints_by_id_recommendations(company_id, endpoint_id)
756
+
757
+ GET /companies/{company_id}/endpoints/{endpoint_id}/recommendations
758
+
759
+ ### Examples
760
+
761
+ ```ruby
762
+ require 'time'
763
+ require 'spartera_api_sdk'
764
+ # setup authorization
765
+ SparteraApiSdk.configure do |config|
766
+ # Configure API key authorization: ApiKeyAuth
767
+ config.api_key['x-api-key'] = 'YOUR API KEY'
768
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
769
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
770
+ end
771
+
772
+ api_instance = SparteraApiSdk::EndpointsApi.new
773
+ company_id = 'company_id_example' # String | Unique identifier for the Company
774
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
775
+
776
+ begin
777
+ # GET /companies/{company_id}/endpoints/{endpoint_id}/recommendations
778
+ result = api_instance.get_endpoints_by_id_recommendations(company_id, endpoint_id)
779
+ p result
780
+ rescue SparteraApiSdk::ApiError => e
781
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_recommendations: #{e}"
782
+ end
783
+ ```
784
+
785
+ #### Using the get_endpoints_by_id_recommendations_with_http_info variant
786
+
787
+ This returns an Array which contains the response data, status code and headers.
788
+
789
+ > <Array(<GetEndpointsByIdConnectionsDescribe200Response>, Integer, Hash)> get_endpoints_by_id_recommendations_with_http_info(company_id, endpoint_id)
790
+
791
+ ```ruby
792
+ begin
793
+ # GET /companies/{company_id}/endpoints/{endpoint_id}/recommendations
794
+ data, status_code, headers = api_instance.get_endpoints_by_id_recommendations_with_http_info(company_id, endpoint_id)
795
+ p status_code # => 2xx
796
+ p headers # => { ... }
797
+ p data # => <GetEndpointsByIdConnectionsDescribe200Response>
798
+ rescue SparteraApiSdk::ApiError => e
799
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_recommendations_with_http_info: #{e}"
800
+ end
801
+ ```
802
+
803
+ ### Parameters
804
+
805
+ | Name | Type | Description | Notes |
806
+ | ---- | ---- | ----------- | ----- |
807
+ | **company_id** | **String** | Unique identifier for the Company | |
808
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
809
+
810
+ ### Return type
811
+
812
+ [**GetEndpointsByIdConnectionsDescribe200Response**](GetEndpointsByIdConnectionsDescribe200Response.md)
813
+
814
+ ### Authorization
815
+
816
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
817
+
818
+ ### HTTP request headers
819
+
820
+ - **Content-Type**: Not defined
821
+ - **Accept**: application/json
822
+
823
+
824
+ ## get_endpoints_by_id_stats
825
+
826
+ > <GetEndpointsByIdConnectionsDescribe200Response> get_endpoints_by_id_stats(company_id, endpoint_id)
827
+
828
+ Get usage statistics for an endpoint Query parameters: days: Number of days to analyze (default: 30)
829
+
830
+ ### Examples
831
+
832
+ ```ruby
833
+ require 'time'
834
+ require 'spartera_api_sdk'
835
+ # setup authorization
836
+ SparteraApiSdk.configure do |config|
837
+ # Configure API key authorization: ApiKeyAuth
838
+ config.api_key['x-api-key'] = 'YOUR API KEY'
839
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
840
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
841
+ end
842
+
843
+ api_instance = SparteraApiSdk::EndpointsApi.new
844
+ company_id = 'company_id_example' # String | Unique identifier for the Company
845
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
846
+
847
+ begin
848
+ # Get usage statistics for an endpoint Query parameters: days: Number of days to analyze (default: 30)
849
+ result = api_instance.get_endpoints_by_id_stats(company_id, endpoint_id)
850
+ p result
851
+ rescue SparteraApiSdk::ApiError => e
852
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_stats: #{e}"
853
+ end
854
+ ```
855
+
856
+ #### Using the get_endpoints_by_id_stats_with_http_info variant
857
+
858
+ This returns an Array which contains the response data, status code and headers.
859
+
860
+ > <Array(<GetEndpointsByIdConnectionsDescribe200Response>, Integer, Hash)> get_endpoints_by_id_stats_with_http_info(company_id, endpoint_id)
861
+
862
+ ```ruby
863
+ begin
864
+ # Get usage statistics for an endpoint Query parameters: days: Number of days to analyze (default: 30)
865
+ data, status_code, headers = api_instance.get_endpoints_by_id_stats_with_http_info(company_id, endpoint_id)
866
+ p status_code # => 2xx
867
+ p headers # => { ... }
868
+ p data # => <GetEndpointsByIdConnectionsDescribe200Response>
869
+ rescue SparteraApiSdk::ApiError => e
870
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_stats_with_http_info: #{e}"
871
+ end
872
+ ```
873
+
874
+ ### Parameters
875
+
876
+ | Name | Type | Description | Notes |
877
+ | ---- | ---- | ----------- | ----- |
878
+ | **company_id** | **String** | Unique identifier for the Company | |
879
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
880
+
881
+ ### Return type
882
+
883
+ [**GetEndpointsByIdConnectionsDescribe200Response**](GetEndpointsByIdConnectionsDescribe200Response.md)
884
+
885
+ ### Authorization
886
+
887
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
888
+
889
+ ### HTTP request headers
890
+
891
+ - **Content-Type**: Not defined
892
+ - **Accept**: application/json
893
+
894
+
895
+ ## get_endpoints_by_id_test
896
+
897
+ > <GetEndpointsByIdConnectionsDescribe200Response> get_endpoints_by_id_test(company_id, endpoint_id)
898
+
899
+ Test an endpoint with sample data Request body (optional): limit: Number of sample rows to return (default: 10)
900
+
901
+ ### Examples
902
+
903
+ ```ruby
904
+ require 'time'
905
+ require 'spartera_api_sdk'
906
+ # setup authorization
907
+ SparteraApiSdk.configure do |config|
908
+ # Configure API key authorization: ApiKeyAuth
909
+ config.api_key['x-api-key'] = 'YOUR API KEY'
910
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
911
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
912
+ end
913
+
914
+ api_instance = SparteraApiSdk::EndpointsApi.new
915
+ company_id = 'company_id_example' # String | Unique identifier for the Company
916
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
917
+
918
+ begin
919
+ # Test an endpoint with sample data Request body (optional): limit: Number of sample rows to return (default: 10)
920
+ result = api_instance.get_endpoints_by_id_test(company_id, endpoint_id)
921
+ p result
922
+ rescue SparteraApiSdk::ApiError => e
923
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_test: #{e}"
924
+ end
925
+ ```
926
+
927
+ #### Using the get_endpoints_by_id_test_with_http_info variant
928
+
929
+ This returns an Array which contains the response data, status code and headers.
930
+
931
+ > <Array(<GetEndpointsByIdConnectionsDescribe200Response>, Integer, Hash)> get_endpoints_by_id_test_with_http_info(company_id, endpoint_id)
932
+
933
+ ```ruby
934
+ begin
935
+ # Test an endpoint with sample data Request body (optional): limit: Number of sample rows to return (default: 10)
936
+ data, status_code, headers = api_instance.get_endpoints_by_id_test_with_http_info(company_id, endpoint_id)
937
+ p status_code # => 2xx
938
+ p headers # => { ... }
939
+ p data # => <GetEndpointsByIdConnectionsDescribe200Response>
940
+ rescue SparteraApiSdk::ApiError => e
941
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_test_with_http_info: #{e}"
942
+ end
943
+ ```
944
+
945
+ ### Parameters
946
+
947
+ | Name | Type | Description | Notes |
948
+ | ---- | ---- | ----------- | ----- |
949
+ | **company_id** | **String** | Unique identifier for the Company | |
950
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
951
+
952
+ ### Return type
953
+
954
+ [**GetEndpointsByIdConnectionsDescribe200Response**](GetEndpointsByIdConnectionsDescribe200Response.md)
955
+
956
+ ### Authorization
957
+
958
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
959
+
960
+ ### HTTP request headers
961
+
962
+ - **Content-Type**: Not defined
963
+ - **Accept**: application/json
964
+
965
+
966
+ ## get_endpoints_by_id_url
967
+
968
+ > <GetEndpointsByIdConnectionsDescribe200Response> get_endpoints_by_id_url(company_id, endpoint_id)
969
+
970
+ GET /companies/{company_id}/endpoints/{endpoint_id}/url
971
+
972
+ ### Examples
973
+
974
+ ```ruby
975
+ require 'time'
976
+ require 'spartera_api_sdk'
977
+ # setup authorization
978
+ SparteraApiSdk.configure do |config|
979
+ # Configure API key authorization: ApiKeyAuth
980
+ config.api_key['x-api-key'] = 'YOUR API KEY'
981
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
982
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
983
+ end
984
+
985
+ api_instance = SparteraApiSdk::EndpointsApi.new
986
+ company_id = 'company_id_example' # String | Unique identifier for the Company
987
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
988
+
989
+ begin
990
+ # GET /companies/{company_id}/endpoints/{endpoint_id}/url
991
+ result = api_instance.get_endpoints_by_id_url(company_id, endpoint_id)
992
+ p result
993
+ rescue SparteraApiSdk::ApiError => e
994
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_url: #{e}"
995
+ end
996
+ ```
997
+
998
+ #### Using the get_endpoints_by_id_url_with_http_info variant
999
+
1000
+ This returns an Array which contains the response data, status code and headers.
1001
+
1002
+ > <Array(<GetEndpointsByIdConnectionsDescribe200Response>, Integer, Hash)> get_endpoints_by_id_url_with_http_info(company_id, endpoint_id)
1003
+
1004
+ ```ruby
1005
+ begin
1006
+ # GET /companies/{company_id}/endpoints/{endpoint_id}/url
1007
+ data, status_code, headers = api_instance.get_endpoints_by_id_url_with_http_info(company_id, endpoint_id)
1008
+ p status_code # => 2xx
1009
+ p headers # => { ... }
1010
+ p data # => <GetEndpointsByIdConnectionsDescribe200Response>
1011
+ rescue SparteraApiSdk::ApiError => e
1012
+ puts "Error when calling EndpointsApi->get_endpoints_by_id_url_with_http_info: #{e}"
1013
+ end
1014
+ ```
1015
+
1016
+ ### Parameters
1017
+
1018
+ | Name | Type | Description | Notes |
1019
+ | ---- | ---- | ----------- | ----- |
1020
+ | **company_id** | **String** | Unique identifier for the Company | |
1021
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
1022
+
1023
+ ### Return type
1024
+
1025
+ [**GetEndpointsByIdConnectionsDescribe200Response**](GetEndpointsByIdConnectionsDescribe200Response.md)
1026
+
1027
+ ### Authorization
1028
+
1029
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
1030
+
1031
+ ### HTTP request headers
1032
+
1033
+ - **Content-Type**: Not defined
1034
+ - **Accept**: application/json
1035
+
1036
+
1037
+ ## list_endpoints
1038
+
1039
+ > <ListEndpoints200Response> list_endpoints(company_id, opts)
1040
+
1041
+ Get all endpoints for a specific company with pagination, filtering, and sorting
1042
+
1043
+ ### Examples
1044
+
1045
+ ```ruby
1046
+ require 'time'
1047
+ require 'spartera_api_sdk'
1048
+ # setup authorization
1049
+ SparteraApiSdk.configure do |config|
1050
+ # Configure API key authorization: ApiKeyAuth
1051
+ config.api_key['x-api-key'] = 'YOUR API KEY'
1052
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1053
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
1054
+ end
1055
+
1056
+ api_instance = SparteraApiSdk::EndpointsApi.new
1057
+ company_id = 'company_id_example' # String | Unique identifier for the Company
1058
+ opts = {
1059
+ page: 56, # Integer | Page number for pagination
1060
+ limit: 56, # Integer | Number of items per page
1061
+ sort_by: 'sort_by_example', # String | Field to sort by
1062
+ sort_order: 'asc', # String | Sort order (ascending or descending)
1063
+ search: 'search_example' # String | Search term to filter results
1064
+ }
1065
+
1066
+ begin
1067
+ # Get all endpoints for a specific company with pagination, filtering, and sorting
1068
+ result = api_instance.list_endpoints(company_id, opts)
1069
+ p result
1070
+ rescue SparteraApiSdk::ApiError => e
1071
+ puts "Error when calling EndpointsApi->list_endpoints: #{e}"
1072
+ end
1073
+ ```
1074
+
1075
+ #### Using the list_endpoints_with_http_info variant
1076
+
1077
+ This returns an Array which contains the response data, status code and headers.
1078
+
1079
+ > <Array(<ListEndpoints200Response>, Integer, Hash)> list_endpoints_with_http_info(company_id, opts)
1080
+
1081
+ ```ruby
1082
+ begin
1083
+ # Get all endpoints for a specific company with pagination, filtering, and sorting
1084
+ data, status_code, headers = api_instance.list_endpoints_with_http_info(company_id, opts)
1085
+ p status_code # => 2xx
1086
+ p headers # => { ... }
1087
+ p data # => <ListEndpoints200Response>
1088
+ rescue SparteraApiSdk::ApiError => e
1089
+ puts "Error when calling EndpointsApi->list_endpoints_with_http_info: #{e}"
1090
+ end
1091
+ ```
1092
+
1093
+ ### Parameters
1094
+
1095
+ | Name | Type | Description | Notes |
1096
+ | ---- | ---- | ----------- | ----- |
1097
+ | **company_id** | **String** | Unique identifier for the Company | |
1098
+ | **page** | **Integer** | Page number for pagination | [optional][default to 1] |
1099
+ | **limit** | **Integer** | Number of items per page | [optional][default to 20] |
1100
+ | **sort_by** | **String** | Field to sort by | [optional] |
1101
+ | **sort_order** | **String** | Sort order (ascending or descending) | [optional][default to &#39;desc&#39;] |
1102
+ | **search** | **String** | Search term to filter results | [optional] |
1103
+
1104
+ ### Return type
1105
+
1106
+ [**ListEndpoints200Response**](ListEndpoints200Response.md)
1107
+
1108
+ ### Authorization
1109
+
1110
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
1111
+
1112
+ ### HTTP request headers
1113
+
1114
+ - **Content-Type**: Not defined
1115
+ - **Accept**: application/json
1116
+
1117
+
1118
+ ## update_endpoints
1119
+
1120
+ > <UpdateEndpoints200Response> update_endpoints(company_id, endpoint_id, endpoints_update)
1121
+
1122
+ Update an existing endpoint by ID
1123
+
1124
+ ### Examples
1125
+
1126
+ ```ruby
1127
+ require 'time'
1128
+ require 'spartera_api_sdk'
1129
+ # setup authorization
1130
+ SparteraApiSdk.configure do |config|
1131
+ # Configure API key authorization: ApiKeyAuth
1132
+ config.api_key['x-api-key'] = 'YOUR API KEY'
1133
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1134
+ # config.api_key_prefix['x-api-key'] = 'Bearer'
1135
+ end
1136
+
1137
+ api_instance = SparteraApiSdk::EndpointsApi.new
1138
+ company_id = 'company_id_example' # String | Unique identifier for the Company
1139
+ endpoint_id = 'endpoint_id_example' # String | Unique identifier for the Endpoint
1140
+ endpoints_update = SparteraApiSdk::EndpointsUpdate.new # EndpointsUpdate |
1141
+
1142
+ begin
1143
+ # Update an existing endpoint by ID
1144
+ result = api_instance.update_endpoints(company_id, endpoint_id, endpoints_update)
1145
+ p result
1146
+ rescue SparteraApiSdk::ApiError => e
1147
+ puts "Error when calling EndpointsApi->update_endpoints: #{e}"
1148
+ end
1149
+ ```
1150
+
1151
+ #### Using the update_endpoints_with_http_info variant
1152
+
1153
+ This returns an Array which contains the response data, status code and headers.
1154
+
1155
+ > <Array(<UpdateEndpoints200Response>, Integer, Hash)> update_endpoints_with_http_info(company_id, endpoint_id, endpoints_update)
1156
+
1157
+ ```ruby
1158
+ begin
1159
+ # Update an existing endpoint by ID
1160
+ data, status_code, headers = api_instance.update_endpoints_with_http_info(company_id, endpoint_id, endpoints_update)
1161
+ p status_code # => 2xx
1162
+ p headers # => { ... }
1163
+ p data # => <UpdateEndpoints200Response>
1164
+ rescue SparteraApiSdk::ApiError => e
1165
+ puts "Error when calling EndpointsApi->update_endpoints_with_http_info: #{e}"
1166
+ end
1167
+ ```
1168
+
1169
+ ### Parameters
1170
+
1171
+ | Name | Type | Description | Notes |
1172
+ | ---- | ---- | ----------- | ----- |
1173
+ | **company_id** | **String** | Unique identifier for the Company | |
1174
+ | **endpoint_id** | **String** | Unique identifier for the Endpoint | |
1175
+ | **endpoints_update** | [**EndpointsUpdate**](EndpointsUpdate.md) | | |
1176
+
1177
+ ### Return type
1178
+
1179
+ [**UpdateEndpoints200Response**](UpdateEndpoints200Response.md)
1180
+
1181
+ ### Authorization
1182
+
1183
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
1184
+
1185
+ ### HTTP request headers
1186
+
1187
+ - **Content-Type**: application/json
1188
+ - **Accept**: application/json
1189
+