[WordPress] 外掛分享: One Call – WP REST API Extension

首頁外掛目錄 › One Call – WP REST API Extension
WordPress 外掛 One Call – WP REST API Extension 的封面圖片
10+
安裝啟用
尚無評分
2615 天前
最後更新
問題解決
WordPress 4.7+ PHP 5.6+ v1.1.1 上架:2017-12-17

內容簡介

One Call 是 WP REST API 的助手或擴充功能。為了在單一 REST API 回應中獲取精選圖片細節、分類列表、標籤列表、自訂欄位和作者詳細資訊,One Call 提供了一個帖子欄位過濾選項,以自訂的 REST API 前綴,例如「test-api」,其中「wp-json」是預設值。預設情況下,WP REST API 不會提供精選圖片、標籤名稱、分類名稱和作者詳細資訊等詳細資訊,為了獲取這些詳細資訊,您必須為每個術語呼叫另一個 REST API,這會減緩程序。在這種情況下,One Call 是加速 REST API 呼叫的解決方案。

One Call API 的主要功能有:

自訂和後端控制 REST API 前綴,例如「test-api」,其中「wp-json」是預設值,以初步保護 API 呼叫。
為列出文章和單一文章回應獲取不同的響應。
對於文章列表(多個)呼叫,您可以從後端控制「one_call」欄位。
WordPress 文章欄位過濾選項從後端控制文章列表(文章循環)。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「One Call – WP REST API Extension」→ 直接安裝(推薦)

原文外掛簡介

One Call is a helper or extension of WP REST API. To get featured image details, Categories lits, Tags list, Custom fields & Author detials by single rest api response One Call is giving a you post fileds filter options with custom rest api prefix such as ‘test-api’ where ‘wp-json’ is default.By default wp rest api does not give featured image, tags names, categories name & author details etc and to get them you have to call another rest api for each term which slow down the procedures. One Call is the solution to speed up rest api call in this case.
The key features of One Call API are-

Custom and back end control rest api prefix such as ‘test-api’ where ‘wp-json’ is default to initially secure the api call.
Get different reponse for list posts and single post responses.
For posts list (multiple) call, you can control ‘one_call’ fields from back end.
WordPress Posts fields filtering options from backend for posts litst (loop of Posts).

文章
Filter
Mastodon