# StorageLocation

Type: object

Schema: [StorageLocation](https://sourcey-azuracast.pages.dev/docs/api/models/storagelocation/index.md)

allOf:
  Reference: [HasAutoIncrementId](https://sourcey-azuracast.pages.dev/docs/api/models/hasautoincrementid/index.md); Type: object

  Type: object
  
  - `type` (optional)
    Reference: [StorageLocationTypes](https://sourcey-azuracast.pages.dev/docs/api/models/storagelocationtypes/index.md); Type: string
    
    enum: ["backup","station_media","station_recordings","station_podcasts"]
  
  - `adapter` (optional)
    Reference: [StorageLocationAdapters](https://sourcey-azuracast.pages.dev/docs/api/models/storagelocationadapters/index.md); Type: string
    
    enum: ["local","s3","dropbox","sftp"]
  
  - `path` (optional)
    Type: string
    
    The local path, if the local adapter is used, or path prefix for S3/remote adapters.
    
    Example:
    
    ```json
    "/var/azuracast/stations/azuratest_radio/media"
    ```
  
  - `s3CredentialKey` (optional)
    Type: string; nullable
    
    The credential key for S3 adapters.
    
    Example:
    
    ```json
    "your-key-here"
    ```
  
  - `s3CredentialSecret` (optional)
    Type: string; nullable
    
    The credential secret for S3 adapters.
    
    Example:
    
    ```json
    "your-secret-here"
    ```
  
  - `s3Region` (optional)
    Type: string; nullable
    
    The region for S3 adapters.
    
    Example:
    
    ```json
    "your-region"
    ```
  
  - `s3Version` (optional)
    Type: string; nullable
    
    The API version for S3 adapters.
    
    Example:
    
    ```json
    "latest"
    ```
  
  - `s3Bucket` (optional)
    Type: string; nullable
    
    The S3 bucket name for S3 adapters.
    
    Example:
    
    ```json
    "your-bucket-name"
    ```
  
  - `s3Endpoint` (optional)
    Type: string; nullable
    
    The optional custom S3 endpoint S3 adapters.
    
    Example:
    
    ```json
    "https://your-region.digitaloceanspaces.com"
    ```
  
  - `s3UsePathStyle` (optional)
    Type: boolean; nullable
    
    Example:
    
    ```json
    false
    ```
  
  - `dropboxAppKey` (optional)
    Type: string; nullable
    
    The optional Dropbox App Key.
    
    Example:
    
    ```json
    ""
    ```
  
  - `dropboxAppSecret` (optional)
    Type: string; nullable
    
    The optional Dropbox App Secret.
    
    Example:
    
    ```json
    ""
    ```
  
  - `dropboxAuthToken` (optional)
    Type: string; nullable
    
    The optional Dropbox Auth Token.
    
    Example:
    
    ```json
    ""
    ```
  
  - `sftpHost` (optional)
    Type: string; nullable
    
    The host for SFTP adapters
    
    Example:
    
    ```json
    "127.0.0.1"
    ```
  
  - `sftpUsername` (optional)
    Type: string; nullable
    
    The username for SFTP adapters
    
    Example:
    
    ```json
    "root"
    ```
  
  - `sftpPassword` (optional)
    Type: string; nullable
    
    The password for SFTP adapters
    
    Example:
    
    ```json
    "abc123"
    ```
  
  - `sftpPort` (optional)
    Type: integer; nullable
    
    The port for SFTP adapters
    
    Example:
    
    ```json
    20
    ```
  
  - `sftpPrivateKey` (optional)
    Type: string; nullable
    
    The private key for SFTP adapters
  
  - `sftpPrivateKeyPassPhrase` (optional)
    Type: string; nullable
    
    The private key pass phrase for SFTP adapters
  
  - `storageQuotaBytes` (optional)
    Type: unknown; nullable
    
    Example:
    
    ```json
    "120000"
    ```
  
  - `storageQuota` (optional)
    Type: string; nullable
    
    Example:
    
    ```json
    "50 GB"
    ```
  
  - `storageUsedBytes` (optional)
    Type: unknown
    
    Example:
    
    ```json
    "60000"
    ```
  
  - `storageUsed` (optional)
    Type: string
    
    Example:
    
    ```json
    "1 GB"
    ```
  
  - `storageAvailableBytes` (optional)
    Type: unknown; nullable
    
    Example:
    
    ```json
    "120000"
    ```
  
  - `storageAvailable` (optional)
    Type: string
    
    Example:
    
    ```json
    "1 GB"
    ```