[WordPress] 外掛分享: MksDdn Collection for Postman

首頁外掛目錄 › MksDdn Collection for Postman
全新外掛
安裝啟用
尚無評分
50 天前
最後更新
問題解決
WordPress 6.2+ PHP 8.1+ v2.1.0 上架:2025-10-05

內容簡介

總結:MksDdn Collection for Postman 外掛可幫助開發人員快速生成 WordPress REST API 端點的 Postman Collection。該外掛自動發現並包含標準 WordPress 實體、自訂文章類型、選項頁面和個別頁面。生成的集合包括預配置的請求與示例數據,可下載為 JSON 文件以匯入到 Postman 中。

1. 這個外掛如何幫助開發人員快速生成 WordPress REST API 的 Postman Collection?
- 透過自動發現標準 WordPress 實體、自訂文章類型、選項頁面和個別頁面。
2. 這個外掛提供了哪些 API 測試功能?
- 包括自動生成表單提交的測試數據、支援通過多部分/表單數據進行檔案上傳,以及與 Advanced Custom Fields (ACF) 的無縫集成。
3. 外掛的功能特點有哪些?
- 包括基本 REST 端點、搜索功能、自訂文章類型、特殊處理 Forms、個別頁面、自動測試數據生成、支援檔案上傳等。
4. 這個外掛如何引用外部服務進行 Postman Collection 架構驗證?
- 透過引用 Postman Collection Schema Service,用於根據官方 Postman Collection v2.1.0 規格驗證和結構化生成的 Postman Collection JSON。

外掛標籤

開發者團隊

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

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

原文外掛簡介

MksDdn Collection for Postman helps developers quickly generate a Postman Collection (v2.1.0) or OpenAPI 3.0 documentation for WordPress REST API endpoints. The plugin automatically discovers and includes standard WordPress entities, custom post types, options pages, and individual pages. Generated collections include pre-configured requests with sample data and can be downloaded as JSON files for import into Postman. OpenAPI spec can be used with Swagger UI, Redoc, or frontend code generators.
The plugin provides comprehensive API testing capabilities with automatic generation of test data for form submissions, support for file uploads via multipart/form-data, and seamless integration with Advanced Custom Fields (ACF). Special handling is included for the mksddn-forms-handler plugin when active.
Features:
– Basic REST endpoints: pages, posts, categories, tags, taxonomies, comments, users, settings
– WooCommerce REST API (wc/v3): products, product categories, orders with full CRUD when WooCommerce is active
– Search functionality: Posts, Pages, and All content types with customizable queries
– Custom Post Types with full CRUD operations (List, Get by Slug/ID, Create, Update, Delete)
– ACF/SCF fields: auto-included for all post types when ACF or Smart Custom Fields plugin is active
– Special handling for Forms (mksddn-forms-handler integration)
– Options endpoints: /wp-json/custom/v1/options/...
– Individual pages by slug with ACF field support
– Automatic test data generation for form submissions
– Support for multipart/form-data for file uploads
– Yoast SEO integration (automatic yoast_head_json inclusion)
– Multilingual support with Accept-Language headers (Polylang priority)
– OpenAPI 3.0 export for API documentation (Swagger UI, Redoc)
– Extensible via WordPress filters
– WP-CLI integration for command-line usage
External services
This plugin references external services for Postman Collection schema validation:
Postman Collection Schema Service
– Service: Postman Collection Schema (schema.getpostman.com)
– Purpose: Used to validate and structure the generated Postman Collection JSON according to the official Postman Collection v2.1.0 specification
– Data sent: No data is sent to this service. The plugin only references the schema URL for validation purposes
– When: The schema URL is included in the generated collection metadata for Postman to validate the collection structure
– Terms of service: https://www.postman.com/legal/terms-of-use/
– Privacy policy: https://www.postman.com/legal/privacy-policy/
Note: This plugin does not send any user data to external services. The schema reference is purely for collection structure validation within the Postman application.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon