Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Option > Record > Storage → Update A Storage Machine

AI-generated

Summary

Updates a Infomaniak streaming video storage machine with the specified configuration.

Inputs

  • authentication — Authentication method (OAuth2 or API Key).
  • path_channel (required) — ID of the channel to update.
  • query_account_id (required) — Account identifier for the request.
  • body_auto_fragment_duration (required) — Duration of the media fragment in seconds.
  • body_default (required) — Flag indicating whether this is the default storage item.
  • body_protocol (required) — Network protocol to use (ftp, ftpes, ftps, sftp).
  • bodyParameters — Additional connection and metadata fields for the storage machine.
  • returnFullResponse — When true, the full API response is returned; otherwise only success indicator.

Output shape

object indicating success/failure

HTTP 200 on success; error details may be returned in the response body on failure.

Examples

Example 1: Update a default storage machine using OAuth2

authentication=oauth2, path_channel=5, query_account_id=12, body_auto_fragment_duration=30, body_default=true, body_protocol=sftp, bodyParameters={host:'example.com',port:21}, returnFullResponse=true

Example 2: Update a storage machine using API Key

authentication=apiKey, path_channel=0, query_account_id=0, body_auto_fragment_duration=0, body_default=false, body_protocol=ftp, bodyParameters={host:'ftp.example.com',port:21}, returnFullResponse=false

Links

Discussion