Tilbage til WordPress
Forbind Knoon AI med WordPress for at automatisere AI-arbejdsgange.
Download a file from a URL and upload it to WordPress media library.
wordpressXmlRpcDefaultDefaultUploadFromURL
BETA
Tilladelser
Der er ingen elementer at vise.
Valgfrie tilladelser
Der er ingen elementer at vise.
Parametre
| Navn | Type | Beskrivelse | Obligatorisk |
|---|---|---|---|
| fileUrl | mustache | Public file URL to fetch and upload. | Ja |
| fileName | mustache | Optional file name override. | Nej |
| title | mustache | Optional media title. | Nej |
| altText | mustache | Optional media alt text. | Nej |
| caption | mustache | Optional media caption. | Nej |
| description | mustache | Optional media description. | Nej |
Retur
| Navn | Type | Beskrivelse |
|---|---|---|
| status | string | UPLOADED when successful. |
| mediaId | string | WordPress media ID. |
| sourceUrl | string | Public media URL. |
| mimeType | string | Media MIME type. |
| fileName | string | Media file name. |
| title | string | Media title. |
| altText | string | Media alt text. |
| caption | string | Media caption. |