Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 771 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 771 Bytes

ns-cloner-api

Adds an endpoint to the Wordpress REST API to allow NS Cloner to copy sites in a multisite installation.

Notes

It is recommended to use this plugin with

Endpoint

  • POST http://HOSTNAME/wp-json/ns-cloner/v1/copy
    • Headers:
      • Content-Type: application/json
    • Body:
      • source_id: ID of the blog you wanna copy.
      • target_name: The Name of the new blog (e.g. NAME.HOSTNAME.COM). Be aware that there is no check yet if the name already exists.
      • target_title: The Title of the new blog