跳转到主要内容

章节WordPress REST API Handbook

Content Live

62 页更新于 1 天前

开始阅读

本章内容62

  1. 01 Key Concepts In this page we’ll break down some of the key concepts and terms associated with the REST API: Routes & End... 1 天前
  2. 02 REST API Handbook The WordPress REST API provides an interface for applications to interact with your WordPress site by sendi... 1 天前
  3. 03 Requests Overview While the WordPress REST API may be called internally within other WordPress code via PHP, the RES... 1 天前
  4. 04 Reference The WordPress REST API is organized around REST, and is designed to have predictable, resource-oriented URL... 1 天前
  5. 05 Glossary New to REST APIs? Get up to speed with phrases used throughout our documentation. Controller Model-View-Con... 1 天前
  6. 06 Using the REST API These articles explore the basic structure of the WordPress REST API. Global Parameters: learn about the gl... 1 天前
  7. 07 Extending the REST API Guides Modifying responses: add fields to REST API response objects using register_meta or register_rest_... 1 天前
  8. 08 Frequently Asked Questions This page provides solutions to some common questions and problems that may arise while using the API. If y... 1 天前
  9. 09 Changelog This document details changes to the WP REST API since its public release in version 4.7.0. Version 5.6 Int... 1 天前
  10. 10 Rendered Blocks Schema The schema defines all the fields that exist within a Rendered Block record. Any response from these... 1 天前
  11. 11 Search Results Schema The schema defines all the fields that exist within a search result record. Any response from these ... 1 天前
  12. 12 Themes Schema The schema defines all the fields that exist within a theme record. Any response from these endpoint... 1 天前
  13. 13 Block Revisions Schema The schema defines all the fields that exist within a Block Revision record. Any response from these... 1 天前
  14. 14 Editor Blocks Schema The schema defines all the fields that exist within a Editor Block record. Any response from these e... 1 天前
  15. 15 Block Directory Items Schema The schema defines all the fields that exist within a block directory item record. Any response from... 1 天前
  16. 16 Block Types Schema The schema defines all the fields that exist within a block type record. Any response from these end... 1 天前
  17. 17 Plugins Schema The schema defines all the fields that exist within a plugin record. Any response from these endpoin... 1 天前
  18. 18 Application Passwords Schema The schema defines all the fields that exist within a application password record. Any response from... 1 天前
  19. 19 Block Pattern Categories Schema The schema defines all the fields that exist within a block pattern category record. Any response fr... 1 天前
  20. 20 Block Patterns Schema The schema defines all the fields that exist within a block pattern record. Any response from these ... 1 天前
  21. 21 Menu Locations Schema The schema defines all the fields that exist within a menu location record. Any response from these ... 1 天前
  22. 22 Nav_Menu_Item Revisions Schema The schema defines all the fields that exist within a nav_menu_item revision record. Any response fr... 1 天前
  23. 23 Nav_Menu_Items Schema The schema defines all the fields that exist within a nav_menu_item record. Any response from these ... 1 天前
  24. 24 Nav_Menus Schema The schema defines all the fields that exist within a nav_menu record. Any response from these endpo... 1 天前
  25. 25 Pattern Directory Items Schema The schema defines all the fields that exist within a pattern directory item record. Any response fr... 1 天前
  26. 26 Sidebars Schema The schema defines all the fields that exist within a sidebar record. Any response from these endpoi... 1 天前
  27. 27 Widget Types Schema The schema defines all the fields that exist within a widget type record. Any response from these en... 1 天前
  28. 28 Widgets Schema The schema defines all the fields that exist within a widget record. Any response from these endpoin... 1 天前
  29. 29 Wp Site Health Tests Schema The schema defines all the fields that exist within a wp site health test record. Any response from ... 1 天前
  30. 30 Global_Styles Schema The schema defines all the fields that exist within a global_styles record. Any response from these ... 1 天前
  31. 31 Navigation Revisions Schema The schema defines all the fields that exist within a navigation revision record. Any response from ... 1 天前
  32. 32 Navigations Schema The schema defines all the fields that exist within a navigation record. Any response from these end... 1 天前
  33. 33 Template Revisions Schema The schema defines all the fields that exist within a template revision record. Any response from th... 1 天前
  34. 34 Template_Part Revisions Schema The schema defines all the fields that exist within a template_part revision record. Any response fr... 1 天前
  35. 35 Template_Parts Schema The schema defines all the fields that exist within a template_part record. Any response from these ... 1 天前
  36. 36 Templates Schema The schema defines all the fields that exist within a template record. Any response from these endpo... 1 天前
  37. 37 Posts Schema The schema defines all the fields that exist within a post record. Any response from these endpoints... 1 天前
  38. 38 Post Revisions Schema The schema defines all the fields that exist within a post revision record. Any response from these ... 1 天前
  39. 39 Pages Schema The schema defines all the fields that exist within a page record. Any response from these endpoints... 1 天前
  40. 40 Site Settings Schema The schema defines all the fields that exist within a Site Setting record. Any response from these e... 1 天前
  41. 41 Users Schema The schema defines all the fields that exist within a user record. Any response from these endpoints... 1 天前
  42. 42 Media Schema The schema defines all the fields that exist within a Media Item record. Any response from these end... 1 天前
  43. 43 Types Schema The schema defines all the fields that exist within a type record. Any response from these endpoints... 1 天前
  44. 44 Categories Schema The schema defines all the fields that exist within a category record. Any response from these endpo... 1 天前
  45. 45 Statuses Schema The schema defines all the fields that exist within a status record. Any response from these endpoin... 1 天前
  46. 46 Comments Schema The schema defines all the fields that exist within a comment record. Any response from these endpoi... 1 天前
  47. 47 Tags Schema The schema defines all the fields that exist within a tag record. Any response from these endpoints ... 1 天前
  48. 48 Taxonomies Schema The schema defines all the fields that exist within a taxonomy record. Any response from these endpo... 1 天前
  49. 49 Page Revisions Schema The schema defines all the fields that exist within a page revision record. Any response from these ... 1 天前
  50. 50 Authentication Cookie Authentication Cookie authentication is the standard authentication method included with WordPress. ... 1 天前
  51. 51 Pagination WordPress sites can have a lot of content—far more than you’d want to pull down in a single request. The AP... 1 天前
  52. 52 Discovery When your client talks to an unknown site, you’ll need to discover what the site is capable of and how the ... 1 天前
  53. 53 Linking and Embedding The WP REST API incorporates hyperlinking throughout the API to allow discoverability and browsability, as ... 1 天前
  54. 54 Global Parameters The API includes a number of global parameters (also called “meta-parameters”) which control how the API ha... 1 天前
  55. 55 Backbone JavaScript Client The REST API includes a JavaScript/Backbone client library. The library provides an interface for the WP RE... 1 天前
  56. 56 Client Libraries The API can be used from any application by sending basic HTTP requests; however, client libraries simplify... 1 天前
  57. 57 Routes and Endpoints Overview The REST API provides us a way to match URIs to various resources in our WordPress install. By def... 1 天前
  58. 58 Controller Classes Overview To register a new REST route, you must specify a number of callback functions to control endpoint ... 1 天前
  59. 59 Schema Overview A schema is metadata that tells us how our data is structured. Most databases implement some form ... 1 天前
  60. 60 Adding REST API Support For Custom Content Types The REST API can create routes for custom post types and custom taxonomies inside of the wp/v2 namespace, ... 1 天前
  61. 61 Modifying Responses The default endpoints of the WordPress REST API are designed to return data by default that provides for th... 1 天前
  62. 62 Adding Custom Endpoints The WordPress REST API is more than just a set of default routes. It is also a tool for creating custom rou... 1 天前