10+
安裝啟用
—
尚無評分
3970 天前
最後更新
—
問題解決
WordPress 3.0+ v0.1.1 上架:2015-05-04
內容簡介
嵌入一個控制台來探索 REST API 的內容。
以 Automattic 的 WordPress.com Console 為基礎。
要使控制台正常工作,目標 API 需要:
* 回應包含版本的請求,指定在 URL 中(例如 /api/v1/endpoint)
* 公開一個 /versions 終端以提供有關 API 不同版本的元數據
* 回應範例如下
* 公開一個 /help 終端以提供有關 API 終端的元數據
* 回應範例如下
外掛標籤
開發者團隊
原文外掛簡介
Embed a console for exploring REST APIs in your content.
Based on Automattic’s WordPress.com Console.
For the console to work properly, the target API will need to:
* respond to versioned requests, specified in the URL (e.g. /api/v1/endpoint)
* expose a /versions endpoint to provide metadata about the API\’s different versions
* response example here
* expose a /help endpoint to provide metadata about the API’s endpoints
* response example here
