WP Manifestindependent plugin directory
manifest / integrations / menus-endpoints

WordPress REST API Menus Endpoints archived

Feature plugin for Menu Endpoints

by WP REST API Team · github.com/wp-api/menus-endpoints · website

44stars
11forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/wp-api/menus-endpoints/archive/refs/heads/master.zip

Readme

WordPress REST API Navigation Menus Endpoints

Do not use this plugin

This REST API Menu Endpoints were merged into WordPress Core in version 5.9. To report an issue with those endpoints, create a trac ticket.


Feature plugin implementing REST endpoints for WordPress Navigation Menus, Menus Items and Menu locations. The origins of this projects can be found at trac ticket #40878.

To access data from these API, request must be authenticated, not reliving possibility senative data that is not public by default in WordPress.

Endpoints

Endpoints to define for menus:

GET  /menus
POST  /menus
GET  /menus/:id
POST /menus/:id
DELETE /menus/:id

Endpoints to define for menu items:

GET  /menu-items
POST  /menu-items
GET  /menu-items/:id
POST /menu-items/:id
DELETE /menu-items/:id

Endpoints to define for menu locations:

GET  /menu-items
GET  /menu-items/:location

License

The Menus Endpoints is licensed under the GPL v2 or later.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Contributions

Anyone is welcome to contribute to Menus Endpoints

There are various ways you can contribute:

  • Raise an issue on GitHub.
  • Send us a Pull Request with your bug fixes and/or new features.
  • Provide feedback and suggestions on enhancements.

It is worth noting that, this project has travis enabled and runs automated tests, including code sniffing and unit tests. Any pull request will be rejects, unless these tests pass. This is to ensure that the code is of the highest quality, follows coding standards and is secure.

Read the full README on GitHub →

Releases

TagPublished
0.5.0 Feb 18, 2020
0.4.0 Jan 26, 2020
0.3 Jan 10, 2020
0.2 Jun 17, 2019
0.1 Jun 17, 2019

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.