Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Creates A New Subtitle To A Given Media, From A Provided File.

AI-generated

Summary

Create a new subtitle entry for a specified media within a given channel by uploading a subtitle file in a selected language.

Inputs

  • Authentication — Choose the authentication method: OAuth2 or API Key.
  • Channel (required) — Specify the channel under which the media exists, provided as a JSON object identifier.
  • Media (required) — Identify the media item to which the subtitle will be attached, provided as a JSON object identifier.
  • Language (required) — Provide the language of the subtitle as a JSON object identifier.
  • Return Full Response — Optionally return the complete API response instead of just the core data.

Output shape

a single JSON object representing the created subtitle resource or the full API response if requested

The response shape depends on the 'Return Full Response' option; if true, the entire API payload is returned, otherwise only the essential subtitle data is provided.

Examples

Example 1: Create a subtitle in French for a specific media in a given channel using OAuth2 authentication, uploading a subtitle file for the matching language.

Set Authentication to OAuth2, set Channel to the target channel ID, Media to the media ID, Language to the language ID, then execute to create the subtitle.

Links

Discussion