[WordPress] 外掛分享: RESTful JSON API

首頁 › 外掛目錄 › RESTful JSON API
WordPress 外掛 RESTful JSON API 的封面圖片
全新外掛
安裝啟用
—
尚無評分
38 天前
最後更新
—
問題解決
WordPress 5.0+ PHP 7.4+ v0.15.8 上架:2026-07-16

內容簡介

RESTful JSON API 提供簡單的 JSON 端點,讓 WordPress 內容和用戶應用程序工作流程更為便捷。此外掛專為行動應用、外部工具及輕量級整合設計,能提供可預測的 JSON 回應。

【主要功能】
• 提供頁面、搜尋、索引、選單及 API 元資料的核心端點
• 支援只讀的文章列表、單篇文章及自訂文章類型
• 提供評論提交及小工具/側邊欄檢索端點
• 用戶註冊、登入、令牌驗證及個人資料管理
• 支援 JWT 令牌及選擇性 API 金鑰保護
• 預設強制 HTTPS 用於密碼及令牌請求

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.15.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「RESTful JSON API」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

RESTful JSON API provides simple JSON endpoints for WordPress content and user-facing app workflows. It is designed for mobile apps, external tools, and lightweight integrations that need predictable JSON responses from WordPress.
Built-in features include:

Core endpoints for pages, search, indexes, menus, and API metadata.
Posts controller endpoints for read-only post lists, single posts, CPT discovery, custom taxonomies, taxonomy terms/posts, media, attachments, comments, date archives, category archives, tag archives, and author archives.
Comment submission endpoints.
Widget/sidebar retrieval endpoints.
User signup, login, token validation, current-user profile, avatars, password reset requests, user meta, and authenticated comments.
Plugin-issued JWT bearer tokens for protected endpoints.
Optional shared API-key protection.
CORS allowed-origin settings.
HTTPS enforcement for password and bearer-token requests, enabled by default.

Full endpoint documentation with sample code is available in Settings > RESTful JSON API > Documentation. The same long-form documentation is also included in readme.md inside the plugin package.

延伸相關外掛

文章
Filter
Mastodon