Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Restores A Media/folder From Trash To Its Original Location.

AI-generated

Summary

Restore a media file or folder from the trash to its original location within a specified channel.

Inputs

  • Authentication (required) — Choose the authentication method to use: OAuth2 or API Key.
  • Channel (required) — Specify the channel path where the media or folder resides.
  • File (required) — Specify the path of the media file or folder to restore from trash.
  • Return Full Response — Optional boolean to return the full API response instead of just the restored resource data.

Output shape

the restored media or folder object, or the full API response if selected

If 'Return Full Response' is enabled, the entire API response is returned; otherwise, only the restored resource data is output.

Examples

Example 1: Restore a deleted video file to its original location in the 'movies' channel using OAuth2 authentication.

Set Authentication to OAuth2, Channel to the channel path (e.g., '/movies'), and File to the path of the deleted video file to restore.

Links

Discussion