Comandos WordPress icon

Comandos WordPress

Публикация в WordPress через Comandos API

Загрузить медиа

AI-generated

Summary

Upload media to a WordPress site via the Comandos API by providing the image URL and ALT text for accessibility.

Inputs

  • imageUrl (required) — The URL of the image to upload to WordPress.
  • altText (required) — The ALT text for the image, used for accessibility and SEO.

Output shape

a list of JSON objects, each containing the API response for the uploadMedia task

Each output item corresponds to an input item and includes the full JSON response returned from the Comandos API representing the upload media task result or status.

Examples

Example 1: Uploading an image to WordPress media library

Set the operation to 'Загрузить медиа' (uploadMedia) and provide the required 'URL изображения' (imageUrl) and 'ALT-текст' (altText) parameters.

Links

Discussion