Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The content for developer.wordpress.org/rest-api

NotificationsYou must be signed in to change notification settings

WP-API/docs

Repository files navigation

This repo contains the source fordocumentation for the API on developer.wordpress.org (DevHub).

Adding/Removing Files

When creating new files, these must be added to the manifest. Runbin/generate-manifest.php to update this.

Removing files also requires regenerating the manifest. After deletion and sync with DevHub, the page also needs to be manually deleted from DevHub.

Refreshing the Templated API Reference

The reference section is created by parsing the output of a site's schema as retrieved from that site's REST API index route. The current method used to generate this approach is as follows:

  • Create a local WordPress environment (always use the current or Release Candidate version of WordPress) using the local environment tool of your choice.
  • Edit/etc/hosts to map the domainexample.com to the IP of that WordPress instance, and ensure the site is configured to run atexample.com.
  • Runcomposer install in this project's root directory to install dependencies.
  • Runcomposer run-script regenerate in this project's root directory to run the asset regeneration script.
  • Usegit status andgit diff to validate that the files were updated as expected.

About

The content for developer.wordpress.org/rest-api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors70


[8]ページ先頭

©2009-2025 Movatter.jp