[WordPress] 外掛分享: WooCommerce Media API

首頁外掛目錄 › WooCommerce Media API
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
500+
安裝啟用
尚無評分
1401 天前
最後更新
問題解決
WordPress 4.0+ PHP 5.2.4+ v2.8 上架:2018-05-27

內容簡介

WooCommerce Media API 是 WooCommerce API 的擴充功能,含有新的端點媒體 (/wp-json/wc/v2/media)。這是現有WordPress REST API 的包裝。此外掛能夠幫助您繞過 WordPress REST API 的身分驗證設置和 JWT,直接使用 WooCommerce API 上傳媒體和圖像。

媒體屬性可在此處找到。
新增了兩個屬性以建立媒體文件:
media_path ( string write-only): 檔案相對路徑 (在 wp-content/uploads 下),例如:2018/05/department/brand。
media_attachment ( string write-only): 媒體二進位制字串的 base64 格式, 例如:R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==。

列出所有媒體:可用的參數在此處

WooPOS (WooCommerce POS 和庫存管理桌面應用程序) 用戶:請安裝此插件以從 WooPOS 管理圖像。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WooCommerce Media API」→ 直接安裝(推薦)

原文外掛簡介

WooCommerce Media API is an extension of WooCommerce API with new endpoint media(/wp-json/wc/v2/media). This is a wrapper of existing WordPress REST API. This plugin will help you bypass WordPress REST API authentication settings and JWT, and use WooCommerce API to upload medias and images directly.
Media properties can be found here.
Two additional properties have been added to create media file:
media_path (string write-only): relative path folder (under wp-content/uploads) of the file to create. eg: 2018/05/department/brand.
media_attachment (string write-only): base64 string of media binary file. eg: R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==.
List all media: available parameters here
WooPOS (WooCommerce Point Of Sale and Inventory Management desktop app) user: please install this plugin to manage images from WooPOS.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon