[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8455":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},8455,"WP-API","WP-API\u002FWP-API","The WP REST API has been merged into WordPress core. Please do not create issues or send pull requests. Submit support requests to the forums or patches to Trac (see README below for links).","https:\u002F\u002Fdeveloper.wordpress.org\u002Frest-api\u002F",null,"PHP",3927,643,8,49,0,1,30.43,"GNU General Public License v2.0",true,false,"develop",[],"2026-06-12 02:01:53","# WP REST API v2.0 (formerly known as WP-API)\n\nAccess your WordPress site's data through an easy-to-use HTTP REST API.\n\n**Development is no longer taking place in this repository**.\n\n- For support requests, use the\n  [WordPress forums](https:\u002F\u002Fwordpress.org\u002Fsupport\u002F).\n- For bugs and patches, use\n  [WordPress core Trac](https:\u002F\u002Fcore.trac.wordpress.org).\n  Be sure to include full details and reproduction steps about the issue you are\n  experiencing, and ideally a patch with unit tests.\n\nThe **\"develop\"** branch is version 2 which represents the last \"beta\" versions of the\n[plugin](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Frest-api\u002F).\n[Read the documentation](https:\u002F\u002Fdeveloper.wordpress.org\u002Frest-api\u002F)\nto introduce yourself to endpoints, internal patterns, and implementation details.\n\nThe **\"master\"** branch represents the **legacy** version of the REST API.\n\n## About\n\nWordPress is moving towards becoming a fully-fledged application framework, and\nwe need new APIs. This project was born to create an easy-to-use,\neasy-to-understand and well-tested framework for creating these APIs, plus\ncreating APIs for core.\n\nThis plugin provides an easy to use REST API, available via HTTP. Grab your\nsite's data in simple JSON format, including users, posts, taxonomies and more.\nRetrieving or updating data is as simple as sending a HTTP request.\n\nWant to get your site's posts? Simply send a `GET` request to `\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts`.\nUpdate user with ID 4? Send a `PUT` request to `\u002Fwp-json\u002Fwp\u002Fv2\u002Fusers\u002F4`. Get the page\nwith slug \"about-me\"? `GET \u002Fwp-json\u002Fwp\u002Fv2\u002Fpages?slug=about-me`. Get all posts with\nthe search term \"awesome\"? `GET \u002Fwp-json\u002Fwp\u002Fv2\u002Fposts?search=awesome`. It's that easy.\n\nThe WordPress REST API exposes a simple yet easy interface to WP Query, the posts\nAPI, post meta API, users API, revisions API and many more. Chances are, if you\ncan do it with WordPress, the API will let you do it.\n\nThe REST API also includes an easy-to-use JavaScript API based on Backbone models,\nallowing plugin and theme developers to get up and running without needing to\nknow anything about the details of getting connected.\n\nCheck out [our documentation][docs] for information on what's available in the\nAPI and how to use it. We've also got documentation on extending the API with\nextra data for plugin and theme developers!\n\nThe API code in this plugin is currently integrated into core WordPress starting in\n[4.7](https:\u002F\u002Fwordpress.org\u002Fnews\u002F2016\u002F12\u002Fvaughan\u002F).\n\n**Development is no longer taking place in this repository**.\n\n- For support requests, use the\n  [WordPress forums](https:\u002F\u002Fwordpress.org\u002Fsupport\u002F).\n- For bugs and patches, use\n  [WordPress core Trac](https:\u002F\u002Fcore.trac.wordpress.org).\n  Be sure to include full details and reproduction steps about the issue you are\n  experiencing, and ideally a patch with unit tests.\n\n## Quick Setup\n\nWant to test out the WP REST API?  The easiest way is just to install a\nrecent version of WordPress\n([4.7](https:\u002F\u002Fwordpress.org\u002Fnews\u002F2016\u002F12\u002Fvaughan\u002F) or later).\n\n### Testing\n\nYou can also set up a development environment to work on the API code.\n\nSee the\n[instructions for running the WordPress PHPUnit test suite](https:\u002F\u002Fmake.wordpress.org\u002Fcore\u002Fhandbook\u002Ftesting\u002Fautomated-testing\u002Fphpunit\u002F)\nto get started.\n\n## Issue Tracking\n\nAll tickets for the project are being tracked on\n[WordPress core Trac](https:\u002F\u002Fcore.trac.wordpress.org).\n\nSome previous issues can be found on the\n[issue tracker for this repository](\u002FWP-API\u002FWP-API\u002Fissues);\nhowever, now that development of the API has moved to core Trac, new issues\n**should not be filed here**.\n\n## Contributing\n\nWant to get involved? Check out [Contributing.md][contributing] for details on\nsubmitting fixes and new features.\n\n## Security\n\nWe take the security of the API extremely seriously. If you think you've found\na security issue with the API (whether information disclosure, privilege\nescalation, or another issue), we'd appreciate responsible disclosure as soon\nas possible.\n\nTo report a security issue, you can either email `security[at]wordpress.org`,\nor [file an issue on HackerOne][hackerone]. We will attempt to give an initial\nresponse to security issues within 48 hours at most, however keep in mind that\nthe team is distributed across various timezones, and delays may occur as we\ndiscuss internally.\n\n(Please note: For testing, you should install a copy of the project and\nWordPress on your own server. **Do not test on servers you do not own.**)\n\n## License\n\n[GPLv2+](http:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fgpl-2.0.html)\n\n[docs]: https:\u002F\u002Fdeveloper.wordpress.org\u002Frest-api\u002F\n[contributing]: CONTRIBUTING.md\n[hackerone]: https:\u002F\u002Fhackerone.com\u002Fwp-api\n","WP REST API 是一个允许通过HTTP REST接口访问WordPress站点数据的项目。它支持以简单的JSON格式获取或更新用户、文章、分类等信息，提供了一个易于使用且功能强大的API框架。技术上，该项目基于PHP开发，并已集成到WordPress核心中，从4.7版本开始默认包含。它不仅支持基本的CRUD操作，还提供了与WP Query等核心功能交互的能力以及一个基于Backbone模型的JavaScript API，方便前端开发者快速上手。适合需要构建自定义应用、移动客户端或者对现有WordPress网站进行扩展和集成的场景。",2,"2026-06-11 03:18:06","top_language"]