spartera_api_sdk 0.4.2 → 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.
- checksums.yaml +4 -4
- data/Gemfile +5 -3
- data/Gemfile.lock +69 -0
- data/README.md +324 -336
- data/config.json +10 -0
- data/docs/APIKeysApi.md +102 -286
- data/docs/Alert.md +36 -0
- data/docs/AlertsApi.md +163 -177
- data/docs/Apikey.md +36 -0
- data/docs/Asset.md +110 -0
- data/docs/AssetPriceHistoryApi.md +178 -202
- data/docs/Assetpricehistory.md +38 -0
- data/docs/AssetsApi.md +352 -418
- data/docs/CloudProvidersApi.md +233 -49
- data/docs/Cloudprovider.md +30 -0
- data/docs/CompaniesApi.md +171 -357
- data/docs/Company.md +44 -0
- data/docs/Connection.md +54 -0
- data/docs/ConnectionsApi.md +139 -249
- data/docs/Favorite.md +36 -0
- data/docs/FavoritesApi.md +183 -199
- data/docs/User.md +34 -0
- data/docs/UsersApi.md +97 -379
- data/example.rb +51 -0
- data/git_push.sh +2 -2
- data/lib/spartera_api_sdk/api/alerts_api.rb +176 -423
- data/lib/spartera_api_sdk/api/api_keys_api.rb +95 -496
- data/lib/spartera_api_sdk/api/asset_price_history_api.rb +177 -468
- data/lib/spartera_api_sdk/api/assets_api.rb +358 -806
- data/lib/spartera_api_sdk/api/cloud_providers_api.rb +199 -74
- data/lib/spartera_api_sdk/api/companies_api.rb +146 -660
- data/lib/spartera_api_sdk/api/connections_api.rb +139 -466
- data/lib/spartera_api_sdk/api/favorites_api.rb +204 -464
- data/lib/spartera_api_sdk/api/users_api.rb +95 -619
- data/lib/spartera_api_sdk/api_client.rb +4 -8
- data/lib/spartera_api_sdk/api_error.rb +2 -2
- data/lib/spartera_api_sdk/configuration.rb +12 -4
- data/lib/spartera_api_sdk/models/{alerts.rb → alert.rb} +139 -46
- data/lib/spartera_api_sdk/models/{api_keys.rb → apikey.rb} +124 -98
- data/lib/spartera_api_sdk/models/asset.rb +686 -0
- data/lib/spartera_api_sdk/models/{asset_price_history.rb → assetpricehistory.rb} +180 -44
- data/lib/spartera_api_sdk/models/{cloud_providers.rb → cloudprovider.rb} +111 -35
- data/lib/spartera_api_sdk/models/{companies.rb → company.rb} +105 -90
- data/lib/spartera_api_sdk/models/{connections.rb → connection.rb} +186 -69
- data/lib/spartera_api_sdk/models/error.rb +76 -3
- data/lib/spartera_api_sdk/models/{favorites.rb → favorite.rb} +111 -38
- data/lib/spartera_api_sdk/models/inline_object.rb +76 -3
- data/lib/spartera_api_sdk/models/inline_object1.rb +76 -3
- data/lib/spartera_api_sdk/models/inline_object2.rb +76 -3
- data/lib/spartera_api_sdk/models/inline_object3.rb +76 -3
- data/lib/spartera_api_sdk/models/{users.rb → user.rb} +108 -112
- data/lib/spartera_api_sdk/version.rb +3 -3
- data/lib/spartera_api_sdk.rb +11 -150
- data/spartera_api_sdk.gemspec +8 -19
- data/spec/api/alerts_api_spec.rb +51 -51
- data/spec/api/api_keys_api_spec.rb +30 -67
- data/spec/api/asset_price_history_api_spec.rb +53 -57
- data/spec/api/assets_api_spec.rb +99 -114
- data/spec/api/cloud_providers_api_spec.rb +42 -15
- data/spec/api/companies_api_spec.rb +47 -99
- data/spec/api/connections_api_spec.rb +41 -63
- data/spec/api/favorites_api_spec.rb +56 -56
- data/spec/api/users_api_spec.rb +29 -88
- data/spec/models/{postgen_integrations_spec.rb → alert_spec.rb} +17 -17
- data/spec/models/{api_keys_update_spec.rb → apikey_spec.rb} +20 -14
- data/spec/models/{endpoints_spec.rb → asset_spec.rb} +83 -69
- data/spec/models/{api_keys_spec.rb → assetpricehistory_spec.rb} +19 -25
- data/spec/models/{cloud_providers_spec.rb → cloudprovider_spec.rb} +20 -14
- data/spec/models/{companies_spec.rb → company_spec.rb} +16 -26
- data/spec/models/{posts_input_spec.rb → connection_spec.rb} +27 -51
- data/spec/models/error_spec.rb +3 -3
- data/spec/models/{favorites_spec.rb → favorite_spec.rb} +23 -17
- data/spec/models/inline_object1_spec.rb +3 -3
- data/spec/models/inline_object2_spec.rb +3 -3
- data/spec/models/inline_object3_spec.rb +3 -3
- data/spec/models/inline_object_spec.rb +3 -3
- data/spec/models/{api_keys_input_spec.rb → user_spec.rb} +15 -15
- data/spec/spec_helper.rb +2 -2
- data/test.sh +42 -0
- metadata +78 -616
- data/CHANGELOG.md +0 -25
- data/docs/Alerts.md +0 -30
- data/docs/AlertsInput.md +0 -24
- data/docs/AlertsUpdate.md +0 -24
- data/docs/ApiKeys.md +0 -40
- data/docs/ApiKeysInput.md +0 -34
- data/docs/ApiKeysUpdate.md +0 -34
- data/docs/AssetPriceHistory.md +0 -30
- data/docs/AssetPriceHistoryInput.md +0 -24
- data/docs/AssetPriceHistoryUpdate.md +0 -24
- data/docs/AssetUsecases.md +0 -28
- data/docs/AssetUsecasesApi.md +0 -157
- data/docs/Assets.md +0 -142
- data/docs/AssetsInput.md +0 -128
- data/docs/AssetsUpdate.md +0 -128
- data/docs/CloudProviders.md +0 -28
- data/docs/CloudProvidersInput.md +0 -22
- data/docs/CloudProvidersUpdate.md +0 -22
- data/docs/Companies.md +0 -46
- data/docs/CompaniesInput.md +0 -40
- data/docs/CompaniesUpdate.md +0 -40
- data/docs/Connections.md +0 -38
- data/docs/ConnectionsInput.md +0 -32
- data/docs/ConnectionsUpdate.md +0 -32
- data/docs/CreateAlerts200Response.md +0 -20
- data/docs/CreateAlerts200ResponseData.md +0 -18
- data/docs/CreateApiKeys200Response.md +0 -20
- data/docs/CreateApiKeys200ResponseData.md +0 -18
- data/docs/CreateAssetPriceHistory200Response.md +0 -20
- data/docs/CreateAssetPriceHistory200ResponseData.md +0 -18
- data/docs/CreateAssetsAnalyze200Response.md +0 -20
- data/docs/CreateAssetsAnalyze200ResponseData.md +0 -18
- data/docs/CreateConnections200Response.md +0 -20
- data/docs/CreateConnections200ResponseData.md +0 -18
- data/docs/CreateEndpoints200Response.md +0 -20
- data/docs/CreateEndpoints200ResponseData.md +0 -18
- data/docs/CreateFavorites200Response.md +0 -20
- data/docs/CreateFavorites200ResponseData.md +0 -18
- data/docs/CreatePostgenIntegrations200Response.md +0 -20
- data/docs/CreatePostgenIntegrations200ResponseData.md +0 -18
- data/docs/CreatePosts200Response.md +0 -20
- data/docs/CreatePosts200ResponseData.md +0 -18
- data/docs/CreateUsers200Response.md +0 -20
- data/docs/CreateUsers200ResponseData.md +0 -18
- data/docs/DeleteAlerts200Response.md +0 -20
- data/docs/DeleteAlerts200ResponseData.md +0 -18
- data/docs/DeleteApiKeys200Response.md +0 -20
- data/docs/DeleteApiKeys200ResponseData.md +0 -18
- data/docs/DeleteAssetPriceHistory200Response.md +0 -20
- data/docs/DeleteAssetPriceHistory200ResponseData.md +0 -18
- data/docs/DeleteAssets200Response.md +0 -20
- data/docs/DeleteAssets200ResponseData.md +0 -18
- data/docs/DeleteConnections200Response.md +0 -20
- data/docs/DeleteConnections200ResponseData.md +0 -18
- data/docs/DeleteEndpoints200Response.md +0 -20
- data/docs/DeleteEndpoints200ResponseData.md +0 -18
- data/docs/DeleteFavorites200Response.md +0 -20
- data/docs/DeleteFavorites200ResponseData.md +0 -18
- data/docs/DeletePostgenIntegrations200Response.md +0 -20
- data/docs/DeletePostgenIntegrations200ResponseData.md +0 -18
- data/docs/DeletePosts200Response.md +0 -20
- data/docs/DeletePosts200ResponseData.md +0 -18
- data/docs/DeleteUsers200Response.md +0 -20
- data/docs/DeleteUsers200ResponseData.md +0 -18
- data/docs/Endpoints.md +0 -96
- data/docs/EndpointsApi.md +0 -1189
- data/docs/EndpointsInput.md +0 -94
- data/docs/EndpointsUpdate.md +0 -94
- data/docs/Favorites.md +0 -34
- data/docs/FavoritesInput.md +0 -28
- data/docs/FavoritesUpdate.md +0 -28
- data/docs/GetAlertsById200Response.md +0 -20
- data/docs/GetApiKeysById200Response.md +0 -20
- data/docs/GetAssetPriceHistoryById200Response.md +0 -20
- data/docs/GetAssetUsecasesById200Response.md +0 -20
- data/docs/GetAssetsByIdAnalyze200Response.md +0 -20
- data/docs/GetCloudProvidersById200Response.md +0 -20
- data/docs/GetCompaniesById200Response.md +0 -20
- data/docs/GetConnectionsById200Response.md +0 -20
- data/docs/GetEndpointsByIdConnectionsDescribe200Response.md +0 -20
- data/docs/GetFavoritesById200Response.md +0 -20
- data/docs/GetIndustriesById200Response.md +0 -20
- data/docs/GetJobFunctionsById200Response.md +0 -20
- data/docs/GetPostgenIntegrationsById200Response.md +0 -20
- data/docs/GetPostsById200Response.md +0 -20
- data/docs/GetStorageEnginesById200Response.md +0 -20
- data/docs/GetUsersById200Response.md +0 -20
- data/docs/Industries.md +0 -32
- data/docs/IndustriesApi.md +0 -237
- data/docs/InlineObject4.md +0 -20
- data/docs/InlineObject5.md +0 -20
- data/docs/InlineObject6.md +0 -22
- data/docs/InlineObject7.md +0 -20
- data/docs/JobFunctions.md +0 -24
- data/docs/JobFunctionsApi.md +0 -157
- data/docs/JobFunctionsInput.md +0 -18
- data/docs/JobFunctionsUpdate.md +0 -18
- data/docs/ListApiKeys200Response.md +0 -20
- data/docs/ListAssetUsecases200Response.md +0 -20
- data/docs/ListAssets200Response.md +0 -20
- data/docs/ListCloudProviders200Response.md +0 -20
- data/docs/ListCompaniesAnalyticsAssets200Response.md +0 -20
- data/docs/ListConnections200Response.md +0 -20
- data/docs/ListEndpoints200Response.md +0 -20
- data/docs/ListIndustries200Response.md +0 -20
- data/docs/ListJobFunctions200Response.md +0 -20
- data/docs/ListPostgenIntegrations200Response.md +0 -20
- data/docs/ListPosts200Response.md +0 -20
- data/docs/ListStorageEngines200Response.md +0 -20
- data/docs/ListUsers200Response.md +0 -20
- data/docs/PostPublications.md +0 -40
- data/docs/PostPublicationsInput.md +0 -34
- data/docs/PostPublicationsUpdate.md +0 -34
- data/docs/PostgenIntegrations.md +0 -36
- data/docs/PostgenIntegrationsApi.md +0 -463
- data/docs/PostgenIntegrationsInput.md +0 -30
- data/docs/PostgenIntegrationsUpdate.md +0 -30
- data/docs/Posts.md +0 -68
- data/docs/PostsApi.md +0 -843
- data/docs/PostsInput.md +0 -62
- data/docs/PostsUpdate.md +0 -62
- data/docs/StorageEngines.md +0 -32
- data/docs/StorageEnginesApi.md +0 -161
- data/docs/UpdateAlerts200Response.md +0 -20
- data/docs/UpdateAlerts200ResponseData.md +0 -18
- data/docs/UpdateApiKeys200Response.md +0 -20
- data/docs/UpdateApiKeys200ResponseData.md +0 -18
- data/docs/UpdateAssetPriceHistory200Response.md +0 -20
- data/docs/UpdateAssetPriceHistory200ResponseData.md +0 -18
- data/docs/UpdateAssets200Response.md +0 -20
- data/docs/UpdateAssets200ResponseData.md +0 -18
- data/docs/UpdateCompanies200Response.md +0 -20
- data/docs/UpdateCompanies200ResponseData.md +0 -18
- data/docs/UpdateConnections200Response.md +0 -20
- data/docs/UpdateConnections200ResponseData.md +0 -18
- data/docs/UpdateEndpoints200Response.md +0 -20
- data/docs/UpdateEndpoints200ResponseData.md +0 -18
- data/docs/UpdateFavorites200Response.md +0 -20
- data/docs/UpdateFavorites200ResponseData.md +0 -18
- data/docs/UpdatePostgenIntegrations200Response.md +0 -20
- data/docs/UpdatePostgenIntegrations200ResponseData.md +0 -18
- data/docs/UpdatePosts200Response.md +0 -20
- data/docs/UpdatePosts200ResponseData.md +0 -18
- data/docs/UpdateUsers200Response.md +0 -20
- data/docs/UpdateUsers200ResponseData.md +0 -18
- data/docs/Users.md +0 -36
- data/docs/UsersInput.md +0 -30
- data/docs/UsersUpdate.md +0 -30
- data/lib/spartera_api_sdk/api/asset_usecases_api.rb +0 -190
- data/lib/spartera_api_sdk/api/endpoints_api.rb +0 -1613
- data/lib/spartera_api_sdk/api/industries_api.rb +0 -284
- data/lib/spartera_api_sdk/api/job_functions_api.rb +0 -190
- data/lib/spartera_api_sdk/api/postgen_integrations_api.rb +0 -634
- data/lib/spartera_api_sdk/api/posts_api.rb +0 -1190
- data/lib/spartera_api_sdk/api/storage_engines_api.rb +0 -228
- data/lib/spartera_api_sdk/api_model_base.rb +0 -88
- data/lib/spartera_api_sdk/models/alerts_input.rb +0 -213
- data/lib/spartera_api_sdk/models/alerts_update.rb +0 -179
- data/lib/spartera_api_sdk/models/api_keys_input.rb +0 -263
- data/lib/spartera_api_sdk/models/api_keys_update.rb +0 -229
- data/lib/spartera_api_sdk/models/asset_price_history_input.rb +0 -179
- data/lib/spartera_api_sdk/models/asset_price_history_update.rb +0 -179
- data/lib/spartera_api_sdk/models/asset_usecases.rb +0 -216
- data/lib/spartera_api_sdk/models/assets.rb +0 -1068
- data/lib/spartera_api_sdk/models/assets_input.rb +0 -918
- data/lib/spartera_api_sdk/models/assets_update.rb +0 -877
- data/lib/spartera_api_sdk/models/cloud_providers_input.rb +0 -186
- data/lib/spartera_api_sdk/models/cloud_providers_update.rb +0 -169
- data/lib/spartera_api_sdk/models/companies_input.rb +0 -327
- data/lib/spartera_api_sdk/models/companies_update.rb +0 -293
- data/lib/spartera_api_sdk/models/connections_input.rb +0 -287
- data/lib/spartera_api_sdk/models/connections_update.rb +0 -253
- data/lib/spartera_api_sdk/models/create_alerts200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_alerts200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/create_api_keys200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_api_keys200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/create_asset_price_history200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_asset_price_history200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/create_assets_analyze200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_assets_analyze200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/create_connections200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_connections200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/create_endpoints200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_endpoints200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/create_favorites200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_favorites200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/create_postgen_integrations200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_postgen_integrations200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/create_posts200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_posts200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/create_users200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/create_users200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_alerts200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_alerts200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_api_keys200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_api_keys200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_asset_price_history200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_asset_price_history200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_assets200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_assets200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_connections200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_connections200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_endpoints200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_endpoints200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_favorites200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_favorites200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_postgen_integrations200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_postgen_integrations200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_posts200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_posts200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/delete_users200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/delete_users200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/endpoints.rb +0 -788
- data/lib/spartera_api_sdk/models/endpoints_input.rb +0 -686
- data/lib/spartera_api_sdk/models/endpoints_update.rb +0 -635
- data/lib/spartera_api_sdk/models/favorites_input.rb +0 -233
- data/lib/spartera_api_sdk/models/favorites_update.rb +0 -199
- data/lib/spartera_api_sdk/models/get_alerts_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_api_keys_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_asset_price_history_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_asset_usecases_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_assets_by_id_analyze200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_cloud_providers_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_companies_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_connections_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_endpoints_by_id_connections_describe200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_favorites_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_industries_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_job_functions_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_postgen_integrations_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_posts_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_storage_engines_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/get_users_by_id200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/industries.rb +0 -253
- data/lib/spartera_api_sdk/models/inline_object4.rb +0 -156
- data/lib/spartera_api_sdk/models/inline_object5.rb +0 -156
- data/lib/spartera_api_sdk/models/inline_object6.rb +0 -166
- data/lib/spartera_api_sdk/models/inline_object7.rb +0 -156
- data/lib/spartera_api_sdk/models/job_functions.rb +0 -213
- data/lib/spartera_api_sdk/models/job_functions_input.rb +0 -166
- data/lib/spartera_api_sdk/models/job_functions_update.rb +0 -149
- data/lib/spartera_api_sdk/models/list_api_keys200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_asset_usecases200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_assets200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_cloud_providers200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_companies_analytics_assets200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_connections200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_endpoints200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_industries200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_job_functions200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_postgen_integrations200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_posts200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_storage_engines200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/list_users200_response.rb +0 -193
- data/lib/spartera_api_sdk/models/post_publications.rb +0 -327
- data/lib/spartera_api_sdk/models/post_publications_input.rb +0 -280
- data/lib/spartera_api_sdk/models/post_publications_update.rb +0 -229
- data/lib/spartera_api_sdk/models/postgen_integrations.rb +0 -341
- data/lib/spartera_api_sdk/models/postgen_integrations_input.rb +0 -294
- data/lib/spartera_api_sdk/models/postgen_integrations_update.rb +0 -209
- data/lib/spartera_api_sdk/models/posts.rb +0 -586
- data/lib/spartera_api_sdk/models/posts_input.rb +0 -437
- data/lib/spartera_api_sdk/models/posts_update.rb +0 -369
- data/lib/spartera_api_sdk/models/storage_engines.rb +0 -294
- data/lib/spartera_api_sdk/models/update_alerts200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_alerts200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_api_keys200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_api_keys200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_asset_price_history200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_asset_price_history200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_assets200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_assets200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_companies200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_companies200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_connections200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_connections200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_endpoints200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_endpoints200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_favorites200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_favorites200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_postgen_integrations200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_postgen_integrations200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_posts200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_posts200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/update_users200_response.rb +0 -191
- data/lib/spartera_api_sdk/models/update_users200_response_data.rb +0 -165
- data/lib/spartera_api_sdk/models/users_input.rb +0 -260
- data/lib/spartera_api_sdk/models/users_update.rb +0 -243
- data/spec/api/asset_usecases_api_spec.rb +0 -61
- data/spec/api/endpoints_api_spec.rb +0 -240
- data/spec/api/industries_api_spec.rb +0 -76
- data/spec/api/job_functions_api_spec.rb +0 -61
- data/spec/api/postgen_integrations_api_spec.rb +0 -117
- data/spec/api/posts_api_spec.rb +0 -186
- data/spec/api/storage_engines_api_spec.rb +0 -63
- data/spec/models/alerts_input_spec.rb +0 -54
- data/spec/models/alerts_spec.rb +0 -72
- data/spec/models/alerts_update_spec.rb +0 -54
- data/spec/models/asset_price_history_input_spec.rb +0 -54
- data/spec/models/asset_price_history_spec.rb +0 -72
- data/spec/models/asset_price_history_update_spec.rb +0 -54
- data/spec/models/asset_usecases_spec.rb +0 -66
- data/spec/models/assets_input_spec.rb +0 -418
- data/spec/models/assets_spec.rb +0 -464
- data/spec/models/assets_update_spec.rb +0 -418
- data/spec/models/cloud_providers_input_spec.rb +0 -48
- data/spec/models/cloud_providers_update_spec.rb +0 -48
- data/spec/models/companies_input_spec.rb +0 -106
- data/spec/models/companies_update_spec.rb +0 -106
- data/spec/models/connections_input_spec.rb +0 -82
- data/spec/models/connections_spec.rb +0 -100
- data/spec/models/connections_update_spec.rb +0 -82
- data/spec/models/create_alerts200_response_data_spec.rb +0 -36
- data/spec/models/create_alerts200_response_spec.rb +0 -42
- data/spec/models/create_api_keys200_response_data_spec.rb +0 -36
- data/spec/models/create_api_keys200_response_spec.rb +0 -42
- data/spec/models/create_asset_price_history200_response_data_spec.rb +0 -36
- data/spec/models/create_asset_price_history200_response_spec.rb +0 -42
- data/spec/models/create_assets_analyze200_response_data_spec.rb +0 -36
- data/spec/models/create_assets_analyze200_response_spec.rb +0 -42
- data/spec/models/create_connections200_response_data_spec.rb +0 -36
- data/spec/models/create_connections200_response_spec.rb +0 -42
- data/spec/models/create_endpoints200_response_data_spec.rb +0 -36
- data/spec/models/create_endpoints200_response_spec.rb +0 -42
- data/spec/models/create_favorites200_response_data_spec.rb +0 -36
- data/spec/models/create_favorites200_response_spec.rb +0 -42
- data/spec/models/create_postgen_integrations200_response_data_spec.rb +0 -36
- data/spec/models/create_postgen_integrations200_response_spec.rb +0 -42
- data/spec/models/create_posts200_response_data_spec.rb +0 -36
- data/spec/models/create_posts200_response_spec.rb +0 -42
- data/spec/models/create_users200_response_data_spec.rb +0 -36
- data/spec/models/create_users200_response_spec.rb +0 -42
- data/spec/models/delete_alerts200_response_data_spec.rb +0 -36
- data/spec/models/delete_alerts200_response_spec.rb +0 -42
- data/spec/models/delete_api_keys200_response_data_spec.rb +0 -36
- data/spec/models/delete_api_keys200_response_spec.rb +0 -42
- data/spec/models/delete_asset_price_history200_response_data_spec.rb +0 -36
- data/spec/models/delete_asset_price_history200_response_spec.rb +0 -42
- data/spec/models/delete_assets200_response_data_spec.rb +0 -36
- data/spec/models/delete_assets200_response_spec.rb +0 -42
- data/spec/models/delete_connections200_response_data_spec.rb +0 -36
- data/spec/models/delete_connections200_response_spec.rb +0 -42
- data/spec/models/delete_endpoints200_response_data_spec.rb +0 -36
- data/spec/models/delete_endpoints200_response_spec.rb +0 -42
- data/spec/models/delete_favorites200_response_data_spec.rb +0 -36
- data/spec/models/delete_favorites200_response_spec.rb +0 -42
- data/spec/models/delete_postgen_integrations200_response_data_spec.rb +0 -36
- data/spec/models/delete_postgen_integrations200_response_spec.rb +0 -42
- data/spec/models/delete_posts200_response_data_spec.rb +0 -36
- data/spec/models/delete_posts200_response_spec.rb +0 -42
- data/spec/models/delete_users200_response_data_spec.rb +0 -36
- data/spec/models/delete_users200_response_spec.rb +0 -42
- data/spec/models/endpoints_input_spec.rb +0 -292
- data/spec/models/endpoints_update_spec.rb +0 -292
- data/spec/models/favorites_input_spec.rb +0 -66
- data/spec/models/favorites_update_spec.rb +0 -66
- data/spec/models/get_alerts_by_id200_response_spec.rb +0 -42
- data/spec/models/get_api_keys_by_id200_response_spec.rb +0 -42
- data/spec/models/get_asset_price_history_by_id200_response_spec.rb +0 -42
- data/spec/models/get_asset_usecases_by_id200_response_spec.rb +0 -42
- data/spec/models/get_assets_by_id_analyze200_response_spec.rb +0 -42
- data/spec/models/get_cloud_providers_by_id200_response_spec.rb +0 -42
- data/spec/models/get_companies_by_id200_response_spec.rb +0 -42
- data/spec/models/get_connections_by_id200_response_spec.rb +0 -42
- data/spec/models/get_endpoints_by_id_connections_describe200_response_spec.rb +0 -42
- data/spec/models/get_favorites_by_id200_response_spec.rb +0 -42
- data/spec/models/get_industries_by_id200_response_spec.rb +0 -42
- data/spec/models/get_job_functions_by_id200_response_spec.rb +0 -42
- data/spec/models/get_postgen_integrations_by_id200_response_spec.rb +0 -42
- data/spec/models/get_posts_by_id200_response_spec.rb +0 -42
- data/spec/models/get_storage_engines_by_id200_response_spec.rb +0 -42
- data/spec/models/get_users_by_id200_response_spec.rb +0 -42
- data/spec/models/industries_spec.rb +0 -78
- data/spec/models/inline_object4_spec.rb +0 -42
- data/spec/models/inline_object5_spec.rb +0 -42
- data/spec/models/inline_object6_spec.rb +0 -48
- data/spec/models/inline_object7_spec.rb +0 -42
- data/spec/models/job_functions_input_spec.rb +0 -36
- data/spec/models/job_functions_spec.rb +0 -54
- data/spec/models/job_functions_update_spec.rb +0 -36
- data/spec/models/list_api_keys200_response_spec.rb +0 -42
- data/spec/models/list_asset_usecases200_response_spec.rb +0 -42
- data/spec/models/list_assets200_response_spec.rb +0 -42
- data/spec/models/list_cloud_providers200_response_spec.rb +0 -42
- data/spec/models/list_companies_analytics_assets200_response_spec.rb +0 -42
- data/spec/models/list_connections200_response_spec.rb +0 -42
- data/spec/models/list_endpoints200_response_spec.rb +0 -42
- data/spec/models/list_industries200_response_spec.rb +0 -42
- data/spec/models/list_job_functions200_response_spec.rb +0 -42
- data/spec/models/list_postgen_integrations200_response_spec.rb +0 -42
- data/spec/models/list_posts200_response_spec.rb +0 -42
- data/spec/models/list_storage_engines200_response_spec.rb +0 -42
- data/spec/models/list_users200_response_spec.rb +0 -42
- data/spec/models/post_publications_input_spec.rb +0 -84
- data/spec/models/post_publications_spec.rb +0 -102
- data/spec/models/post_publications_update_spec.rb +0 -84
- data/spec/models/postgen_integrations_input_spec.rb +0 -72
- data/spec/models/postgen_integrations_update_spec.rb +0 -72
- data/spec/models/posts_spec.rb +0 -186
- data/spec/models/posts_update_spec.rb +0 -168
- data/spec/models/storage_engines_spec.rb +0 -82
- data/spec/models/update_alerts200_response_data_spec.rb +0 -36
- data/spec/models/update_alerts200_response_spec.rb +0 -42
- data/spec/models/update_api_keys200_response_data_spec.rb +0 -36
- data/spec/models/update_api_keys200_response_spec.rb +0 -42
- data/spec/models/update_asset_price_history200_response_data_spec.rb +0 -36
- data/spec/models/update_asset_price_history200_response_spec.rb +0 -42
- data/spec/models/update_assets200_response_data_spec.rb +0 -36
- data/spec/models/update_assets200_response_spec.rb +0 -42
- data/spec/models/update_companies200_response_data_spec.rb +0 -36
- data/spec/models/update_companies200_response_spec.rb +0 -42
- data/spec/models/update_connections200_response_data_spec.rb +0 -36
- data/spec/models/update_connections200_response_spec.rb +0 -42
- data/spec/models/update_endpoints200_response_data_spec.rb +0 -36
- data/spec/models/update_endpoints200_response_spec.rb +0 -42
- data/spec/models/update_favorites200_response_data_spec.rb +0 -36
- data/spec/models/update_favorites200_response_spec.rb +0 -42
- data/spec/models/update_postgen_integrations200_response_data_spec.rb +0 -36
- data/spec/models/update_postgen_integrations200_response_spec.rb +0 -42
- data/spec/models/update_posts200_response_data_spec.rb +0 -36
- data/spec/models/update_posts200_response_spec.rb +0 -42
- data/spec/models/update_users200_response_data_spec.rb +0 -36
- data/spec/models/update_users200_response_spec.rb +0 -42
- data/spec/models/users_input_spec.rb +0 -76
- data/spec/models/users_spec.rb +0 -94
- data/spec/models/users_update_spec.rb +0 -76
data/docs/UsersApi.md
CHANGED
|
@@ -4,104 +4,18 @@ All URIs are relative to *https://api.spartera.com*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**
|
|
8
|
-
| [**
|
|
9
|
-
| [**
|
|
10
|
-
| [**
|
|
11
|
-
| [**
|
|
12
|
-
| [**list_users**](UsersApi.md#list_users) | **GET** /companies/{company_id}/users | Get a list of all users in a company |
|
|
13
|
-
| [**list_users_me**](UsersApi.md#list_users_me) | **GET** /me | Get current authenticated user's profile. |
|
|
14
|
-
| [**update_users**](UsersApi.md#update_users) | **PATCH** /companies/{company_id}/users/{user_id} | Update an existing user by ID |
|
|
7
|
+
| [**companies_company_id_users_get**](UsersApi.md#companies_company_id_users_get) | **GET** /companies/{company_id}/users | Get a list of all users for a particular company |
|
|
8
|
+
| [**companies_company_id_users_post**](UsersApi.md#companies_company_id_users_post) | **POST** /companies/{company_id}/users | Create a new user |
|
|
9
|
+
| [**companies_company_id_users_user_id_delete**](UsersApi.md#companies_company_id_users_user_id_delete) | **DELETE** /companies/{company_id}/users/{user_id} | Delete single user by ID |
|
|
10
|
+
| [**companies_company_id_users_user_id_get**](UsersApi.md#companies_company_id_users_user_id_get) | **GET** /companies/{company_id}/users/{user_id} | Get single user by ID |
|
|
11
|
+
| [**companies_company_id_users_user_id_patch**](UsersApi.md#companies_company_id_users_user_id_patch) | **PATCH** /companies/{company_id}/users/{user_id} | Update an existing user by ID |
|
|
15
12
|
|
|
16
13
|
|
|
17
|
-
##
|
|
14
|
+
## companies_company_id_users_get
|
|
18
15
|
|
|
19
|
-
>
|
|
16
|
+
> Object companies_company_id_users_get(company_id)
|
|
20
17
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### Examples
|
|
24
|
-
|
|
25
|
-
```ruby
|
|
26
|
-
require 'time'
|
|
27
|
-
require 'spartera_api_sdk'
|
|
28
|
-
# setup authorization
|
|
29
|
-
SparteraApiSdk.configure do |config|
|
|
30
|
-
# Configure API key authorization: ApiKeyAuth
|
|
31
|
-
config.api_key['x-api-key'] = 'YOUR API KEY'
|
|
32
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
33
|
-
# config.api_key_prefix['x-api-key'] = 'Bearer'
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
api_instance = SparteraApiSdk::UsersApi.new
|
|
37
|
-
company_id = 'company_id_example' # String | Unique identifier for the Company
|
|
38
|
-
users_input = SparteraApiSdk::UsersInput.new({company_id: 'company_id_abc123'}) # UsersInput |
|
|
39
|
-
opts = {
|
|
40
|
-
page: 56, # Integer | Page number for pagination
|
|
41
|
-
limit: 56, # Integer | Number of items per page
|
|
42
|
-
sort_by: 'sort_by_example', # String | Field to sort by
|
|
43
|
-
sort_order: 'asc', # String | Sort order (ascending or descending)
|
|
44
|
-
search: 'search_example' # String | Search term to filter results
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
begin
|
|
48
|
-
# Create a new user
|
|
49
|
-
result = api_instance.create_users(company_id, users_input, opts)
|
|
50
|
-
p result
|
|
51
|
-
rescue SparteraApiSdk::ApiError => e
|
|
52
|
-
puts "Error when calling UsersApi->create_users: #{e}"
|
|
53
|
-
end
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
#### Using the create_users_with_http_info variant
|
|
57
|
-
|
|
58
|
-
This returns an Array which contains the response data, status code and headers.
|
|
59
|
-
|
|
60
|
-
> <Array(<CreateUsers200Response>, Integer, Hash)> create_users_with_http_info(company_id, users_input, opts)
|
|
61
|
-
|
|
62
|
-
```ruby
|
|
63
|
-
begin
|
|
64
|
-
# Create a new user
|
|
65
|
-
data, status_code, headers = api_instance.create_users_with_http_info(company_id, users_input, opts)
|
|
66
|
-
p status_code # => 2xx
|
|
67
|
-
p headers # => { ... }
|
|
68
|
-
p data # => <CreateUsers200Response>
|
|
69
|
-
rescue SparteraApiSdk::ApiError => e
|
|
70
|
-
puts "Error when calling UsersApi->create_users_with_http_info: #{e}"
|
|
71
|
-
end
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### Parameters
|
|
75
|
-
|
|
76
|
-
| Name | Type | Description | Notes |
|
|
77
|
-
| ---- | ---- | ----------- | ----- |
|
|
78
|
-
| **company_id** | **String** | Unique identifier for the Company | |
|
|
79
|
-
| **users_input** | [**UsersInput**](UsersInput.md) | | |
|
|
80
|
-
| **page** | **Integer** | Page number for pagination | [optional][default to 1] |
|
|
81
|
-
| **limit** | **Integer** | Number of items per page | [optional][default to 20] |
|
|
82
|
-
| **sort_by** | **String** | Field to sort by | [optional] |
|
|
83
|
-
| **sort_order** | **String** | Sort order (ascending or descending) | [optional][default to 'desc'] |
|
|
84
|
-
| **search** | **String** | Search term to filter results | [optional] |
|
|
85
|
-
|
|
86
|
-
### Return type
|
|
87
|
-
|
|
88
|
-
[**CreateUsers200Response**](CreateUsers200Response.md)
|
|
89
|
-
|
|
90
|
-
### Authorization
|
|
91
|
-
|
|
92
|
-
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
93
|
-
|
|
94
|
-
### HTTP request headers
|
|
95
|
-
|
|
96
|
-
- **Content-Type**: application/json
|
|
97
|
-
- **Accept**: application/json
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
## create_users_google_oauth
|
|
101
|
-
|
|
102
|
-
> <CreateUsers200Response> create_users_google_oauth(company_id, users_input, opts)
|
|
103
|
-
|
|
104
|
-
POST /companies/{company_id}/users/google-oauth
|
|
18
|
+
Get a list of all users for a particular company
|
|
105
19
|
|
|
106
20
|
### Examples
|
|
107
21
|
|
|
@@ -110,47 +24,37 @@ require 'time'
|
|
|
110
24
|
require 'spartera_api_sdk'
|
|
111
25
|
# setup authorization
|
|
112
26
|
SparteraApiSdk.configure do |config|
|
|
113
|
-
# Configure
|
|
114
|
-
config.
|
|
115
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
116
|
-
# config.api_key_prefix['x-api-key'] = 'Bearer'
|
|
27
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
28
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
117
29
|
end
|
|
118
30
|
|
|
119
31
|
api_instance = SparteraApiSdk::UsersApi.new
|
|
120
|
-
company_id = 'company_id_example' # String |
|
|
121
|
-
users_input = SparteraApiSdk::UsersInput.new({company_id: 'company_id_abc123'}) # UsersInput |
|
|
122
|
-
opts = {
|
|
123
|
-
page: 56, # Integer | Page number for pagination
|
|
124
|
-
limit: 56, # Integer | Number of items per page
|
|
125
|
-
sort_by: 'sort_by_example', # String | Field to sort by
|
|
126
|
-
sort_order: 'asc', # String | Sort order (ascending or descending)
|
|
127
|
-
search: 'search_example' # String | Search term to filter results
|
|
128
|
-
}
|
|
32
|
+
company_id = 'company_id_example' # String |
|
|
129
33
|
|
|
130
34
|
begin
|
|
131
|
-
#
|
|
132
|
-
result = api_instance.
|
|
35
|
+
# Get a list of all users for a particular company
|
|
36
|
+
result = api_instance.companies_company_id_users_get(company_id)
|
|
133
37
|
p result
|
|
134
38
|
rescue SparteraApiSdk::ApiError => e
|
|
135
|
-
puts "Error when calling UsersApi->
|
|
39
|
+
puts "Error when calling UsersApi->companies_company_id_users_get: #{e}"
|
|
136
40
|
end
|
|
137
41
|
```
|
|
138
42
|
|
|
139
|
-
#### Using the
|
|
43
|
+
#### Using the companies_company_id_users_get_with_http_info variant
|
|
140
44
|
|
|
141
45
|
This returns an Array which contains the response data, status code and headers.
|
|
142
46
|
|
|
143
|
-
> <Array(
|
|
47
|
+
> <Array(Object, Integer, Hash)> companies_company_id_users_get_with_http_info(company_id)
|
|
144
48
|
|
|
145
49
|
```ruby
|
|
146
50
|
begin
|
|
147
|
-
#
|
|
148
|
-
data, status_code, headers = api_instance.
|
|
51
|
+
# Get a list of all users for a particular company
|
|
52
|
+
data, status_code, headers = api_instance.companies_company_id_users_get_with_http_info(company_id)
|
|
149
53
|
p status_code # => 2xx
|
|
150
54
|
p headers # => { ... }
|
|
151
|
-
p data # =>
|
|
55
|
+
p data # => Object
|
|
152
56
|
rescue SparteraApiSdk::ApiError => e
|
|
153
|
-
puts "Error when calling UsersApi->
|
|
57
|
+
puts "Error when calling UsersApi->companies_company_id_users_get_with_http_info: #{e}"
|
|
154
58
|
end
|
|
155
59
|
```
|
|
156
60
|
|
|
@@ -158,33 +62,27 @@ end
|
|
|
158
62
|
|
|
159
63
|
| Name | Type | Description | Notes |
|
|
160
64
|
| ---- | ---- | ----------- | ----- |
|
|
161
|
-
| **company_id** | **String** |
|
|
162
|
-
| **users_input** | [**UsersInput**](UsersInput.md) | | |
|
|
163
|
-
| **page** | **Integer** | Page number for pagination | [optional][default to 1] |
|
|
164
|
-
| **limit** | **Integer** | Number of items per page | [optional][default to 20] |
|
|
165
|
-
| **sort_by** | **String** | Field to sort by | [optional] |
|
|
166
|
-
| **sort_order** | **String** | Sort order (ascending or descending) | [optional][default to 'desc'] |
|
|
167
|
-
| **search** | **String** | Search term to filter results | [optional] |
|
|
65
|
+
| **company_id** | **String** | | |
|
|
168
66
|
|
|
169
67
|
### Return type
|
|
170
68
|
|
|
171
|
-
|
|
69
|
+
**Object**
|
|
172
70
|
|
|
173
71
|
### Authorization
|
|
174
72
|
|
|
175
|
-
[
|
|
73
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
176
74
|
|
|
177
75
|
### HTTP request headers
|
|
178
76
|
|
|
179
|
-
- **Content-Type**:
|
|
77
|
+
- **Content-Type**: Not defined
|
|
180
78
|
- **Accept**: application/json
|
|
181
79
|
|
|
182
80
|
|
|
183
|
-
##
|
|
81
|
+
## companies_company_id_users_post
|
|
184
82
|
|
|
185
|
-
>
|
|
83
|
+
> Object companies_company_id_users_post(company_id, user)
|
|
186
84
|
|
|
187
|
-
|
|
85
|
+
Create a new user
|
|
188
86
|
|
|
189
87
|
### Examples
|
|
190
88
|
|
|
@@ -193,47 +91,38 @@ require 'time'
|
|
|
193
91
|
require 'spartera_api_sdk'
|
|
194
92
|
# setup authorization
|
|
195
93
|
SparteraApiSdk.configure do |config|
|
|
196
|
-
# Configure
|
|
197
|
-
config.
|
|
198
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
199
|
-
# config.api_key_prefix['x-api-key'] = 'Bearer'
|
|
94
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
95
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
200
96
|
end
|
|
201
97
|
|
|
202
98
|
api_instance = SparteraApiSdk::UsersApi.new
|
|
203
|
-
company_id = 'company_id_example' # String |
|
|
204
|
-
|
|
205
|
-
opts = {
|
|
206
|
-
page: 56, # Integer | Page number for pagination
|
|
207
|
-
limit: 56, # Integer | Number of items per page
|
|
208
|
-
sort_by: 'sort_by_example', # String | Field to sort by
|
|
209
|
-
sort_order: 'asc', # String | Sort order (ascending or descending)
|
|
210
|
-
search: 'search_example' # String | Search term to filter results
|
|
211
|
-
}
|
|
99
|
+
company_id = 'company_id_example' # String |
|
|
100
|
+
user = SparteraApiSdk::User.new({company_id: 'company_id_example', status: 'status_example'}) # User |
|
|
212
101
|
|
|
213
102
|
begin
|
|
214
|
-
#
|
|
215
|
-
result = api_instance.
|
|
103
|
+
# Create a new user
|
|
104
|
+
result = api_instance.companies_company_id_users_post(company_id, user)
|
|
216
105
|
p result
|
|
217
106
|
rescue SparteraApiSdk::ApiError => e
|
|
218
|
-
puts "Error when calling UsersApi->
|
|
107
|
+
puts "Error when calling UsersApi->companies_company_id_users_post: #{e}"
|
|
219
108
|
end
|
|
220
109
|
```
|
|
221
110
|
|
|
222
|
-
#### Using the
|
|
111
|
+
#### Using the companies_company_id_users_post_with_http_info variant
|
|
223
112
|
|
|
224
113
|
This returns an Array which contains the response data, status code and headers.
|
|
225
114
|
|
|
226
|
-
> <Array(
|
|
115
|
+
> <Array(Object, Integer, Hash)> companies_company_id_users_post_with_http_info(company_id, user)
|
|
227
116
|
|
|
228
117
|
```ruby
|
|
229
118
|
begin
|
|
230
|
-
#
|
|
231
|
-
data, status_code, headers = api_instance.
|
|
119
|
+
# Create a new user
|
|
120
|
+
data, status_code, headers = api_instance.companies_company_id_users_post_with_http_info(company_id, user)
|
|
232
121
|
p status_code # => 2xx
|
|
233
122
|
p headers # => { ... }
|
|
234
|
-
p data # =>
|
|
123
|
+
p data # => Object
|
|
235
124
|
rescue SparteraApiSdk::ApiError => e
|
|
236
|
-
puts "Error when calling UsersApi->
|
|
125
|
+
puts "Error when calling UsersApi->companies_company_id_users_post_with_http_info: #{e}"
|
|
237
126
|
end
|
|
238
127
|
```
|
|
239
128
|
|
|
@@ -241,21 +130,16 @@ end
|
|
|
241
130
|
|
|
242
131
|
| Name | Type | Description | Notes |
|
|
243
132
|
| ---- | ---- | ----------- | ----- |
|
|
244
|
-
| **company_id** | **String** |
|
|
245
|
-
| **
|
|
246
|
-
| **page** | **Integer** | Page number for pagination | [optional][default to 1] |
|
|
247
|
-
| **limit** | **Integer** | Number of items per page | [optional][default to 20] |
|
|
248
|
-
| **sort_by** | **String** | Field to sort by | [optional] |
|
|
249
|
-
| **sort_order** | **String** | Sort order (ascending or descending) | [optional][default to 'desc'] |
|
|
250
|
-
| **search** | **String** | Search term to filter results | [optional] |
|
|
133
|
+
| **company_id** | **String** | | |
|
|
134
|
+
| **user** | [**User**](User.md) | | |
|
|
251
135
|
|
|
252
136
|
### Return type
|
|
253
137
|
|
|
254
|
-
|
|
138
|
+
**Object**
|
|
255
139
|
|
|
256
140
|
### Authorization
|
|
257
141
|
|
|
258
|
-
[
|
|
142
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
259
143
|
|
|
260
144
|
### HTTP request headers
|
|
261
145
|
|
|
@@ -263,9 +147,9 @@ end
|
|
|
263
147
|
- **Accept**: application/json
|
|
264
148
|
|
|
265
149
|
|
|
266
|
-
##
|
|
150
|
+
## companies_company_id_users_user_id_delete
|
|
267
151
|
|
|
268
|
-
>
|
|
152
|
+
> Object companies_company_id_users_user_id_delete(company_id, user_id)
|
|
269
153
|
|
|
270
154
|
Delete single user by ID
|
|
271
155
|
|
|
@@ -276,40 +160,38 @@ require 'time'
|
|
|
276
160
|
require 'spartera_api_sdk'
|
|
277
161
|
# setup authorization
|
|
278
162
|
SparteraApiSdk.configure do |config|
|
|
279
|
-
# Configure
|
|
280
|
-
config.
|
|
281
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
282
|
-
# config.api_key_prefix['x-api-key'] = 'Bearer'
|
|
163
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
164
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
283
165
|
end
|
|
284
166
|
|
|
285
167
|
api_instance = SparteraApiSdk::UsersApi.new
|
|
286
|
-
company_id = 'company_id_example' # String |
|
|
287
|
-
user_id = 'user_id_example' # String |
|
|
168
|
+
company_id = 'company_id_example' # String |
|
|
169
|
+
user_id = 'user_id_example' # String |
|
|
288
170
|
|
|
289
171
|
begin
|
|
290
172
|
# Delete single user by ID
|
|
291
|
-
result = api_instance.
|
|
173
|
+
result = api_instance.companies_company_id_users_user_id_delete(company_id, user_id)
|
|
292
174
|
p result
|
|
293
175
|
rescue SparteraApiSdk::ApiError => e
|
|
294
|
-
puts "Error when calling UsersApi->
|
|
176
|
+
puts "Error when calling UsersApi->companies_company_id_users_user_id_delete: #{e}"
|
|
295
177
|
end
|
|
296
178
|
```
|
|
297
179
|
|
|
298
|
-
#### Using the
|
|
180
|
+
#### Using the companies_company_id_users_user_id_delete_with_http_info variant
|
|
299
181
|
|
|
300
182
|
This returns an Array which contains the response data, status code and headers.
|
|
301
183
|
|
|
302
|
-
> <Array(
|
|
184
|
+
> <Array(Object, Integer, Hash)> companies_company_id_users_user_id_delete_with_http_info(company_id, user_id)
|
|
303
185
|
|
|
304
186
|
```ruby
|
|
305
187
|
begin
|
|
306
188
|
# Delete single user by ID
|
|
307
|
-
data, status_code, headers = api_instance.
|
|
189
|
+
data, status_code, headers = api_instance.companies_company_id_users_user_id_delete_with_http_info(company_id, user_id)
|
|
308
190
|
p status_code # => 2xx
|
|
309
191
|
p headers # => { ... }
|
|
310
|
-
p data # =>
|
|
192
|
+
p data # => Object
|
|
311
193
|
rescue SparteraApiSdk::ApiError => e
|
|
312
|
-
puts "Error when calling UsersApi->
|
|
194
|
+
puts "Error when calling UsersApi->companies_company_id_users_user_id_delete_with_http_info: #{e}"
|
|
313
195
|
end
|
|
314
196
|
```
|
|
315
197
|
|
|
@@ -317,16 +199,16 @@ end
|
|
|
317
199
|
|
|
318
200
|
| Name | Type | Description | Notes |
|
|
319
201
|
| ---- | ---- | ----------- | ----- |
|
|
320
|
-
| **company_id** | **String** |
|
|
321
|
-
| **user_id** | **String** |
|
|
202
|
+
| **company_id** | **String** | | |
|
|
203
|
+
| **user_id** | **String** | | |
|
|
322
204
|
|
|
323
205
|
### Return type
|
|
324
206
|
|
|
325
|
-
|
|
207
|
+
**Object**
|
|
326
208
|
|
|
327
209
|
### Authorization
|
|
328
210
|
|
|
329
|
-
[
|
|
211
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
330
212
|
|
|
331
213
|
### HTTP request headers
|
|
332
214
|
|
|
@@ -334,9 +216,9 @@ end
|
|
|
334
216
|
- **Accept**: application/json
|
|
335
217
|
|
|
336
218
|
|
|
337
|
-
##
|
|
219
|
+
## companies_company_id_users_user_id_get
|
|
338
220
|
|
|
339
|
-
>
|
|
221
|
+
> Object companies_company_id_users_user_id_get(company_id, user_id)
|
|
340
222
|
|
|
341
223
|
Get single user by ID
|
|
342
224
|
|
|
@@ -347,197 +229,38 @@ require 'time'
|
|
|
347
229
|
require 'spartera_api_sdk'
|
|
348
230
|
# setup authorization
|
|
349
231
|
SparteraApiSdk.configure do |config|
|
|
350
|
-
# Configure
|
|
351
|
-
config.
|
|
352
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
353
|
-
# config.api_key_prefix['x-api-key'] = 'Bearer'
|
|
232
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
233
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
354
234
|
end
|
|
355
235
|
|
|
356
236
|
api_instance = SparteraApiSdk::UsersApi.new
|
|
357
|
-
company_id = 'company_id_example' # String |
|
|
358
|
-
user_id = 'user_id_example' # String |
|
|
237
|
+
company_id = 'company_id_example' # String |
|
|
238
|
+
user_id = 'user_id_example' # String |
|
|
359
239
|
|
|
360
240
|
begin
|
|
361
241
|
# Get single user by ID
|
|
362
|
-
result = api_instance.
|
|
242
|
+
result = api_instance.companies_company_id_users_user_id_get(company_id, user_id)
|
|
363
243
|
p result
|
|
364
244
|
rescue SparteraApiSdk::ApiError => e
|
|
365
|
-
puts "Error when calling UsersApi->
|
|
245
|
+
puts "Error when calling UsersApi->companies_company_id_users_user_id_get: #{e}"
|
|
366
246
|
end
|
|
367
247
|
```
|
|
368
248
|
|
|
369
|
-
#### Using the
|
|
249
|
+
#### Using the companies_company_id_users_user_id_get_with_http_info variant
|
|
370
250
|
|
|
371
251
|
This returns an Array which contains the response data, status code and headers.
|
|
372
252
|
|
|
373
|
-
> <Array(
|
|
253
|
+
> <Array(Object, Integer, Hash)> companies_company_id_users_user_id_get_with_http_info(company_id, user_id)
|
|
374
254
|
|
|
375
255
|
```ruby
|
|
376
256
|
begin
|
|
377
257
|
# Get single user by ID
|
|
378
|
-
data, status_code, headers = api_instance.
|
|
379
|
-
p status_code # => 2xx
|
|
380
|
-
p headers # => { ... }
|
|
381
|
-
p data # => <GetUsersById200Response>
|
|
382
|
-
rescue SparteraApiSdk::ApiError => e
|
|
383
|
-
puts "Error when calling UsersApi->get_users_by_id_with_http_info: #{e}"
|
|
384
|
-
end
|
|
385
|
-
```
|
|
386
|
-
|
|
387
|
-
### Parameters
|
|
388
|
-
|
|
389
|
-
| Name | Type | Description | Notes |
|
|
390
|
-
| ---- | ---- | ----------- | ----- |
|
|
391
|
-
| **company_id** | **String** | Unique identifier for the Company | |
|
|
392
|
-
| **user_id** | **String** | Unique identifier for the User | |
|
|
393
|
-
|
|
394
|
-
### Return type
|
|
395
|
-
|
|
396
|
-
[**GetUsersById200Response**](GetUsersById200Response.md)
|
|
397
|
-
|
|
398
|
-
### Authorization
|
|
399
|
-
|
|
400
|
-
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
401
|
-
|
|
402
|
-
### HTTP request headers
|
|
403
|
-
|
|
404
|
-
- **Content-Type**: Not defined
|
|
405
|
-
- **Accept**: application/json
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
## list_users
|
|
409
|
-
|
|
410
|
-
> <ListUsers200Response> list_users(company_id, opts)
|
|
411
|
-
|
|
412
|
-
Get a list of all users in a company
|
|
413
|
-
|
|
414
|
-
### Examples
|
|
415
|
-
|
|
416
|
-
```ruby
|
|
417
|
-
require 'time'
|
|
418
|
-
require 'spartera_api_sdk'
|
|
419
|
-
# setup authorization
|
|
420
|
-
SparteraApiSdk.configure do |config|
|
|
421
|
-
# Configure API key authorization: ApiKeyAuth
|
|
422
|
-
config.api_key['x-api-key'] = 'YOUR API KEY'
|
|
423
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
424
|
-
# config.api_key_prefix['x-api-key'] = 'Bearer'
|
|
425
|
-
end
|
|
426
|
-
|
|
427
|
-
api_instance = SparteraApiSdk::UsersApi.new
|
|
428
|
-
company_id = 'company_id_example' # String | Unique identifier for the Company
|
|
429
|
-
opts = {
|
|
430
|
-
page: 56, # Integer | Page number for pagination
|
|
431
|
-
limit: 56, # Integer | Number of items per page
|
|
432
|
-
sort_by: 'sort_by_example', # String | Field to sort by
|
|
433
|
-
sort_order: 'asc', # String | Sort order (ascending or descending)
|
|
434
|
-
search: 'search_example' # String | Search term to filter results
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
begin
|
|
438
|
-
# Get a list of all users in a company
|
|
439
|
-
result = api_instance.list_users(company_id, opts)
|
|
440
|
-
p result
|
|
441
|
-
rescue SparteraApiSdk::ApiError => e
|
|
442
|
-
puts "Error when calling UsersApi->list_users: #{e}"
|
|
443
|
-
end
|
|
444
|
-
```
|
|
445
|
-
|
|
446
|
-
#### Using the list_users_with_http_info variant
|
|
447
|
-
|
|
448
|
-
This returns an Array which contains the response data, status code and headers.
|
|
449
|
-
|
|
450
|
-
> <Array(<ListUsers200Response>, Integer, Hash)> list_users_with_http_info(company_id, opts)
|
|
451
|
-
|
|
452
|
-
```ruby
|
|
453
|
-
begin
|
|
454
|
-
# Get a list of all users in a company
|
|
455
|
-
data, status_code, headers = api_instance.list_users_with_http_info(company_id, opts)
|
|
456
|
-
p status_code # => 2xx
|
|
457
|
-
p headers # => { ... }
|
|
458
|
-
p data # => <ListUsers200Response>
|
|
459
|
-
rescue SparteraApiSdk::ApiError => e
|
|
460
|
-
puts "Error when calling UsersApi->list_users_with_http_info: #{e}"
|
|
461
|
-
end
|
|
462
|
-
```
|
|
463
|
-
|
|
464
|
-
### Parameters
|
|
465
|
-
|
|
466
|
-
| Name | Type | Description | Notes |
|
|
467
|
-
| ---- | ---- | ----------- | ----- |
|
|
468
|
-
| **company_id** | **String** | Unique identifier for the Company | |
|
|
469
|
-
| **page** | **Integer** | Page number for pagination | [optional][default to 1] |
|
|
470
|
-
| **limit** | **Integer** | Number of items per page | [optional][default to 20] |
|
|
471
|
-
| **sort_by** | **String** | Field to sort by | [optional] |
|
|
472
|
-
| **sort_order** | **String** | Sort order (ascending or descending) | [optional][default to 'desc'] |
|
|
473
|
-
| **search** | **String** | Search term to filter results | [optional] |
|
|
474
|
-
|
|
475
|
-
### Return type
|
|
476
|
-
|
|
477
|
-
[**ListUsers200Response**](ListUsers200Response.md)
|
|
478
|
-
|
|
479
|
-
### Authorization
|
|
480
|
-
|
|
481
|
-
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
482
|
-
|
|
483
|
-
### HTTP request headers
|
|
484
|
-
|
|
485
|
-
- **Content-Type**: Not defined
|
|
486
|
-
- **Accept**: application/json
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
## list_users_me
|
|
490
|
-
|
|
491
|
-
> <ListUsers200Response> list_users_me(opts)
|
|
492
|
-
|
|
493
|
-
Get current authenticated user's profile.
|
|
494
|
-
|
|
495
|
-
### Examples
|
|
496
|
-
|
|
497
|
-
```ruby
|
|
498
|
-
require 'time'
|
|
499
|
-
require 'spartera_api_sdk'
|
|
500
|
-
# setup authorization
|
|
501
|
-
SparteraApiSdk.configure do |config|
|
|
502
|
-
# Configure API key authorization: ApiKeyAuth
|
|
503
|
-
config.api_key['x-api-key'] = 'YOUR API KEY'
|
|
504
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
505
|
-
# config.api_key_prefix['x-api-key'] = 'Bearer'
|
|
506
|
-
end
|
|
507
|
-
|
|
508
|
-
api_instance = SparteraApiSdk::UsersApi.new
|
|
509
|
-
opts = {
|
|
510
|
-
page: 56, # Integer | Page number for pagination
|
|
511
|
-
limit: 56, # Integer | Number of items per page
|
|
512
|
-
sort_by: 'sort_by_example', # String | Field to sort by
|
|
513
|
-
sort_order: 'asc', # String | Sort order (ascending or descending)
|
|
514
|
-
search: 'search_example' # String | Search term to filter results
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
begin
|
|
518
|
-
# Get current authenticated user's profile.
|
|
519
|
-
result = api_instance.list_users_me(opts)
|
|
520
|
-
p result
|
|
521
|
-
rescue SparteraApiSdk::ApiError => e
|
|
522
|
-
puts "Error when calling UsersApi->list_users_me: #{e}"
|
|
523
|
-
end
|
|
524
|
-
```
|
|
525
|
-
|
|
526
|
-
#### Using the list_users_me_with_http_info variant
|
|
527
|
-
|
|
528
|
-
This returns an Array which contains the response data, status code and headers.
|
|
529
|
-
|
|
530
|
-
> <Array(<ListUsers200Response>, Integer, Hash)> list_users_me_with_http_info(opts)
|
|
531
|
-
|
|
532
|
-
```ruby
|
|
533
|
-
begin
|
|
534
|
-
# Get current authenticated user's profile.
|
|
535
|
-
data, status_code, headers = api_instance.list_users_me_with_http_info(opts)
|
|
258
|
+
data, status_code, headers = api_instance.companies_company_id_users_user_id_get_with_http_info(company_id, user_id)
|
|
536
259
|
p status_code # => 2xx
|
|
537
260
|
p headers # => { ... }
|
|
538
|
-
p data # =>
|
|
261
|
+
p data # => Object
|
|
539
262
|
rescue SparteraApiSdk::ApiError => e
|
|
540
|
-
puts "Error when calling UsersApi->
|
|
263
|
+
puts "Error when calling UsersApi->companies_company_id_users_user_id_get_with_http_info: #{e}"
|
|
541
264
|
end
|
|
542
265
|
```
|
|
543
266
|
|
|
@@ -545,19 +268,16 @@ end
|
|
|
545
268
|
|
|
546
269
|
| Name | Type | Description | Notes |
|
|
547
270
|
| ---- | ---- | ----------- | ----- |
|
|
548
|
-
| **
|
|
549
|
-
| **
|
|
550
|
-
| **sort_by** | **String** | Field to sort by | [optional] |
|
|
551
|
-
| **sort_order** | **String** | Sort order (ascending or descending) | [optional][default to 'desc'] |
|
|
552
|
-
| **search** | **String** | Search term to filter results | [optional] |
|
|
271
|
+
| **company_id** | **String** | | |
|
|
272
|
+
| **user_id** | **String** | | |
|
|
553
273
|
|
|
554
274
|
### Return type
|
|
555
275
|
|
|
556
|
-
|
|
276
|
+
**Object**
|
|
557
277
|
|
|
558
278
|
### Authorization
|
|
559
279
|
|
|
560
|
-
[
|
|
280
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
561
281
|
|
|
562
282
|
### HTTP request headers
|
|
563
283
|
|
|
@@ -565,9 +285,9 @@ end
|
|
|
565
285
|
- **Accept**: application/json
|
|
566
286
|
|
|
567
287
|
|
|
568
|
-
##
|
|
288
|
+
## companies_company_id_users_user_id_patch
|
|
569
289
|
|
|
570
|
-
>
|
|
290
|
+
> Object companies_company_id_users_user_id_patch(company_id, user_id, user)
|
|
571
291
|
|
|
572
292
|
Update an existing user by ID
|
|
573
293
|
|
|
@@ -578,41 +298,39 @@ require 'time'
|
|
|
578
298
|
require 'spartera_api_sdk'
|
|
579
299
|
# setup authorization
|
|
580
300
|
SparteraApiSdk.configure do |config|
|
|
581
|
-
# Configure
|
|
582
|
-
config.
|
|
583
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
584
|
-
# config.api_key_prefix['x-api-key'] = 'Bearer'
|
|
301
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
302
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
585
303
|
end
|
|
586
304
|
|
|
587
305
|
api_instance = SparteraApiSdk::UsersApi.new
|
|
588
|
-
company_id = 'company_id_example' # String |
|
|
589
|
-
user_id = 'user_id_example' # String |
|
|
590
|
-
|
|
306
|
+
company_id = 'company_id_example' # String |
|
|
307
|
+
user_id = 'user_id_example' # String |
|
|
308
|
+
user = SparteraApiSdk::User.new({company_id: 'company_id_example', status: 'status_example'}) # User |
|
|
591
309
|
|
|
592
310
|
begin
|
|
593
311
|
# Update an existing user by ID
|
|
594
|
-
result = api_instance.
|
|
312
|
+
result = api_instance.companies_company_id_users_user_id_patch(company_id, user_id, user)
|
|
595
313
|
p result
|
|
596
314
|
rescue SparteraApiSdk::ApiError => e
|
|
597
|
-
puts "Error when calling UsersApi->
|
|
315
|
+
puts "Error when calling UsersApi->companies_company_id_users_user_id_patch: #{e}"
|
|
598
316
|
end
|
|
599
317
|
```
|
|
600
318
|
|
|
601
|
-
#### Using the
|
|
319
|
+
#### Using the companies_company_id_users_user_id_patch_with_http_info variant
|
|
602
320
|
|
|
603
321
|
This returns an Array which contains the response data, status code and headers.
|
|
604
322
|
|
|
605
|
-
> <Array(
|
|
323
|
+
> <Array(Object, Integer, Hash)> companies_company_id_users_user_id_patch_with_http_info(company_id, user_id, user)
|
|
606
324
|
|
|
607
325
|
```ruby
|
|
608
326
|
begin
|
|
609
327
|
# Update an existing user by ID
|
|
610
|
-
data, status_code, headers = api_instance.
|
|
328
|
+
data, status_code, headers = api_instance.companies_company_id_users_user_id_patch_with_http_info(company_id, user_id, user)
|
|
611
329
|
p status_code # => 2xx
|
|
612
330
|
p headers # => { ... }
|
|
613
|
-
p data # =>
|
|
331
|
+
p data # => Object
|
|
614
332
|
rescue SparteraApiSdk::ApiError => e
|
|
615
|
-
puts "Error when calling UsersApi->
|
|
333
|
+
puts "Error when calling UsersApi->companies_company_id_users_user_id_patch_with_http_info: #{e}"
|
|
616
334
|
end
|
|
617
335
|
```
|
|
618
336
|
|
|
@@ -620,17 +338,17 @@ end
|
|
|
620
338
|
|
|
621
339
|
| Name | Type | Description | Notes |
|
|
622
340
|
| ---- | ---- | ----------- | ----- |
|
|
623
|
-
| **company_id** | **String** |
|
|
624
|
-
| **user_id** | **String** |
|
|
625
|
-
| **
|
|
341
|
+
| **company_id** | **String** | | |
|
|
342
|
+
| **user_id** | **String** | | |
|
|
343
|
+
| **user** | [**User**](User.md) | | |
|
|
626
344
|
|
|
627
345
|
### Return type
|
|
628
346
|
|
|
629
|
-
|
|
347
|
+
**Object**
|
|
630
348
|
|
|
631
349
|
### Authorization
|
|
632
350
|
|
|
633
|
-
[
|
|
351
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
634
352
|
|
|
635
353
|
### HTTP request headers
|
|
636
354
|
|