Skip to content

Commit

Permalink
Adjust links to moved pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamwhite committed Mar 31, 2020
1 parent 0bca084 commit d3db392
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions extending-the-rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Guides

[Modifying responses](https://developer.wordpress.org/rest-api/extending-the-rest-api/modifying-responses/): add fields to REST API response objects using `register_rest_field`
[Modifying responses](https://developer.wordpress.org/rest-api/extending-the-rest-api/modifying-responses/): add fields to REST API response objects using `register_meta` or `register_rest_field`

[Adding Endpoints](https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/): create custom REST API endpoints for your plugin or application

Expand All @@ -13,8 +13,11 @@

[Defining your API Schema](https://developer.wordpress.org/rest-api/extending-the-rest-api/schema/): define the schema for your REST API resources and their arguments

[Glossary](https://developer.wordpress.org/rest-api/extending-the-rest-api/glossary/): get up to speed with phrases used throughout our documentation
[Glossary](https://developer.wordpress.org/rest-api/glossary/): get up to speed with phrases used throughout our documentation

[Routes & Endpoints](https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/): dive deeper into the nuances of REST API routes and the endpoints they provide

[Controller Classes](https://developer.wordpress.org/rest-api/extending-the-rest-api/controller-classes/): discover how to structure and extend REST API endpoint controller classes


[Frequently Asked Questions](https://developer.wordpress.org/rest-api/frequently-asked-questions/): see some of the most frequent inquiries about the REST API and learn how to solve common problems
2 changes: 1 addition & 1 deletion extending-the-rest-api/adding-custom-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ add_action( 'rest_api_init', function () {
} );
```

Right now, we're only registering the one endpoint for the route. The term "route" refers to the URL, whereas "endpoint" refers to the function behind it that corresponds to a method *and* a URL (for more information, see the [Glossary](https://developer.wordpress.org/rest-api/extending-the-rest-api/glossary/)).
Right now, we're only registering the one endpoint for the route. The term "route" refers to the URL, whereas "endpoint" refers to the function behind it that corresponds to a method *and* a URL (for more information, see the [Glossary](https://developer.wordpress.org/rest-api/glossary/)).

For example, if your site domain is `example.com` and you've kept the API path of `wp-json`, then the full URL would be `http://example.com/wp-json/myplugin/v1/author/(?P\d+)`.

Expand Down
2 changes: 1 addition & 1 deletion using-the-rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ These articles explore the basic structure of the WordPress REST API.

[Authentication](https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/): authorize your REST API requests so that you can create, update and delete your data

[Frequently Asked Questions](https://developer.wordpress.org/rest-api/using-the-rest-api/frequently-asked-questions/): see some of the most frequent inquiries about the REST API and learn how to solve common problems
[Frequently Asked Questions](https://developer.wordpress.org/rest-api/frequently-asked-questions/): see some of the most frequent inquiries about the REST API and learn how to solve common problems


## Resources & Utilities
Expand Down

0 comments on commit d3db392

Please sign in to comment.