spartera_api_sdk 1.0.68 → 1.0.72
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.
- checksums.yaml +4 -4
- data/docs/APIKeysApi.md +20 -20
- data/docs/AlertsApi.md +28 -28
- data/docs/AssetPriceHistoryApi.md +32 -32
- data/docs/AssetsApi.md +52 -52
- data/docs/CloudProvidersApi.md +8 -8
- data/docs/CompaniesApi.md +36 -36
- data/docs/CompaniesCompanyIdApiKeysGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdConnectionsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdPatch200ResponseData.md +18 -0
- data/docs/ConnectionsApi.md +28 -28
- data/docs/FavoritesApi.md +32 -32
- data/docs/MeGet200Response.md +36 -0
- data/docs/MeGet200ResponseApiKeyInfo.md +20 -0
- data/docs/MeGet200ResponseProfile.md +36 -0
- data/docs/MeGet200ResponseTokenMetadata.md +24 -0
- data/docs/StorageEnginesApi.md +8 -8
- data/docs/UsersApi.md +87 -20
- data/lib/spartera_api_sdk/api/alerts_api.rb +21 -21
- data/lib/spartera_api_sdk/api/api_keys_api.rb +15 -15
- data/lib/spartera_api_sdk/api/asset_price_history_api.rb +24 -24
- data/lib/spartera_api_sdk/api/assets_api.rb +46 -46
- data/lib/spartera_api_sdk/api/cloud_providers_api.rb +6 -6
- data/lib/spartera_api_sdk/api/companies_api.rb +27 -27
- data/lib/spartera_api_sdk/api/connections_api.rb +21 -21
- data/lib/spartera_api_sdk/api/favorites_api.rb +24 -24
- data/lib/spartera_api_sdk/api/storage_engines_api.rb +6 -6
- data/lib/spartera_api_sdk/api/users_api.rb +70 -15
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_get200_response.rb +248 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/me_get200_response.rb +417 -0
- data/lib/spartera_api_sdk/models/me_get200_response_api_key_info.rb +232 -0
- data/lib/spartera_api_sdk/models/me_get200_response_profile.rb +345 -0
- data/lib/spartera_api_sdk/models/me_get200_response_token_metadata.rb +252 -0
- data/lib/spartera_api_sdk/version.rb +1 -13
- data/lib/spartera_api_sdk.rb +45 -0
- data/spec/api/alerts_api_spec.rb +7 -7
- data/spec/api/api_keys_api_spec.rb +5 -5
- data/spec/api/asset_price_history_api_spec.rb +8 -8
- data/spec/api/assets_api_spec.rb +13 -13
- data/spec/api/cloud_providers_api_spec.rb +2 -2
- data/spec/api/companies_api_spec.rb +9 -9
- data/spec/api/connections_api_spec.rb +7 -7
- data/spec/api/favorites_api_spec.rb +8 -8
- data/spec/api/storage_engines_api_spec.rb +2 -2
- data/spec/api/users_api_spec.rb +15 -5
- data/spec/models/companies_company_id_api_keys_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_connection_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_connections_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_patch200_response_spec.rb +42 -0
- data/spec/models/me_get200_response_api_key_info_spec.rb +42 -0
- data/spec/models/me_get200_response_profile_spec.rb +94 -0
- data/spec/models/me_get200_response_spec.rb +94 -0
- data/spec/models/me_get200_response_token_metadata_spec.rb +54 -0
- metadata +212 -20
- data/Gemfile +0 -11
- data/Rakefile +0 -10
- data/config.json +0 -10
- data/git_push.sh +0 -57
- data/spartera_api_sdk.gemspec +0 -28
- data/test.sh +0 -42
data/docs/AssetsApi.md
CHANGED
@@ -20,7 +20,7 @@ All URIs are relative to *https://api.spartera.com*
|
|
20
20
|
|
21
21
|
## analyze_company_handle_assets_asset_slug_get
|
22
22
|
|
23
|
-
>
|
23
|
+
> <CompaniesCompanyIdAssetsAssetIdGet200Response> analyze_company_handle_assets_asset_slug_get(company_handle, asset_slug)
|
24
24
|
|
25
25
|
Process (analyze) an asset. Attempt to process an analytic on a backend warehouse/AI model.
|
26
26
|
|
@@ -38,12 +38,12 @@ SparteraApiSdk.configure do |config|
|
|
38
38
|
end
|
39
39
|
|
40
40
|
api_instance = SparteraApiSdk::AssetsApi.new
|
41
|
-
asset_slug = 'asset_slug_example' # String |
|
42
41
|
company_handle = 'company_handle_example' # String |
|
42
|
+
asset_slug = 'asset_slug_example' # String |
|
43
43
|
|
44
44
|
begin
|
45
45
|
# Process (analyze) an asset. Attempt to process an analytic on a backend warehouse/AI model.
|
46
|
-
result = api_instance.analyze_company_handle_assets_asset_slug_get(
|
46
|
+
result = api_instance.analyze_company_handle_assets_asset_slug_get(company_handle, asset_slug)
|
47
47
|
p result
|
48
48
|
rescue SparteraApiSdk::ApiError => e
|
49
49
|
puts "Error when calling AssetsApi->analyze_company_handle_assets_asset_slug_get: #{e}"
|
@@ -54,15 +54,15 @@ end
|
|
54
54
|
|
55
55
|
This returns an Array which contains the response data, status code and headers.
|
56
56
|
|
57
|
-
> <Array(
|
57
|
+
> <Array(<CompaniesCompanyIdAssetsAssetIdGet200Response>, Integer, Hash)> analyze_company_handle_assets_asset_slug_get_with_http_info(company_handle, asset_slug)
|
58
58
|
|
59
59
|
```ruby
|
60
60
|
begin
|
61
61
|
# Process (analyze) an asset. Attempt to process an analytic on a backend warehouse/AI model.
|
62
|
-
data, status_code, headers = api_instance.analyze_company_handle_assets_asset_slug_get_with_http_info(
|
62
|
+
data, status_code, headers = api_instance.analyze_company_handle_assets_asset_slug_get_with_http_info(company_handle, asset_slug)
|
63
63
|
p status_code # => 2xx
|
64
64
|
p headers # => { ... }
|
65
|
-
p data # =>
|
65
|
+
p data # => <CompaniesCompanyIdAssetsAssetIdGet200Response>
|
66
66
|
rescue SparteraApiSdk::ApiError => e
|
67
67
|
puts "Error when calling AssetsApi->analyze_company_handle_assets_asset_slug_get_with_http_info: #{e}"
|
68
68
|
end
|
@@ -72,12 +72,12 @@ end
|
|
72
72
|
|
73
73
|
| Name | Type | Description | Notes |
|
74
74
|
| ---- | ---- | ----------- | ----- |
|
75
|
-
| **asset_slug** | **String** | | |
|
76
75
|
| **company_handle** | **String** | | |
|
76
|
+
| **asset_slug** | **String** | | |
|
77
77
|
|
78
78
|
### Return type
|
79
79
|
|
80
|
-
**
|
80
|
+
[**CompaniesCompanyIdAssetsAssetIdGet200Response**](CompaniesCompanyIdAssetsAssetIdGet200Response.md)
|
81
81
|
|
82
82
|
### Authorization
|
83
83
|
|
@@ -91,7 +91,7 @@ end
|
|
91
91
|
|
92
92
|
## companies_company_id_assets_asset_id_delete
|
93
93
|
|
94
|
-
>
|
94
|
+
> <CompaniesCompanyIdAssetsAssetIdDelete200Response> companies_company_id_assets_asset_id_delete(company_id, asset_id)
|
95
95
|
|
96
96
|
Delete single asset by ID
|
97
97
|
|
@@ -125,7 +125,7 @@ end
|
|
125
125
|
|
126
126
|
This returns an Array which contains the response data, status code and headers.
|
127
127
|
|
128
|
-
> <Array(
|
128
|
+
> <Array(<CompaniesCompanyIdAssetsAssetIdDelete200Response>, Integer, Hash)> companies_company_id_assets_asset_id_delete_with_http_info(company_id, asset_id)
|
129
129
|
|
130
130
|
```ruby
|
131
131
|
begin
|
@@ -133,7 +133,7 @@ begin
|
|
133
133
|
data, status_code, headers = api_instance.companies_company_id_assets_asset_id_delete_with_http_info(company_id, asset_id)
|
134
134
|
p status_code # => 2xx
|
135
135
|
p headers # => { ... }
|
136
|
-
p data # =>
|
136
|
+
p data # => <CompaniesCompanyIdAssetsAssetIdDelete200Response>
|
137
137
|
rescue SparteraApiSdk::ApiError => e
|
138
138
|
puts "Error when calling AssetsApi->companies_company_id_assets_asset_id_delete_with_http_info: #{e}"
|
139
139
|
end
|
@@ -148,7 +148,7 @@ end
|
|
148
148
|
|
149
149
|
### Return type
|
150
150
|
|
151
|
-
**
|
151
|
+
[**CompaniesCompanyIdAssetsAssetIdDelete200Response**](CompaniesCompanyIdAssetsAssetIdDelete200Response.md)
|
152
152
|
|
153
153
|
### Authorization
|
154
154
|
|
@@ -162,7 +162,7 @@ end
|
|
162
162
|
|
163
163
|
## companies_company_id_assets_asset_id_get
|
164
164
|
|
165
|
-
>
|
165
|
+
> <CompaniesCompanyIdAssetsAssetIdGet200Response> companies_company_id_assets_asset_id_get(company_id, asset_id)
|
166
166
|
|
167
167
|
Get single asset by ID
|
168
168
|
|
@@ -196,7 +196,7 @@ end
|
|
196
196
|
|
197
197
|
This returns an Array which contains the response data, status code and headers.
|
198
198
|
|
199
|
-
> <Array(
|
199
|
+
> <Array(<CompaniesCompanyIdAssetsAssetIdGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_get_with_http_info(company_id, asset_id)
|
200
200
|
|
201
201
|
```ruby
|
202
202
|
begin
|
@@ -204,7 +204,7 @@ begin
|
|
204
204
|
data, status_code, headers = api_instance.companies_company_id_assets_asset_id_get_with_http_info(company_id, asset_id)
|
205
205
|
p status_code # => 2xx
|
206
206
|
p headers # => { ... }
|
207
|
-
p data # =>
|
207
|
+
p data # => <CompaniesCompanyIdAssetsAssetIdGet200Response>
|
208
208
|
rescue SparteraApiSdk::ApiError => e
|
209
209
|
puts "Error when calling AssetsApi->companies_company_id_assets_asset_id_get_with_http_info: #{e}"
|
210
210
|
end
|
@@ -219,7 +219,7 @@ end
|
|
219
219
|
|
220
220
|
### Return type
|
221
221
|
|
222
|
-
**
|
222
|
+
[**CompaniesCompanyIdAssetsAssetIdGet200Response**](CompaniesCompanyIdAssetsAssetIdGet200Response.md)
|
223
223
|
|
224
224
|
### Authorization
|
225
225
|
|
@@ -233,7 +233,7 @@ end
|
|
233
233
|
|
234
234
|
## companies_company_id_assets_asset_id_infoschema_get
|
235
235
|
|
236
|
-
>
|
236
|
+
> <CompaniesCompanyIdAssetsGet200Response> companies_company_id_assets_asset_id_infoschema_get(company_id, asset_id)
|
237
237
|
|
238
238
|
Get the information schema for a specific asset's table
|
239
239
|
|
@@ -267,7 +267,7 @@ end
|
|
267
267
|
|
268
268
|
This returns an Array which contains the response data, status code and headers.
|
269
269
|
|
270
|
-
> <Array(
|
270
|
+
> <Array(<CompaniesCompanyIdAssetsGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_infoschema_get_with_http_info(company_id, asset_id)
|
271
271
|
|
272
272
|
```ruby
|
273
273
|
begin
|
@@ -275,7 +275,7 @@ begin
|
|
275
275
|
data, status_code, headers = api_instance.companies_company_id_assets_asset_id_infoschema_get_with_http_info(company_id, asset_id)
|
276
276
|
p status_code # => 2xx
|
277
277
|
p headers # => { ... }
|
278
|
-
p data # =>
|
278
|
+
p data # => <CompaniesCompanyIdAssetsGet200Response>
|
279
279
|
rescue SparteraApiSdk::ApiError => e
|
280
280
|
puts "Error when calling AssetsApi->companies_company_id_assets_asset_id_infoschema_get_with_http_info: #{e}"
|
281
281
|
end
|
@@ -290,7 +290,7 @@ end
|
|
290
290
|
|
291
291
|
### Return type
|
292
292
|
|
293
|
-
**
|
293
|
+
[**CompaniesCompanyIdAssetsGet200Response**](CompaniesCompanyIdAssetsGet200Response.md)
|
294
294
|
|
295
295
|
### Authorization
|
296
296
|
|
@@ -304,7 +304,7 @@ end
|
|
304
304
|
|
305
305
|
## companies_company_id_assets_asset_id_infoschema_save_get
|
306
306
|
|
307
|
-
>
|
307
|
+
> <CompaniesCompanyIdAssetsGet200Response> companies_company_id_assets_asset_id_infoschema_save_get(company_id, asset_id)
|
308
308
|
|
309
309
|
Retrieve and save an asset's information schema
|
310
310
|
|
@@ -338,7 +338,7 @@ end
|
|
338
338
|
|
339
339
|
This returns an Array which contains the response data, status code and headers.
|
340
340
|
|
341
|
-
> <Array(
|
341
|
+
> <Array(<CompaniesCompanyIdAssetsGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_infoschema_save_get_with_http_info(company_id, asset_id)
|
342
342
|
|
343
343
|
```ruby
|
344
344
|
begin
|
@@ -346,7 +346,7 @@ begin
|
|
346
346
|
data, status_code, headers = api_instance.companies_company_id_assets_asset_id_infoschema_save_get_with_http_info(company_id, asset_id)
|
347
347
|
p status_code # => 2xx
|
348
348
|
p headers # => { ... }
|
349
|
-
p data # =>
|
349
|
+
p data # => <CompaniesCompanyIdAssetsGet200Response>
|
350
350
|
rescue SparteraApiSdk::ApiError => e
|
351
351
|
puts "Error when calling AssetsApi->companies_company_id_assets_asset_id_infoschema_save_get_with_http_info: #{e}"
|
352
352
|
end
|
@@ -361,7 +361,7 @@ end
|
|
361
361
|
|
362
362
|
### Return type
|
363
363
|
|
364
|
-
**
|
364
|
+
[**CompaniesCompanyIdAssetsGet200Response**](CompaniesCompanyIdAssetsGet200Response.md)
|
365
365
|
|
366
366
|
### Authorization
|
367
367
|
|
@@ -375,7 +375,7 @@ end
|
|
375
375
|
|
376
376
|
## companies_company_id_assets_asset_id_patch
|
377
377
|
|
378
|
-
>
|
378
|
+
> <CompaniesCompanyIdAssetsAssetIdPatch200Response> companies_company_id_assets_asset_id_patch(company_id, asset_id, asset)
|
379
379
|
|
380
380
|
Update an existing asset by ID
|
381
381
|
|
@@ -410,7 +410,7 @@ end
|
|
410
410
|
|
411
411
|
This returns an Array which contains the response data, status code and headers.
|
412
412
|
|
413
|
-
> <Array(
|
413
|
+
> <Array(<CompaniesCompanyIdAssetsAssetIdPatch200Response>, Integer, Hash)> companies_company_id_assets_asset_id_patch_with_http_info(company_id, asset_id, asset)
|
414
414
|
|
415
415
|
```ruby
|
416
416
|
begin
|
@@ -418,7 +418,7 @@ begin
|
|
418
418
|
data, status_code, headers = api_instance.companies_company_id_assets_asset_id_patch_with_http_info(company_id, asset_id, asset)
|
419
419
|
p status_code # => 2xx
|
420
420
|
p headers # => { ... }
|
421
|
-
p data # =>
|
421
|
+
p data # => <CompaniesCompanyIdAssetsAssetIdPatch200Response>
|
422
422
|
rescue SparteraApiSdk::ApiError => e
|
423
423
|
puts "Error when calling AssetsApi->companies_company_id_assets_asset_id_patch_with_http_info: #{e}"
|
424
424
|
end
|
@@ -434,7 +434,7 @@ end
|
|
434
434
|
|
435
435
|
### Return type
|
436
436
|
|
437
|
-
**
|
437
|
+
[**CompaniesCompanyIdAssetsAssetIdPatch200Response**](CompaniesCompanyIdAssetsAssetIdPatch200Response.md)
|
438
438
|
|
439
439
|
### Authorization
|
440
440
|
|
@@ -448,7 +448,7 @@ end
|
|
448
448
|
|
449
449
|
## companies_company_id_assets_asset_id_predicted_price_get
|
450
450
|
|
451
|
-
>
|
451
|
+
> <CompaniesCompanyIdAssetsGet200Response> companies_company_id_assets_asset_id_predicted_price_get(company_id, asset_id)
|
452
452
|
|
453
453
|
Get AI-predicted pricing for a specific asset
|
454
454
|
|
@@ -482,7 +482,7 @@ end
|
|
482
482
|
|
483
483
|
This returns an Array which contains the response data, status code and headers.
|
484
484
|
|
485
|
-
> <Array(
|
485
|
+
> <Array(<CompaniesCompanyIdAssetsGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_predicted_price_get_with_http_info(company_id, asset_id)
|
486
486
|
|
487
487
|
```ruby
|
488
488
|
begin
|
@@ -490,7 +490,7 @@ begin
|
|
490
490
|
data, status_code, headers = api_instance.companies_company_id_assets_asset_id_predicted_price_get_with_http_info(company_id, asset_id)
|
491
491
|
p status_code # => 2xx
|
492
492
|
p headers # => { ... }
|
493
|
-
p data # =>
|
493
|
+
p data # => <CompaniesCompanyIdAssetsGet200Response>
|
494
494
|
rescue SparteraApiSdk::ApiError => e
|
495
495
|
puts "Error when calling AssetsApi->companies_company_id_assets_asset_id_predicted_price_get_with_http_info: #{e}"
|
496
496
|
end
|
@@ -505,7 +505,7 @@ end
|
|
505
505
|
|
506
506
|
### Return type
|
507
507
|
|
508
|
-
**
|
508
|
+
[**CompaniesCompanyIdAssetsGet200Response**](CompaniesCompanyIdAssetsGet200Response.md)
|
509
509
|
|
510
510
|
### Authorization
|
511
511
|
|
@@ -519,7 +519,7 @@ end
|
|
519
519
|
|
520
520
|
## companies_company_id_assets_asset_id_statistics_get
|
521
521
|
|
522
|
-
>
|
522
|
+
> <CompaniesCompanyIdAssetsGet200Response> companies_company_id_assets_asset_id_statistics_get(company_id, asset_id)
|
523
523
|
|
524
524
|
Get statistics for a specific asset (public endpoint)
|
525
525
|
|
@@ -553,7 +553,7 @@ end
|
|
553
553
|
|
554
554
|
This returns an Array which contains the response data, status code and headers.
|
555
555
|
|
556
|
-
> <Array(
|
556
|
+
> <Array(<CompaniesCompanyIdAssetsGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_statistics_get_with_http_info(company_id, asset_id)
|
557
557
|
|
558
558
|
```ruby
|
559
559
|
begin
|
@@ -561,7 +561,7 @@ begin
|
|
561
561
|
data, status_code, headers = api_instance.companies_company_id_assets_asset_id_statistics_get_with_http_info(company_id, asset_id)
|
562
562
|
p status_code # => 2xx
|
563
563
|
p headers # => { ... }
|
564
|
-
p data # =>
|
564
|
+
p data # => <CompaniesCompanyIdAssetsGet200Response>
|
565
565
|
rescue SparteraApiSdk::ApiError => e
|
566
566
|
puts "Error when calling AssetsApi->companies_company_id_assets_asset_id_statistics_get_with_http_info: #{e}"
|
567
567
|
end
|
@@ -576,7 +576,7 @@ end
|
|
576
576
|
|
577
577
|
### Return type
|
578
578
|
|
579
|
-
**
|
579
|
+
[**CompaniesCompanyIdAssetsGet200Response**](CompaniesCompanyIdAssetsGet200Response.md)
|
580
580
|
|
581
581
|
### Authorization
|
582
582
|
|
@@ -590,7 +590,7 @@ end
|
|
590
590
|
|
591
591
|
## companies_company_id_assets_asset_id_test_get
|
592
592
|
|
593
|
-
>
|
593
|
+
> <CompaniesCompanyIdAssetsGet200Response> companies_company_id_assets_asset_id_test_get(company_id, asset_id)
|
594
594
|
|
595
595
|
Test out an Asset (on a subset of data)
|
596
596
|
|
@@ -624,7 +624,7 @@ end
|
|
624
624
|
|
625
625
|
This returns an Array which contains the response data, status code and headers.
|
626
626
|
|
627
|
-
> <Array(
|
627
|
+
> <Array(<CompaniesCompanyIdAssetsGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_test_get_with_http_info(company_id, asset_id)
|
628
628
|
|
629
629
|
```ruby
|
630
630
|
begin
|
@@ -632,7 +632,7 @@ begin
|
|
632
632
|
data, status_code, headers = api_instance.companies_company_id_assets_asset_id_test_get_with_http_info(company_id, asset_id)
|
633
633
|
p status_code # => 2xx
|
634
634
|
p headers # => { ... }
|
635
|
-
p data # =>
|
635
|
+
p data # => <CompaniesCompanyIdAssetsGet200Response>
|
636
636
|
rescue SparteraApiSdk::ApiError => e
|
637
637
|
puts "Error when calling AssetsApi->companies_company_id_assets_asset_id_test_get_with_http_info: #{e}"
|
638
638
|
end
|
@@ -647,7 +647,7 @@ end
|
|
647
647
|
|
648
648
|
### Return type
|
649
649
|
|
650
|
-
**
|
650
|
+
[**CompaniesCompanyIdAssetsGet200Response**](CompaniesCompanyIdAssetsGet200Response.md)
|
651
651
|
|
652
652
|
### Authorization
|
653
653
|
|
@@ -661,7 +661,7 @@ end
|
|
661
661
|
|
662
662
|
## companies_company_id_assets_get
|
663
663
|
|
664
|
-
>
|
664
|
+
> <CompaniesCompanyIdAssetsGet200Response> companies_company_id_assets_get(company_id)
|
665
665
|
|
666
666
|
Get all assets for a specific company
|
667
667
|
|
@@ -694,7 +694,7 @@ end
|
|
694
694
|
|
695
695
|
This returns an Array which contains the response data, status code and headers.
|
696
696
|
|
697
|
-
> <Array(
|
697
|
+
> <Array(<CompaniesCompanyIdAssetsGet200Response>, Integer, Hash)> companies_company_id_assets_get_with_http_info(company_id)
|
698
698
|
|
699
699
|
```ruby
|
700
700
|
begin
|
@@ -702,7 +702,7 @@ begin
|
|
702
702
|
data, status_code, headers = api_instance.companies_company_id_assets_get_with_http_info(company_id)
|
703
703
|
p status_code # => 2xx
|
704
704
|
p headers # => { ... }
|
705
|
-
p data # =>
|
705
|
+
p data # => <CompaniesCompanyIdAssetsGet200Response>
|
706
706
|
rescue SparteraApiSdk::ApiError => e
|
707
707
|
puts "Error when calling AssetsApi->companies_company_id_assets_get_with_http_info: #{e}"
|
708
708
|
end
|
@@ -716,7 +716,7 @@ end
|
|
716
716
|
|
717
717
|
### Return type
|
718
718
|
|
719
|
-
**
|
719
|
+
[**CompaniesCompanyIdAssetsGet200Response**](CompaniesCompanyIdAssetsGet200Response.md)
|
720
720
|
|
721
721
|
### Authorization
|
722
722
|
|
@@ -730,7 +730,7 @@ end
|
|
730
730
|
|
731
731
|
## companies_company_id_assets_post
|
732
732
|
|
733
|
-
>
|
733
|
+
> <CompaniesCompanyIdAssetsPost200Response> companies_company_id_assets_post(company_id, asset)
|
734
734
|
|
735
735
|
Create a new asset
|
736
736
|
|
@@ -764,7 +764,7 @@ end
|
|
764
764
|
|
765
765
|
This returns an Array which contains the response data, status code and headers.
|
766
766
|
|
767
|
-
> <Array(
|
767
|
+
> <Array(<CompaniesCompanyIdAssetsPost200Response>, Integer, Hash)> companies_company_id_assets_post_with_http_info(company_id, asset)
|
768
768
|
|
769
769
|
```ruby
|
770
770
|
begin
|
@@ -772,7 +772,7 @@ begin
|
|
772
772
|
data, status_code, headers = api_instance.companies_company_id_assets_post_with_http_info(company_id, asset)
|
773
773
|
p status_code # => 2xx
|
774
774
|
p headers # => { ... }
|
775
|
-
p data # =>
|
775
|
+
p data # => <CompaniesCompanyIdAssetsPost200Response>
|
776
776
|
rescue SparteraApiSdk::ApiError => e
|
777
777
|
puts "Error when calling AssetsApi->companies_company_id_assets_post_with_http_info: #{e}"
|
778
778
|
end
|
@@ -787,7 +787,7 @@ end
|
|
787
787
|
|
788
788
|
### Return type
|
789
789
|
|
790
|
-
**
|
790
|
+
[**CompaniesCompanyIdAssetsPost200Response**](CompaniesCompanyIdAssetsPost200Response.md)
|
791
791
|
|
792
792
|
### Authorization
|
793
793
|
|
@@ -801,7 +801,7 @@ end
|
|
801
801
|
|
802
802
|
## companies_company_id_assets_statistics_get
|
803
803
|
|
804
|
-
>
|
804
|
+
> <CompaniesCompanyIdAssetsGet200Response> companies_company_id_assets_statistics_get(company_id)
|
805
805
|
|
806
806
|
Get statistics for all assets the user has access to
|
807
807
|
|
@@ -834,7 +834,7 @@ end
|
|
834
834
|
|
835
835
|
This returns an Array which contains the response data, status code and headers.
|
836
836
|
|
837
|
-
> <Array(
|
837
|
+
> <Array(<CompaniesCompanyIdAssetsGet200Response>, Integer, Hash)> companies_company_id_assets_statistics_get_with_http_info(company_id)
|
838
838
|
|
839
839
|
```ruby
|
840
840
|
begin
|
@@ -842,7 +842,7 @@ begin
|
|
842
842
|
data, status_code, headers = api_instance.companies_company_id_assets_statistics_get_with_http_info(company_id)
|
843
843
|
p status_code # => 2xx
|
844
844
|
p headers # => { ... }
|
845
|
-
p data # =>
|
845
|
+
p data # => <CompaniesCompanyIdAssetsGet200Response>
|
846
846
|
rescue SparteraApiSdk::ApiError => e
|
847
847
|
puts "Error when calling AssetsApi->companies_company_id_assets_statistics_get_with_http_info: #{e}"
|
848
848
|
end
|
@@ -856,7 +856,7 @@ end
|
|
856
856
|
|
857
857
|
### Return type
|
858
858
|
|
859
|
-
**
|
859
|
+
[**CompaniesCompanyIdAssetsGet200Response**](CompaniesCompanyIdAssetsGet200Response.md)
|
860
860
|
|
861
861
|
### Authorization
|
862
862
|
|
data/docs/CloudProvidersApi.md
CHANGED
@@ -10,7 +10,7 @@ All URIs are relative to *https://api.spartera.com*
|
|
10
10
|
|
11
11
|
## cloud_providers_get
|
12
12
|
|
13
|
-
>
|
13
|
+
> <CompaniesCompanyIdApiKeysGet200Response> cloud_providers_get
|
14
14
|
|
15
15
|
Get a list of all cloud providers
|
16
16
|
|
@@ -42,7 +42,7 @@ end
|
|
42
42
|
|
43
43
|
This returns an Array which contains the response data, status code and headers.
|
44
44
|
|
45
|
-
> <Array(
|
45
|
+
> <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> cloud_providers_get_with_http_info
|
46
46
|
|
47
47
|
```ruby
|
48
48
|
begin
|
@@ -50,7 +50,7 @@ begin
|
|
50
50
|
data, status_code, headers = api_instance.cloud_providers_get_with_http_info
|
51
51
|
p status_code # => 2xx
|
52
52
|
p headers # => { ... }
|
53
|
-
p data # =>
|
53
|
+
p data # => <CompaniesCompanyIdApiKeysGet200Response>
|
54
54
|
rescue SparteraApiSdk::ApiError => e
|
55
55
|
puts "Error when calling CloudProvidersApi->cloud_providers_get_with_http_info: #{e}"
|
56
56
|
end
|
@@ -62,7 +62,7 @@ This endpoint does not need any parameter.
|
|
62
62
|
|
63
63
|
### Return type
|
64
64
|
|
65
|
-
**
|
65
|
+
[**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
|
66
66
|
|
67
67
|
### Authorization
|
68
68
|
|
@@ -76,7 +76,7 @@ This endpoint does not need any parameter.
|
|
76
76
|
|
77
77
|
## cloud_providers_provider_id_get
|
78
78
|
|
79
|
-
>
|
79
|
+
> <CompaniesCompanyIdApiKeysGet200Response> cloud_providers_provider_id_get(provider_id)
|
80
80
|
|
81
81
|
Get single cloud provider by ID
|
82
82
|
|
@@ -109,7 +109,7 @@ end
|
|
109
109
|
|
110
110
|
This returns an Array which contains the response data, status code and headers.
|
111
111
|
|
112
|
-
> <Array(
|
112
|
+
> <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> cloud_providers_provider_id_get_with_http_info(provider_id)
|
113
113
|
|
114
114
|
```ruby
|
115
115
|
begin
|
@@ -117,7 +117,7 @@ begin
|
|
117
117
|
data, status_code, headers = api_instance.cloud_providers_provider_id_get_with_http_info(provider_id)
|
118
118
|
p status_code # => 2xx
|
119
119
|
p headers # => { ... }
|
120
|
-
p data # =>
|
120
|
+
p data # => <CompaniesCompanyIdApiKeysGet200Response>
|
121
121
|
rescue SparteraApiSdk::ApiError => e
|
122
122
|
puts "Error when calling CloudProvidersApi->cloud_providers_provider_id_get_with_http_info: #{e}"
|
123
123
|
end
|
@@ -131,7 +131,7 @@ end
|
|
131
131
|
|
132
132
|
### Return type
|
133
133
|
|
134
|
-
**
|
134
|
+
[**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
|
135
135
|
|
136
136
|
### Authorization
|
137
137
|
|