spartera_api_sdk 0.3.7 → 1.0.58

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