brettkrueger / multisite-rest-api

Adds several REST API endpoints for multisite management.
https://wordpress.org/plugins/multisite-rest-api/
GNU General Public License v3.0
32 stars 12 forks source link
hacktoberfest

Multisite REST API

Contributors: brettkrueger, umajeric, amydinsyahira
Tags: json, api, multisite
Requires at least: 5.1
Requires PHP: 7.0
Tested up to: 6.5.5
Stable tag: v1.3.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Description

This plugin provides several endpoints for creating, listing, updating, and deleting WordPress multisites. It aims to make headless WordPress multisite environments not only possible, but practical.

Installation

You can install this using all the usual methods. The only difference is that this plugin must be network activated.

Using The WordPress Dashboard

  1. Navigate to 'Add New' in the plugins dashboard
  2. Search for 'multisite rest api'
  3. Click 'Install Now'
  4. Network Activate the plugin in the Plugin dashboard

Uploading in WordPress Dashboard

  1. Navigate to 'Add New' in the plugins dashboard
  2. Navigate to the 'Upload' area
  3. Select multisite-rest-api.zip from your computer
  4. Click 'Install Now'
  5. Network Activate the plugin in the Plugin dashboard

Using FTP

  1. Download multisite-rest-api.zip
  2. Extract the multisite-rest-api directory to your computer
  3. Upload the multisite-rest-api directory to the /wp-content/plugins/ directory
  4. Network Activate the plugin in the Plugin dashboard

Upgrade Notice

Upgrades are pushed through WordPress.org.

Screenshots

  1. Screenshot

Changelog

1.3.0

1.2.1

1.2.0

1.1.0

1.0.0

Authentication

All endpoints require authentication from an existing WordPress user. We suggest using JWT through something like simple-jwt-login.

List Site(s)

Create Site

Update Site

Delete Site

Assign User to Site