Volver al catálogo

Drop to CDN

drop_to_cdn

Upload files and publish HTML pages to public CDN URLs, then list, inspect, and delete hosted files.

Acciones
6
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Permanently 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_idstringObligatorio

    ID of the file or hosted page to permanently delete. Verify this ID before calling because deletion is irreversible.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Account UsageDROP_TO_CDN_GET_ACCOUNT_USAGEAcción

Return 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get FileDROP_TO_CDN_GET_FILEAcción

Get metadata and the public CDN URL for one file or hosted page owned by the connected account.

Parámetros de entrada

  • file_idstringObligatorio

    File or hosted-page ID returned by an upload, publish, or list operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List FilesDROP_TO_CDN_LIST_FILESAcción

Return 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

  • limitinteger

    Maximum files to return in this page (1-100).

  • cursorstring

    Pass the previous response's next_cursor to fetch the next page; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Publish PageDROP_TO_CDN_PUBLISH_PAGEAcción

Publish HTML as a publicly hosted page and return its CDN URL. Each successful publish consumes monthly upload quota.

Parámetros de entrada

  • htmlstringObligatorio

    Complete HTML content to host as a public page.

  • never_expireboolean

    Set true only on a paid plan that supports non-expiring pages. Omit otherwise; this paid-only behavior was not live-tested.

  • retention_daysinteger

    Optional 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload FileDROP_TO_CDN_UPLOAD_FILEAcción

Upload 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

  • fileobjectObligatorio

    File 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_expireboolean

    Set true only on a paid plan that supports non-expiring uploads. Omit otherwise.

  • retention_daysinteger

    Optional 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not