Skip to main content
Drop to CDN logo
  • Category: file management & storage
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 6
  • Triggers: 0
  • Slug: DROP_TO_CDN
  • Version: 00000000_00

Tools

Slug: DROP_TO_CDN_DELETE_FILEPermanently and irreversibly delete a file or hosted page owned by the connected account. This cannot restore monthly upload quota already consumed.

Input Parameters

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

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DROP_TO_CDN_GET_ACCOUNT_USAGEReturn the connected account’s plan and current upload/storage usage context for deciding whether an upload is appropriate.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DROP_TO_CDN_GET_FILEGet metadata and the public CDN URL for one file or hosted page owned by the connected account.

Input Parameters

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

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DROP_TO_CDN_LIST_FILESReturn one newest-first page of files and hosted pages owned by the connected account, with a cursor for the next page.

Input Parameters

integer
Maximum files to return in this page (1-100).
string
Pass the previous response’s next_cursor to fetch the next page; omit for the first page.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DROP_TO_CDN_PUBLISH_PAGEPublish HTML as a publicly hosted page and return its CDN URL. Each successful publish consumes monthly upload quota.

Input Parameters

string
required
Complete HTML content to host as a public page.
boolean
Set true only on a paid plan that supports non-expiring pages. Omit otherwise; this paid-only behavior was not live-tested.
integer
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.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DROP_TO_CDN_UPLOAD_FILEUpload 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.

Input Parameters

object
required
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.
boolean
Set true only on a paid plan that supports non-expiring uploads. Omit otherwise.
integer
Optional custom retention period in days. Omit to use the plan default. The provider may ignore this on plans without custom retention.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not