Terug naar WordPress
Verbinding maken met Knoon AI met WordPress om AI-workflows te automatiseren.
Upload a knoon attachment to WordPress media library.
wordpressXmlRpcDefaultDefaultUploadAttachment
BÈTA
Machtigingen
Er zijn geen items om weer te geven.
Optionele machtigingen
Er zijn geen items om weer te geven.
Parameters
| Naam | Type | Beschrijving | Vereist |
|---|---|---|---|
| content | attachment | Attachment to upload. | Ja |
| fileName | mustache | Optional file name override. | Nee |
| title | mustache | Optional media title. | Nee |
| altText | mustache | Optional media alt text. | Nee |
| caption | mustache | Optional media caption. | Nee |
| description | mustache | Optional media description. | Nee |
Retouren
| Naam | Type | Beschrijving |
|---|---|---|
| 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. |