Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Option > Record > Storage → Create A Storage Machine

AI-generated

Summary

Create a new storage machine in a specified channel for an Infomaniak account.

Inputs

  • authentication (required) — Authentication method: either OAuth2 or API Key.
  • path_channel (required) — The ID of the channel where the storage machine will be created.
  • path_storage_machine (required) — Identifier (name or slug) for the new storage machine.
  • query_account_id (required) — The Infomaniak account ID associated with the request.
  • returnFullResponse — If true, the full API response is returned; otherwise only a success indicator.

Output shape

a storage machine record

Returns the created storage machine details; if returnFullResponse is true, the full API response is included. Otherwise a simple success/failure envelope is returned.

Examples

Example 1: Create a storage machine using API Key authentication

authentication: apiKey; path_channel: 5; path_storage_machine: "my-videos"; query_account_id: 12345; returnFullResponse: false

Example 2: Create a storage machine with full response details

authentication: oauth2; path_channel: 2; path_storage_machine: "archive"; query_account_id: 98765; returnFullResponse: true

Example 3: Create a storage machine with default values (minimal)

authentication: oauth2; path_channel: 0; path_storage_machine: ""; query_account_id: 0; returnFullResponse: false

Links

Discussion