Get Default Storage
Use the get default storage request to fetch details on your default storage.
Important
This article details how to get the details of your configured customer-side default storage, and not the details for the Uniphore-provided default storage, which is not editable by customers.
Endpoint
Method: GET
URL: /v1/media/external-storages
Response and Error Code
Response Code | Condition |
|---|---|
200 | OK |
Response Parameter
Parameter Name | Data Type | Description |
|---|---|---|
| Array | The details of the configured customer-side default storage include the following parameters in this table. |
| String | The automatically generated unique identifier for the default storage. |
| String | The name of the default storage. |
| String | The description of the default storage. |
| String | The host address of the S3 bucket. |
| String | The name of the bucket to connect to. |
| String | A useful reference for the Folder that the bucket is part of; however, you might not use folders for your S3 buckets. For more information, see the relevant documentation from Amazon here. |
| String | The Regional endpoint of the AWS instance, for example, |
| Array | The credentials that are used to connect to the S3 bucket. |
| String | The Access Key ID to use when connecting to the S3 bucket. |
| String | The Access Secret Key to use when connecting to the S3 bucket. |
| Boolean | If Uniphore-provided storage should be used to temporarily store audio chunks as a fallback in case this storage is unavailable, either |
For an example response, see Sample Response.
Sample Response
{
"s3_storage_Details":{
"uuid": "92837437-53jg-6j47-h6gs-746ydhh39u78",
"name": "DefaultStorage"
"description": "The primary storage for captured calls",
"host": "s3.amazonaws.com",
"bucket": "uniphore-storage",
"folder": "conversations",
"region": "us-east-2",
"s3Credentials": {
"accessKey": "LKJHIOSFODNN7EXAMPLE",
"secretKey": "TrfgSplesHjWtujktSChR4jJl5yhEnEXAMPLEKEY",
},
"fallbackStorageEnabled": true
}
}