
內容簡介
RESTful JSON API 提供簡單的 JSON 端點,讓 WordPress 內容和用戶應用程序工作流程更為便捷。此外掛專為行動應用、外部工具及輕量級整合設計,能提供可預測的 JSON 回應。
【主要功能】
• 提供頁面、搜尋、索引、選單及 API 元資料的核心端點
• 支援只讀的文章列表、單篇文章及自訂文章類型
• 提供評論提交及小工具/側邊欄檢索端點
• 用戶註冊、登入、令牌驗證及個人資料管理
• 支援 JWT 令牌及選擇性 API 金鑰保護
• 預設強制 HTTPS 用於密碼及令牌請求
外掛標籤
開發者團隊
原文外掛簡介
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.
