书籍
WordPress REST API Handbook
中文译本:WordPress REST API 手册 (https://docs.cocobook.com/books/wp-rest-api-handbook-zh)
WordPress REST API Handbook。内容保持上游原样。
- 第 1 章 Bin 1 页
-
第 2 章
Content Live
62 页
- 2.1 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.2 REST API Handbook The WordPress REST API provides an interface for applications to interact with your WordPress site by sendi... 1 天前
- 2.3 Requests Overview While the WordPress REST API may be called internally within other WordPress code via PHP, the RES... 1 天前
- 2.4 Reference The WordPress REST API is organized around REST, and is designed to have predictable, resource-oriented URL... 1 天前
- 2.5 Glossary New to REST APIs? Get up to speed with phrases used throughout our documentation. Controller Model-View-Con... 1 天前
- 2.6 Using the REST API These articles explore the basic structure of the WordPress REST API. Global Parameters: learn about the gl... 1 天前
- 2.7 Extending the REST API Guides Modifying responses: add fields to REST API response objects using register_meta or register_rest_... 1 天前
- 2.8 Frequently Asked Questions This page provides solutions to some common questions and problems that may arise while using the API. If y... 1 天前
- 2.9 Changelog This document details changes to the WP REST API since its public release in version 4.7.0. Version 5.6 Int... 1 天前
- 2.10 Rendered Blocks Schema The schema defines all the fields that exist within a Rendered Block record. Any response from these... 1 天前
- 2.11 Search Results Schema The schema defines all the fields that exist within a search result record. Any response from these ... 1 天前
- 2.12 Themes Schema The schema defines all the fields that exist within a theme record. Any response from these endpoint... 1 天前
- 2.13 Block Revisions Schema The schema defines all the fields that exist within a Block Revision record. Any response from these... 1 天前
- 2.14 Editor Blocks Schema The schema defines all the fields that exist within a Editor Block record. Any response from these e... 1 天前
- 2.15 Block Directory Items Schema The schema defines all the fields that exist within a block directory item record. Any response from... 1 天前
- 2.16 Block Types Schema The schema defines all the fields that exist within a block type record. Any response from these end... 1 天前
- 2.17 Plugins Schema The schema defines all the fields that exist within a plugin record. Any response from these endpoin... 1 天前
- 2.18 Application Passwords Schema The schema defines all the fields that exist within a application password record. Any response from... 1 天前
- 2.19 Block Pattern Categories Schema The schema defines all the fields that exist within a block pattern category record. Any response fr... 1 天前
- 2.20 Block Patterns Schema The schema defines all the fields that exist within a block pattern record. Any response from these ... 1 天前
- 2.21 Menu Locations Schema The schema defines all the fields that exist within a menu location record. Any response from these ... 1 天前
- 2.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 天前
- 2.23 Nav_Menu_Items Schema The schema defines all the fields that exist within a nav_menu_item record. Any response from these ... 1 天前
- 2.24 Nav_Menus Schema The schema defines all the fields that exist within a nav_menu record. Any response from these endpo... 1 天前
- 2.25 Pattern Directory Items Schema The schema defines all the fields that exist within a pattern directory item record. Any response fr... 1 天前
- 2.26 Sidebars Schema The schema defines all the fields that exist within a sidebar record. Any response from these endpoi... 1 天前
- 2.27 Widget Types Schema The schema defines all the fields that exist within a widget type record. Any response from these en... 1 天前
- 2.28 Widgets Schema The schema defines all the fields that exist within a widget record. Any response from these endpoin... 1 天前
- 2.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 天前
- 2.30 Global_Styles Schema The schema defines all the fields that exist within a global_styles record. Any response from these ... 1 天前
- 2.31 Navigation Revisions Schema The schema defines all the fields that exist within a navigation revision record. Any response from ... 1 天前
- 2.32 Navigations Schema The schema defines all the fields that exist within a navigation record. Any response from these end... 1 天前
- 2.33 Template Revisions Schema The schema defines all the fields that exist within a template revision record. Any response from th... 1 天前
- 2.34 Template_Part Revisions Schema The schema defines all the fields that exist within a template_part revision record. Any response fr... 1 天前
- 2.35 Template_Parts Schema The schema defines all the fields that exist within a template_part record. Any response from these ... 1 天前
- 2.36 Templates Schema The schema defines all the fields that exist within a template record. Any response from these endpo... 1 天前
- 2.37 Posts Schema The schema defines all the fields that exist within a post record. Any response from these endpoints... 1 天前
- 2.38 Post Revisions Schema The schema defines all the fields that exist within a post revision record. Any response from these ... 1 天前
- 2.39 Pages Schema The schema defines all the fields that exist within a page record. Any response from these endpoints... 1 天前
- 2.40 Site Settings Schema The schema defines all the fields that exist within a Site Setting record. Any response from these e... 1 天前
- 2.41 Users Schema The schema defines all the fields that exist within a user record. Any response from these endpoints... 1 天前
- 2.42 Media Schema The schema defines all the fields that exist within a Media Item record. Any response from these end... 1 天前
- 2.43 Types Schema The schema defines all the fields that exist within a type record. Any response from these endpoints... 1 天前
- 2.44 Categories Schema The schema defines all the fields that exist within a category record. Any response from these endpo... 1 天前
- 2.45 Statuses Schema The schema defines all the fields that exist within a status record. Any response from these endpoin... 1 天前
- 2.46 Comments Schema The schema defines all the fields that exist within a comment record. Any response from these endpoi... 1 天前
- 2.47 Tags Schema The schema defines all the fields that exist within a tag record. Any response from these endpoints ... 1 天前
- 2.48 Taxonomies Schema The schema defines all the fields that exist within a taxonomy record. Any response from these endpo... 1 天前
- 2.49 Page Revisions Schema The schema defines all the fields that exist within a page revision record. Any response from these ... 1 天前
- 2.50 Authentication Cookie Authentication Cookie authentication is the standard authentication method included with WordPress. ... 1 天前
- 2.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 天前
- 2.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 天前
- 2.53 Linking and Embedding The WP REST API incorporates hyperlinking throughout the API to allow discoverability and browsability, as ... 1 天前
- 2.54 Global Parameters The API includes a number of global parameters (also called “meta-parameters”) which control how the API ha... 1 天前
- 2.55 Backbone JavaScript Client The REST API includes a JavaScript/Backbone client library. The library provides an interface for the WP RE... 1 天前
- 2.56 Client Libraries The API can be used from any application by sending basic HTTP requests; however, client libraries simplify... 1 天前
- 2.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 天前
- 2.58 Controller Classes Overview To register a new REST route, you must specify a number of callback functions to control endpoint ... 1 天前
- 2.59 Schema Overview A schema is metadata that tells us how our data is structured. Most databases implement some form ... 1 天前
- 2.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 天前
- 2.61 Modifying Responses The default endpoints of the WordPress REST API are designed to return data by default that provides for th... 1 天前
- 2.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 天前
- 64 API Docs This repo contains the source for documentation for the API on developer.wordpress.org (DevHub). Adding/Rem... 1 年前
-
第 3 章
Extending The Rest Api
6 页
- 3.1 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 年前
- 3.2 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 年前
- 3.3 Controller Classes Overview To register a new REST route, you must specify a number of callback functions to control endpoint ... 1 年前
- 3.4 Modifying Responses The default endpoints of the WordPress REST API are designed to return data by default that provides for th... 1 年前
- 3.5 Routes and Endpoints Overview The REST API provides us a way to match URIs to various resources in our WordPress install. By def... 1 年前
- 3.6 Schema Overview A schema is metadata that tells us how our data is structured. Most databases implement some form ... 1 年前
- 71 Changelog This document details changes to the WP REST API since its public release in version 4.7.0. Version 5.6 Int... 1 年前
-
第 4 章
Reference
42 页
- 4.1 Application Passwords Schema The schema defines all the fields that exist within a application password record. Any response from... 1 年前
- 4.2 Block Directory Items Schema The schema defines all the fields that exist within a block directory item record. Any response from... 1 年前
- 4.3 Block Pattern Categories Schema The schema defines all the fields that exist within a block pattern category record. Any response fr... 1 年前
- 4.4 Block Patterns Schema The schema defines all the fields that exist within a block pattern record. Any response from these ... 1 年前
- 4.5 Block Revisions Schema The schema defines all the fields that exist within a Block Revision record. Any response from these... 1 年前
- 4.6 Block Types Schema The schema defines all the fields that exist within a block type record. Any response from these end... 1 年前
- 4.7 Editor Blocks Schema The schema defines all the fields that exist within a Editor Block record. Any response from these e... 1 年前
- 4.8 Categories Schema The schema defines all the fields that exist within a category record. Any response from these endpo... 1 年前
- 4.9 Comments Schema The schema defines all the fields that exist within a comment record. Any response from these endpoi... 1 年前
- 4.10 Media Schema The schema defines all the fields that exist within a Media Item record. Any response from these end... 1 年前
- 4.11 Menu Locations Schema The schema defines all the fields that exist within a menu location record. Any response from these ... 1 年前
- 4.12 Nav_Menu_Item Revisions Schema The schema defines all the fields that exist within a nav_menu_item revision record. Any response fr... 1 年前
- 4.13 Nav_Menu_Items Schema The schema defines all the fields that exist within a nav_menu_item record. Any response from these ... 1 年前
- 4.14 Nav_Menus Schema The schema defines all the fields that exist within a nav_menu record. Any response from these endpo... 1 年前
- 4.15 Navigation Fallbacks Schema The schema defines all the fields that exist within a navigation fallback record. Any response from ... 1 年前
- 4.16 Page Revisions Schema The schema defines all the fields that exist within a page revision record. Any response from these ... 1 年前
- 4.17 Pages Schema The schema defines all the fields that exist within a page record. Any response from these endpoints... 1 年前
- 4.18 Pattern Directory Items Schema The schema defines all the fields that exist within a pattern directory item record. Any response fr... 1 年前
- 4.19 Plugins Schema The schema defines all the fields that exist within a plugin record. Any response from these endpoin... 1 年前
- 4.20 Post Revisions Schema The schema defines all the fields that exist within a post revision record. Any response from these ... 1 年前
- 4.21 Statuses Schema The schema defines all the fields that exist within a status record. Any response from these endpoin... 1 年前
- 4.22 Types Schema The schema defines all the fields that exist within a type record. Any response from these endpoints... 1 年前
- 4.23 Posts Schema The schema defines all the fields that exist within a post record. Any response from these endpoints... 1 年前
- 4.24 Rendered Blocks Schema The schema defines all the fields that exist within a Rendered Block record. Any response from these... 1 年前
- 4.25 Search Results Schema The schema defines all the fields that exist within a search result record. Any response from these ... 1 年前
- 4.26 Site Settings Schema The schema defines all the fields that exist within a Site Setting record. Any response from these e... 1 年前
- 4.27 Sidebars Schema The schema defines all the fields that exist within a sidebar record. Any response from these endpoi... 1 年前
- 4.28 Tags Schema The schema defines all the fields that exist within a tag record. Any response from these endpoints ... 1 年前
- 4.29 Taxonomies Schema The schema defines all the fields that exist within a taxonomy record. Any response from these endpo... 1 年前
- 4.30 Themes Schema The schema defines all the fields that exist within a theme record. Any response from these endpoint... 1 年前
- 4.31 Users Schema The schema defines all the fields that exist within a user record. Any response from these endpoints... 1 年前
- 4.32 Widget Types Schema The schema defines all the fields that exist within a widget type record. Any response from these en... 1 年前
- 4.33 Widgets Schema The schema defines all the fields that exist within a widget record. Any response from these endpoin... 1 年前
- 4.34 Wp Site Health Tests Schema The schema defines all the fields that exist within a wp site health test record. Any response from ... 1 年前
- 4.35 Global_Styles Revisions Schema The schema defines all the fields that exist within a global_styles revision record. Any response fr... 1 年前
- 4.36 Global_Styles Schema The schema defines all the fields that exist within a global_styles record. Any response from these ... 1 年前
- 4.37 Navigation Revisions Schema The schema defines all the fields that exist within a navigation revision record. Any response from ... 1 年前
- 4.38 Navigations Schema The schema defines all the fields that exist within a navigation record. Any response from these end... 1 年前
- 4.39 Template Revisions Schema The schema defines all the fields that exist within a template revision record. Any response from th... 1 年前
- 4.40 Template_Part Revisions Schema The schema defines all the fields that exist within a template_part revision record. Any response fr... 1 年前
- 4.41 Template_Parts Schema The schema defines all the fields that exist within a template_part record. Any response from these ... 1 年前
- 4.42 Templates Schema The schema defines all the fields that exist within a template record. Any response from these endpo... 1 年前
- 114 Extending the REST API Guides Modifying responses: add fields to REST API response objects using register_meta or register_rest_... 1 年前
-
第 5 章
Using The Rest Api
7 页
- 5.1 Authentication Cookie Authentication Cookie authentication is the standard authentication method included with WordPress. ... 1 年前
- 5.2 Backbone JavaScript Client The REST API includes a JavaScript/Backbone client library. The library provides an interface for the WP RE... 1 年前
- 5.3 Client Libraries The API can be used from any application by sending basic HTTP requests; however, client libraries simplify... 1 年前
- 5.4 Discovery When your client talks to an unknown site, you'll need to discover what the site is capable of and how the ... 1 年前
- 5.5 Global Parameters The API includes a number of global parameters (also called "meta-parameters") which control how the API ha... 1 年前
- 5.6 Linking and Embedding The WP REST API incorporates hyperlinking throughout the API to allow discoverability and browsability, as ... 1 年前
- 5.7 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 年前
- 122 Frequently Asked Questions This page provides solutions to some common questions and problems that may arise while using the API. If y... 1 年前
- 123 Glossary New to REST APIs? Get up to speed with phrases used throughout our documentation. Controller Model-View-Con... 1 年前
- 124 REST API Handbook The WordPress REST API provides an interface for applications to interact with your WordPress site by sendi... 1 年前
- 125 Key Concepts In this page we'll break down some of the key concepts and terms associated with the REST API: Routes & End... 1 年前
- 126 Reference The WordPress REST API is organized around REST, and is designed to have predictable, resource-oriented URL... 1 年前
- 127 Requests Overview While the WordPress REST API may be called internally within other WordPress code via PHP, the RES... 1 年前
- 128 Using the REST API These articles explore the basic structure of the WordPress REST API. Global Parameters: learn about the gl... 1 年前