product:chat

Create external storage

Changed on

Creates new external storage

post/external_storage

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/external_storage
  • Auth
    • API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
    • or API key in query parameter api_key and API key in header Stream-Auth-Type

Request body

bucketstring required

The name of the bucket on the service provider

gcs_credentialsstring
namestring required

The name of the provider, this must be unique

pathstring

The path prefix to use for storing files

storage_type's3' | 'gcs' | 'abs' required

The type of storage to use

Response

Response

durationstring required

Duration of the request in milliseconds

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the new optional request property /