Referencia apiDirectories

Diretorios Mostra Configuracao Padrao

PUT
/v1/directories/{diretorio_id}/settings/thumbnail/upload

PUT /v1/directories/{diretorio_id}/settings/thumbnail/upload. Contrato do handler diretoriosMostraConfiguracaoPadrao. Requer autenticação e autorização no contexto da conta; permissões e suspensão podem impedir a operação.

Autorização

bearerAuth
headerAutorizaçãoBearer <token>

JWT de usuário/console ou API token, conforme a autorização e as permissões da conta. Não enviar tokens reais nos exemplos.

Parâmetros de path

diretorio_id*string

Identificador utilizado pelo handler.

Corresponde a^(?:[0-9a-zA-Z]{27})$

Corpo da requisição

multipart/form-data
  1. body
file*unknown

Arquivo enviado como bytes no multipart. O exemplo JSON usa Base64 de um arquivo image/png sintético; decodifique antes de montar o multipart.

type?string

Corpo da resposta

Operação concluída.

application/json
  1. response
defaultSettings?
fullPath?array<string>
id?string
inheritSettings?boolean
inheritedSettings?
isDir?boolean
name?string
normalizedFullPath?string
parentId?string
rootFolder?boolean
updatedAt?string
Formatodate-time
curl -X PUT "https://example.com/v1/directories/0123456789abcdefghijklmnopq/settings/thumbnail/upload" \  -F file="iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+jX2kAAAAASUVORK5CYII=" \  -F type=""
{  "defaultSettings": {    "console": {      "useTitleAsFilename": false    },    "live": {      "ads": {        "googleIMA": [],        "vast": [],        "vmap": []      },      "audioOnly": false,      "directoryLive2Vod": "",      "enableDvr": false,      "enableLive2Vod": false,      "endingScreen": "",      "gaTag": "",      "latencyPreference": "",      "lookbackWindow": 0,      "pauseScreen": "",      "playerColor": "",      "preRoll": {        "destinationUrl": "",        "enabled": false,        "skipAfterSeconds": 0,        "skippable": false,        "source": "https://media.example.com/exemplo"      },      "startSoonScreen": "",      "subtitles": false,      "thumbnail": "https://media.example.com/exemplo",      "type": ""    },    "player": {      "autoplay": false,      "enableLikes": false,      "enableOfflineCache": false,      "loop": false,      "overlayLogo": {        "enabled": false,        "logoImage": "https://media.example.com/exemplo",        "position": "",        "url": "https://media.example.com/exemplo"      },      "playbackResume": false,      "playbackSpeeds": [],      "playerCustomization": {        "backgroundColor": "",        "colorTone": "",        "iconTextColor": "",        "playButtonLocation": false,        "primaryColor": "",        "showConfigurations": false,        "showFullscreen": false,        "showLike": false,        "showSeekControls": false,        "showSound": false,        "showSpeed": false,        "showStatistics": false,        "showTitle": false      },      "robotCustomization": {        "assistantAction": [],        "decreaseVolumeActions": [],        "enableVolumeActions": [],        "increaseVolumeActions": [],        "interruptAssistantActions": [],        "interruptionActions": [],        "momentSearchActions": [],        "muteVolumeActions": [],        "playbackActions": [],        "selectedImage": "https://media.example.com/exemplo",        "videoAdvanceActions": [],        "videoRewindActions": [],        "voiceAssistant": false,        "welcomePhrase": ""      },      "rybena": false,      "showClosedCaptions": false,      "showInfoMenu": false,      "showSeekButtons": false,      "showSubtitleSearch": false,      "showSubtitles": false,      "startMuted": false,      "subtitlePosition": "Exemplo sintético"    },    "streaming": {      "geoAccessControl": "",      "geoRegionList": [],      "ipWhitelist": [],      "referrerWhitelist": [],      "streamingProfile": ""    },    "studio": {      "background": false,      "breakout": false,      "chat": false,      "groups": false,      "localization": false,      "locking": false,      "logo": false,      "more_button": false,      "people": false,      "pip_button": false,      "settings_button": false    },    "vod": {      "ads": {        "googleIMA": [],        "vast": [],        "vmap": []      },      "autoCreateSubtitle": false,      "endScreen": "",      "gaTag": "",      "playerColor": "",      "preRoll": {        "destinationUrl": "",        "enabled": false,        "skipAfterSeconds": 0,        "skippable": false,        "source": "https://media.example.com/exemplo"      },      "subtitleConfigs": false,      "subtitleToggle": false,      "thumbnail": "https://media.example.com/exemplo"    }  },  "id": "0123456789abcdef01234567",  "inheritSettings": false,  "inheritedSettings": {    "console": {      "useTitleAsFilename": false    },    "live": {      "ads": {        "googleIMA": [],        "vast": [],        "vmap": []      },      "audioOnly": false,      "directoryLive2Vod": "",      "enableDvr": false,      "enableLive2Vod": false,      "endingScreen": "",      "gaTag": "",      "latencyPreference": "",      "lookbackWindow": 0,      "pauseScreen": "",      "playerColor": "",      "preRoll": {        "destinationUrl": "",        "enabled": false,        "skipAfterSeconds": 0,        "skippable": false,        "source": "https://media.example.com/exemplo"      },      "startSoonScreen": "",      "subtitles": false,      "thumbnail": "https://media.example.com/exemplo",      "type": ""    },    "player": {      "autoplay": false,      "enableLikes": false,      "enableOfflineCache": false,      "loop": false,      "overlayLogo": {        "enabled": false,        "logoImage": "https://media.example.com/exemplo",        "position": "",        "url": "https://media.example.com/exemplo"      },      "playbackResume": false,      "playbackSpeeds": [],      "playerCustomization": {        "backgroundColor": "",        "colorTone": "",        "iconTextColor": "",        "playButtonLocation": false,        "primaryColor": "",        "showConfigurations": false,        "showFullscreen": false,        "showLike": false,        "showSeekControls": false,        "showSound": false,        "showSpeed": false,        "showStatistics": false,        "showTitle": false      },      "robotCustomization": {        "assistantAction": [],        "decreaseVolumeActions": [],        "enableVolumeActions": [],        "increaseVolumeActions": [],        "interruptAssistantActions": [],        "interruptionActions": [],        "momentSearchActions": [],        "muteVolumeActions": [],        "playbackActions": [],        "selectedImage": "https://media.example.com/exemplo",        "videoAdvanceActions": [],        "videoRewindActions": [],        "voiceAssistant": false,        "welcomePhrase": ""      },      "rybena": false,      "showClosedCaptions": false,      "showInfoMenu": false,      "showSeekButtons": false,      "showSubtitleSearch": false,      "showSubtitles": false,      "startMuted": false,      "subtitlePosition": "Exemplo sintético"    },    "streaming": {      "geoAccessControl": "",      "geoRegionList": [],      "ipWhitelist": [],      "referrerWhitelist": [],      "streamingProfile": ""    },    "studio": {      "background": false,      "breakout": false,      "chat": false,      "groups": false,      "localization": false,      "locking": false,      "logo": false,      "more_button": false,      "people": false,      "pip_button": false,      "settings_button": false    },    "vod": {      "ads": {        "googleIMA": [],        "vast": [],        "vmap": []      },      "autoCreateSubtitle": false,      "endScreen": "",      "gaTag": "",      "playerColor": "",      "preRoll": {        "destinationUrl": "",        "enabled": false,        "skipAfterSeconds": 0,        "skippable": false,        "source": "https://media.example.com/exemplo"      },      "subtitleConfigs": false,      "subtitleToggle": false,      "thumbnail": "https://media.example.com/exemplo"    }  },  "name": "Exemplo sintético",  "parentId": "0123456789abcdef01234567",  "updatedAt": "2026-01-15T12:00:00Z"}