[WordPress] 外掛分享: Ultimate Endpoints With Rest Api

首頁外掛目錄 › Ultimate Endpoints With Rest Api
WordPress 外掛 Ultimate Endpoints With Rest Api 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
500+
安裝啟用
★★★★★
5/5 分(6 則評價)
784 天前
最後更新
問題解決
WordPress 3.0.1+ PHP 5.2.4+ v2.2.2 上架:2018-11-15

內容簡介

WordPress REST API 不僅僅是一組預設路由。但你想要新增自訂端點/路由到 WP REST API 中?太棒了!讓我們從這個外掛開始。

功能

✅ 只需一秒即可建立 API
✅ 透過秘密金鑰進行 API 認證
✅ 取消秘密金鑰
✅ 在 2 秒內建立端點 URL
✅ 捕捉 API 請求/回應日誌到系統中
✅ 建立最近活動
✅ 系統自動刪除日誌

☛ 你可能了解,製作外掛和技術支援需要耗費大量時間。因此,如果你喜歡這個外掛,你可以在這裡為我買冰淇淋 – http://wcra.gmnckkp.in/
或是直接在這裡贊助我 – paypal.me/dipoo7

☛ 首先需要一個秘密金鑰來呼叫自訂端點 URL,但管理員可以在後端的外掛介面中建立「新秘密金鑰」。在建立新的存取權限之後,外掛將提供一個所需的秘密金鑰來進行請求。外掛預設會提供根秘密金鑰,您可以在「端點 URL」選項卡中看到這些。

☛ 現在關於自訂端點 URL,這個外掛提供了一個簡單的方式來建立一個自訂端點/路由,只需一個點擊。當您建立一個端點時,此外掛會自動註冊指定使用者在「端點 URL」選項卡中定義的參數(請求)。外掛即時建立端點。如果您點擊該端點 URL,您會立即獲得「連接OK」回應。那就表示您的端點 URL/路由已經準備就緒了。

☛ 現在您可能會想到一個問題:寫自己的 API 需要什麼,雖然我需要自己編寫代碼才能進行 API。
是的,答案是您可以使用 Endpoint URLs 在較短的時間內完成 API,但您不需要編寫/處理 API,只需在此外掛所提供的篩選器鉤子中掛上您自己的代碼,一旦您創建了端點,即可享受回應。您可以在端點列表頁面中找到它。在任何功能頁面中定義篩選器鉤子之後,您將開始接收所有請求參數,並使您的 API 功能返回輸出。

☛ 這個外掛向使用者提供了一個簡單但易用的介面。使用者可以從設置面板控制設置。

☛ 這個外掛最有特色的功能之一是,如果在設置面板中打開了日誌記錄,它會記錄所有請求/回應並創建日誌。此外,外掛會通過 CRON 自動刪除之前捕獲的日誌,如果在設置面板中啟用了 CRON。使用者可以在設置面板中選擇自己所需的刪除日誌選項。請注意,WordPress CRON 不是實時自動作業,它可能存在延遲。

☛ 在管理面板中有一個「最近活動」選項卡。該外掛將記錄所有最近的動作並記錄最長達 6 天的活動。管理員可以從設置面板中更改天數。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Ultimate Endpoints With Rest Api」→ 直接安裝(推薦)

原文外掛簡介

The WordPress REST API is more than just a set of default routes.But you want to add your Custom Endpoints/routes to the WP REST API ? Fantastic! Let’s get started with this plugin.
Features
✅ Make a API in one second only
✅ API authentication with secret key
✅ Deactivate secret key incase
✅ Create Endpoint Url In 2 Seconds
✅ Capture Api Request/Response Log into system
✅ Creating Recent Activity
✅ Auto Deleteting Log by the system
☛ You probably understand we requires lots of hours of work to make a plugins and technical supports, So if you like this plugin, you can buy me an Ice-Cream here – http://wcra.gmnckkp.in/
OR,
Directly here – paypal.me/dipoo7
☛ Firstly a Secret Key is needed to call the Custom Endpoints URL, However Admin can create ‘New Secret Key’ on plugin interface in the backend. After creating a new access, the plugin will be providing a SECRET KEY, which will be needed on requests. By default, the plugin will be providing a ROOT SECRET KEY. You can see those in ‘Endpoint URLs’ tab.
☛ Now coming to the Custom Endpoints URLs.This plugin provides an easy or simple way to create a Custom Endpoints/route by just one click. When You are creating an endpoint, this plugin register that ROUTE automatically with parameters(request) defined by the users in ‘Endpoint URLs’ Tab and the plugin builds an endpoint instantly. If you hit that endpoint URL, you will get a ‘Connection OK’ response instantly.That Means your endpoint uRL/Route is ready.
☛ Now one question could appear in your mind that what’s need to create a Custom Endpoints URL, though I need to write my own custom code to make a API .
Yes, the answer is you could make a API in very less time with the Endpoint URLs, however you do not need to write/handle the API, you just hang your own code in the filter hook, provided by this plugin, once you have created an endpoint, and enjoy the response. You can find that in Endpoint Listing panel. After defining the FILTER hook in any function page, you will be started receiving all request parameters and make functioning your API and return your output.
☛ This plugin exposes a simple yet easy interface to all settings. Users can control settings from the settings panel.
☛ One of the most features of this plugin is that it records all requests/responses and create a log, if it is TURN ON in the settings panel.Also, the plugin will remove/delete previously captured log VIA CRON, if CRON is enabled in the settings panel. The users can select their desired options to delete log in the settings panel. Please note WordPress CRON is not a real-time auto job, it could be a delay.
☛ There is a Recent activity tab in the admin panel. All recent actions will be recorded by this plugin and the activity would be recorded for maximum last 6 days. Admin can change the number of days from the settings panel.

延伸相關外掛

文章
Filter
Mastodon