🚀 Access the endpoint with
/wp-json/ntwrkrst/v1/wpsitelist
- which returns:
{
"123": {
"blog_id" : "123",
"domain":"example.com",
"path":"\/main\/"
}
// etc
}
🔬 Query sites path with a search, similar to
/wp-json/ntwrkrst/v1/wpsitelist?q=keyword
📦 Cache's for 24h
⚙️ Built primarily for
this Alfred workflow to quickly find a sites
blog_id
From the WordPress plugin directory (recommended):
- Navigate to Plugins > Add New in your WordPress Dashboard
- Search for "Network Rest Site List"
- Click Install on the "Network Rest Site List" plugin
- Activate the plugin
By direct upload:
- Download the plugin and unzip it.
- Upload the network-rest-site-list folder to your /wp-content/plugins/ directory
- Activate the plugin through the 'Plugins' menu in WordPress