Referencia apiDirectories
Diretorios Mostrar
POST
POST /v1/directories. Contrato do handler diretoriosMostrar. Requer autenticação e autorização no contexto da conta; permissões e suspensão podem impedir a operação.
bearerAuthheader
Autorizaçã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.
application/json- body
categoria_id?integercid?integerinheritSettings?booleanname?stringparentId?stringprojeto_id?integerthumbnailUrl?stringOperação concluída.
application/json- response
childrenCount?integerchildrenIds?array<string>createdAt?stringFormato
date-timedefaultSettings?fullPath?array<string>fullPathNames?array<>id?stringinheritSettings?booleanisDir?booleanlocked?booleanname?stringnormalizedFullPath?stringparentId?stringrootFolder?booleanthumbnailUrl?stringupdatedAt?stringFormato
date-timevideoCount?integercurl -X POST "https://example.com/v1/directories" \ -H "Content-Type: application/json" \ -d '{ "categoria_id": 0, "cid": 0, "inheritSettings": false, "name": "Exemplo sintético", "parentId": "0123456789abcdef01234567", "projeto_id": 0, "thumbnailUrl": "https://media.example.com/exemplo" }'{ "createdAt": "2026-01-15T12:00:00Z", "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" } }, "fullPathNames": [], "id": "0123456789abcdef01234567", "inheritSettings": false, "locked": false, "name": "Exemplo sintético", "parentId": "0123456789abcdef01234567", "thumbnailUrl": "https://media.example.com/exemplo", "updatedAt": "2026-01-15T12:00:00Z"}Diretorios Listar GET
GET /v1/directories. Contrato do handler diretoriosListar. Requer autenticação e autorização no contexto da conta; permissões e suspensão podem impedir a operação.
Diretorios Mostrar GET
GET /v1/directories/{diretorio_id}. Contrato do handler diretoriosMostrar. Requer autenticação e autorização no contexto da conta; permissões e suspensão podem impedir a operação.