Documentation for version 2 of the API
CSS Other
Pull request Compare This branch is 326 commits behind WP-API:gh-pages.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_data
_includes
_layouts
assets
extending/internal-classes
guide
js
stylesheets
templates
.gitignore
CNAME
Gemfile
Phakefile.php
README.md
_config.yml
changes-beta-1.md
composer.json
glossary.md
index.md

README.md

These files comprise v2.wp-api.org. The endpoint documentation is programmatically, but manually, generated from the API.

Setup

  1. Install Composer.

  2. Install dev dependencies with composer install --dev

  3. Set the domain for WP-API: export WP_API_DEV_DOMAIN=http://wordpress-develop.dev (or similar)

  4. Build the endpoint documentation:

vendor/bin/phake