Drop to CDN
drop_to_cdnUpload files and publish HTML pages to public CDN URLs, then list, inspect, and delete hosted files.
Acciones disponibles (6)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Permanently Delete FileDROP_TO_CDN_DELETE_FILEAcciónPermanently and irreversibly delete a file or hosted page owned by the connected account. This cannot restore monthly upload quota already consumed.
DROP_TO_CDN_DELETE_FILEAcciónPermanently and irreversibly delete a file or hosted page owned by the connected account. This cannot restore monthly upload quota already consumed.
Parámetros de entrada
file_idstringObligatorioID of the file or hosted page to permanently delete. Verify this ID before calling because deletion is irreversible.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Account UsageDROP_TO_CDN_GET_ACCOUNT_USAGEAcciónReturn the connected account's plan and current upload/storage usage context for deciding whether an upload is appropriate.
DROP_TO_CDN_GET_ACCOUNT_USAGEAcciónReturn the connected account's plan and current upload/storage usage context for deciding whether an upload is appropriate.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get FileDROP_TO_CDN_GET_FILEAcciónGet metadata and the public CDN URL for one file or hosted page owned by the connected account.
DROP_TO_CDN_GET_FILEAcciónGet metadata and the public CDN URL for one file or hosted page owned by the connected account.
Parámetros de entrada
file_idstringObligatorioFile or hosted-page ID returned by an upload, publish, or list operation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List FilesDROP_TO_CDN_LIST_FILESAcciónReturn one newest-first page of files and hosted pages owned by the connected account, with a cursor for the next page.
DROP_TO_CDN_LIST_FILESAcciónReturn one newest-first page of files and hosted pages owned by the connected account, with a cursor for the next page.
Parámetros de entrada
limitintegerMaximum files to return in this page (1-100).
cursorstringPass the previous response's next_cursor to fetch the next page; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Publish PageDROP_TO_CDN_PUBLISH_PAGEAcciónPublish HTML as a publicly hosted page and return its CDN URL. Each successful publish consumes monthly upload quota.
DROP_TO_CDN_PUBLISH_PAGEAcciónPublish HTML as a publicly hosted page and return its CDN URL. Each successful publish consumes monthly upload quota.
Parámetros de entrada
htmlstringObligatorioComplete HTML content to host as a public page.
never_expirebooleanSet true only on a paid plan that supports non-expiring pages. Omit otherwise; this paid-only behavior was not live-tested.
retention_daysintegerOptional custom retention period in days. Omit to use the plan default. The provider may ignore this on plans without custom retention; custom behavior was not live-tested on the connected Free account.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload FileDROP_TO_CDN_UPLOAD_FILEAcciónUpload a file and return its public CDN URL and expiration metadata. Each successful upload consumes monthly upload quota even if the file is later deleted.
DROP_TO_CDN_UPLOAD_FILEAcciónUpload a file and return its public CDN URL and expiration metadata. Each successful upload consumes monthly upload quota even if the file is later deleted.
Parámetros de entrada
fileobjectObligatorioFile attachment supplied by Composio. Pass the attachment object unchanged rather than constructing its fields. Executables, scripts, and web pages are blocked; use Publish Page for HTML. File-size limits depend on the connected plan.
never_expirebooleanSet true only on a paid plan that supports non-expiring uploads. Omit otherwise.
retention_daysintegerOptional custom retention period in days. Omit to use the plan default. The provider may ignore this on plans without custom retention.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not