# AutosdeOpenapiClient::StorageSystemApi All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine* | Method | HTTP request | Description | | ------ | ------------ | ----------- | | [**storage_systems_get**](StorageSystemApi.md#storage_systems_get) | **GET** /storage-systems | | | [**storage_systems_pk_delete**](StorageSystemApi.md#storage_systems_pk_delete) | **DELETE** /storage-systems/{pk} | | | [**storage_systems_pk_get**](StorageSystemApi.md#storage_systems_pk_get) | **GET** /storage-systems/{pk} | | | [**storage_systems_pk_put**](StorageSystemApi.md#storage_systems_pk_put) | **PUT** /storage-systems/{pk} | | | [**storage_systems_post**](StorageSystemApi.md#storage_systems_post) | **POST** /storage-systems | | ## storage_systems_get > > storage_systems_get ### Examples ```ruby require 'time' require 'autosde_openapi_client' # setup authorization AutosdeOpenapiClient.configure do |config| # Configure Bearer authorization: bearerAuth config.access_token = 'YOUR_BEARER_TOKEN' end api_instance = AutosdeOpenapiClient::StorageSystemApi.new begin result = api_instance.storage_systems_get p result rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_get: #{e}" end ``` #### Using the storage_systems_get_with_http_info variant This returns an Array which contains the response data, status code and headers. > >, Integer, Hash)> storage_systems_get_with_http_info ```ruby begin data, status_code, headers = api_instance.storage_systems_get_with_http_info p status_code # => 2xx p headers # => { ... } p data # => > rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_get_with_http_info: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type [**Array<StorageSystem>**](StorageSystem.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: */* ## storage_systems_pk_delete > storage_systems_pk_delete(pk) ### Examples ```ruby require 'time' require 'autosde_openapi_client' # setup authorization AutosdeOpenapiClient.configure do |config| # Configure Bearer authorization: bearerAuth config.access_token = 'YOUR_BEARER_TOKEN' end api_instance = AutosdeOpenapiClient::StorageSystemApi.new pk = 56 # Integer | begin result = api_instance.storage_systems_pk_delete(pk) p result rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_pk_delete: #{e}" end ``` #### Using the storage_systems_pk_delete_with_http_info variant This returns an Array which contains the response data, status code and headers. > , Integer, Hash)> storage_systems_pk_delete_with_http_info(pk) ```ruby begin data, status_code, headers = api_instance.storage_systems_pk_delete_with_http_info(pk) p status_code # => 2xx p headers # => { ... } p data # => rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_pk_delete_with_http_info: #{e}" end ``` ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **pk** | **Integer** | | | ### Return type [**AsyncResponse**](AsyncResponse.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: */* ## storage_systems_pk_get > storage_systems_pk_get(pk) ### Examples ```ruby require 'time' require 'autosde_openapi_client' # setup authorization AutosdeOpenapiClient.configure do |config| # Configure Bearer authorization: bearerAuth config.access_token = 'YOUR_BEARER_TOKEN' end api_instance = AutosdeOpenapiClient::StorageSystemApi.new pk = 56 # Integer | begin result = api_instance.storage_systems_pk_get(pk) p result rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_pk_get: #{e}" end ``` #### Using the storage_systems_pk_get_with_http_info variant This returns an Array which contains the response data, status code and headers. > , Integer, Hash)> storage_systems_pk_get_with_http_info(pk) ```ruby begin data, status_code, headers = api_instance.storage_systems_pk_get_with_http_info(pk) p status_code # => 2xx p headers # => { ... } p data # => rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_pk_get_with_http_info: #{e}" end ``` ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **pk** | **Integer** | | | ### Return type [**StorageSystem**](StorageSystem.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: */* ## storage_systems_pk_put > storage_systems_pk_put(pk, storage_system_update) ### Examples ```ruby require 'time' require 'autosde_openapi_client' # setup authorization AutosdeOpenapiClient.configure do |config| # Configure Bearer authorization: bearerAuth config.access_token = 'YOUR_BEARER_TOKEN' end api_instance = AutosdeOpenapiClient::StorageSystemApi.new pk = 56 # Integer | storage_system_update = AutosdeOpenapiClient::StorageSystemUpdate.new # StorageSystemUpdate | begin result = api_instance.storage_systems_pk_put(pk, storage_system_update) p result rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_pk_put: #{e}" end ``` #### Using the storage_systems_pk_put_with_http_info variant This returns an Array which contains the response data, status code and headers. > , Integer, Hash)> storage_systems_pk_put_with_http_info(pk, storage_system_update) ```ruby begin data, status_code, headers = api_instance.storage_systems_pk_put_with_http_info(pk, storage_system_update) p status_code # => 2xx p headers # => { ... } p data # => rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_pk_put_with_http_info: #{e}" end ``` ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **pk** | **Integer** | | | | **storage_system_update** | [**StorageSystemUpdate**](StorageSystemUpdate.md) | | | ### Return type [**AsyncResponse**](AsyncResponse.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: application/json - **Accept**: */* ## storage_systems_post > storage_systems_post(storage_system_create) ### Examples ```ruby require 'time' require 'autosde_openapi_client' # setup authorization AutosdeOpenapiClient.configure do |config| # Configure Bearer authorization: bearerAuth config.access_token = 'YOUR_BEARER_TOKEN' end api_instance = AutosdeOpenapiClient::StorageSystemApi.new storage_system_create = AutosdeOpenapiClient::StorageSystemCreate.new # StorageSystemCreate | begin result = api_instance.storage_systems_post(storage_system_create) p result rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_post: #{e}" end ``` #### Using the storage_systems_post_with_http_info variant This returns an Array which contains the response data, status code and headers. > , Integer, Hash)> storage_systems_post_with_http_info(storage_system_create) ```ruby begin data, status_code, headers = api_instance.storage_systems_post_with_http_info(storage_system_create) p status_code # => 2xx p headers # => { ... } p data # => rescue AutosdeOpenapiClient::ApiError => e puts "Error when calling StorageSystemApi->storage_systems_post_with_http_info: #{e}" end ``` ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **storage_system_create** | [**StorageSystemCreate**](StorageSystemCreate.md) | | | ### Return type [**AsyncResponse**](AsyncResponse.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: application/json - **Accept**: */*