বৰ্ণনা
MksDdn Collection for Postman helps developers quickly generate a Postman Collection (v2.1.0) 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.
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
– 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)
– 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)
– 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.
ইনষ্টলেশ্যন
- Upload the
mksddn-collection-for-postmanfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- In the admin sidebar, open “Postman Collection” to generate and download the collection.
সঘনাই উত্থাপিত প্ৰশ্ন
-
Does it support multisite?
-
Yes. It works at the site level. Network-specific screens are not required.
-
Does it require ACF?
-
No. It supports ACF fields if present for pages and posts, but it does not require ACF to work.
-
Is there a WP-CLI command?
-
Yes. The plugin includes WP-CLI integration for command-line usage:
Export to file:
wp mksddn-collection-for-postman export –file=postman_collection.jsonPrint to stdout:
wp mksddn-collection-for-postman export –pages=home,aboutExport with specific pages:
wp mksddn-collection-for-postman export –file=my_collection.json –pages=home,about,contact -
Does it support ACF fields?
-
Yes. The plugin automatically includes ACF field support in requests for pages and posts. When generating requests, it adds
acf_format=standardparameter and includes ACF fields in the_fieldsparameter. -
Does it support file uploads in forms?
-
Yes. When forms contain file fields, the plugin automatically generates multipart/form-data requests with proper file handling. For forms without files, it uses standard JSON requests.
-
Can I customize the generated collection?
-
Yes. The plugin provides WordPress filters for customization:
–mksddn_postman_collection– Modify the entire collection structure
–mksddn_postman_filename– Customize the download filename
–mksddn_postman_capability– Change required user capability
পৰ্য্যালোচনা
এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।
অৱদানকাৰী আৰু বিকাশকাৰীসকল
“MksDdn Collection for Postman” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।
অৱদানকাৰীসকলআপোনাৰ ভাষাত “MksDdn Collection for Postman” অনুবাদ কৰক।
বিকাশৰ প্ৰতি আগ্ৰহী?
ক’ড ব্ৰাউজ কৰক, SVN ৰিপজিটৰী চাওক নাইবা RSS-দ্বাৰা বিকাশৰ পঞ্জী ছাবস্ক্ৰাইব কৰক।
সলনি-পঞ্জী
1.0.4
- New: Category selection in admin to generate requests for posts by selected categories
- New: “Posts by Categories” folder in the collection
1.0.3
- Fixed WordPress.org Plugin Review compliance issues
- Replaced inline JavaScript with proper wp_enqueue_scripts usage
- Added documentation for external services (Postman Collection Schema)
- Fixed direct core file loading by using WordPress REST API functions
- Added proper escaping for output variables in JSON generation
- Improved code security and WordPress Coding Standards compliance
1.0.2
- Added Yoast SEO integration: automatic inclusion of yoast_head_json in _fields parameter for pages and posts
- Enhanced REST API requests to include SEO metadata when Yoast SEO plugin is active
- Added Accept-Language header support for multilingual sites with Polylang priority
- Implemented automatic language detection from Polylang settings or WordPress locale
- Added Search functionality with three search types: Posts, Pages, and All content
- Enhanced all GET requests with proper Accept-Language headers for internationalization
- Improved documentation with comprehensive multilingual and SEO support details
1.0.1
- Changed plugin name from “MksDdn Postman Collection” to “MksDdn Collection for Postman”
- Updated plugin slug from “mksddn-postman-collection” to “mksddn-collection-for-postman”
- Updated WP-CLI command from “mksddn-postman” to “mksddn-collection-for-postman”
- Updated text domain and language files
1.0.0
Initial public release.