2017 © Pedro Peláez
 

wordpress-plugin wp-rest-api-routes

Exposing rewrite rules through the REST API

image

ylletjs/wp-rest-api-routes

Exposing rewrite rules through the REST API

  • Friday, March 2, 2018
  • by fredrikforsmo
  • Repository
  • 1 Watchers
  • 3 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Routes endpoint

Build Status, (*1)

Exposing rewrite rules through the REST API., (*2)

New endpoint:, (*3)

/wp-json/wp/v2/routes

Example response:, (*4)

[
  {
      "path": "^wp-json\/?$",
      "type": "unknown"
  },
  {
      "path": "^wp-json\/(.*)?",
      "type": "unknown"
  },
  {
      "path": "^index.php\/wp-json\/?$",
      "type": "unknown"
  },
  {
      "path": "^index.php\/wp-json\/(.*)?",
      "type": "unknown"
  },
  {
      "path": "blog\/category\/(.+?)\/feed\/(feed|rdf|rss|rss2|atom)\/?$",
      "type": "category"
  },
  {
      "path": "blog\/category\/(.+?)\/(feed|rdf|rss|rss2|atom)\/?$",
      "type": "category"
  }
]

Installation

composer require ylletjs/wp-rest-api-routes

License

MIT © Fredrik Forsmo, (*5)

The Versions

02/03 2018

dev-master

9999999-dev https://github.com/ylletjs/wp-rest-api-routes

Exposing rewrite rules through the REST API

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress api rest routes wp-rest-api yllet

02/03 2018

v1.0.0

1.0.0.0 https://github.com/ylletjs/wp-rest-api-routes

Exposing rewrite rules through the REST API

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress api rest routes wp-rest-api yllet