get_storages
imerit_ango.sdk.SDK.
get_storages(storage_id)
Retrieve the list of all storage integrations in your organization.
Parameters
storage_id: string, Optional, Default None
The unique identifier for the storage. You can retrieve the storage ID using
get_storagesfunction.
Returns:
output: dict
A dictionary containing the result of the operation.
Including a
statusfield indicating whether the request was successful and adatafield containing the response payload with updated resources produced by the operation.
Example
Retrieve all storages in the organization
import os
from dotenv import load_dotenv
from imerit_ango.sdk import SDK
load_dotenv('variables.env')
api_key = os.getenv('API_KEY')
ango_sdk = SDK(api_key)
sdk_response = ango_sdk.get_storages()
storage_list = sdk_response['data']['storages']curl -X GET "https://imeritapi.ango.ai/v2/storages" \
-H "Content-Type: application/json" \
-H "apikey: $ANGO_API_KEY"Retrieve a specific storage
Last updated

