Upload to URL
upload_to_urlUpload files to public CDN URLs, retrieve or delete uploaded file metadata, and publish HTML pages.
Acciones disponibles (5)
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.
Delete FileUPLOAD_TO_URL_DELETE_FILEAcciónPermanently delete a previously uploaded file from storage and its public CDN location.
UPLOAD_TO_URL_DELETE_FILEAcciónPermanently delete a previously uploaded file from storage and its public CDN location.
Parámetros de entrada
file_idstringObligatorioThe UUID returned in the id field by Upload File. Deletion is permanent.
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 File MetadataUPLOAD_TO_URL_GET_FILE_METADATAAcciónRetrieve current metadata and the public CDN URL for a file previously uploaded by the connected account.
UPLOAD_TO_URL_GET_FILE_METADATAAcciónRetrieve current metadata and the public CDN URL for a file previously uploaded by the connected account.
Parámetros de entrada
file_idstringObligatorioThe UUID returned in the id field by Upload File. This is not the CDN URL or filename.
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 Supported FormatsUPLOAD_TO_URL_GET_SUPPORTED_FORMATSAcciónReturn the file extensions Upload to URL accepts or blocks, current plan size limits, and advertised upload security checks. Use this before uploading an unfamiliar file type.
UPLOAD_TO_URL_GET_SUPPORTED_FORMATSAcciónReturn the file extensions Upload to URL accepts or blocks, current plan size limits, and advertised upload security checks. Use this before uploading an unfamiliar file type.
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
Publish HTMLUPLOAD_TO_URL_PUBLISH_HTMLAcciónPublish raw HTML at a public URL under a chosen page path. This irreversible public side effect consumes one monthly credit, and the API provides no way to delete the published page.
UPLOAD_TO_URL_PUBLISH_HTMLAcciónPublish raw HTML at a public URL under a chosen page path. This irreversible public side effect consumes one monthly credit, and the API provides no way to delete the published page.
Parámetros de entrada
html_codestringObligatorioComplete raw HTML content to publish publicly.
page_pathstringObligatorioUnique, stable public page path. This is the canonical path field; do not use slug.
subdomainstringCustom subdomain configured for the connected account. Omit to use the default CDN URL.
expiry_daysstringRequested retention as an integer-like day string such as '1', or 'never' only when the connected plan supports it. Omit to use the provider default; the response does not confirm expiration.
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 FileUPLOAD_TO_URL_UPLOAD_FILEAcciónUpload one file and return its public CDN URL, file ID, expiration, and remaining monthly credits. Each successful call consumes one upload credit.
UPLOAD_TO_URL_UPLOAD_FILEAcciónUpload one file and return its public CDN URL, file ID, expiration, and remaining monthly credits. Each successful call consumes one upload credit.
Parámetros de entrada
fileobjectObligatorioThe single file to upload.
sourcestringOptional caller or source label stored with the upload.
expiry_daysstringRequested retention as a day count, such as '1', or 'never' when the connected plan supports it. Omit to use the provider default.
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