Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/darylldoyle/wp-json-menus/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Menus for wp-json API V2
This is a WordPress plugin to add menus to V2 of the WP-API.
Usage
Usage is pretty simple. Upload the plugin to your plugins directory and activate it in the WP Admin.
You'll then see a new namspace registered in the API menus/v1. Using this namsepace, you can access your menus.
Thanks
The code for this is mainly pulled from nekojira/wp-api-menus. So thanks for the code :)