Contents
List Integrations - Plugixa Permalink Manager
GET /plugixa-permalink-manager/v1/integrations
List the integrations with other plugins, detected ones first, with whether each is switched on and running.
Needs the plugixa_permalink_manager_view capability.
Request
GET https://your-site.example/wp-json/plugixa-permalink-manager/v1/integrations
Responses
200 OK. data is one card per integration.
{
"success": true,
"data": [
{
"id": "woocommerce",
"name": "WooCommerce",
"description": "Custom permalinks for products and product categories, with the shop page and account endpoints kept working.",
"features": [
"Products, categories, tags and attributes",
"Shop page at any address",
"SKU and attribute tags"
],
"screen": "/permastructures",
"detected": true,
"enabled": true,
"running": true
}
]
}
| Field | Type | Meaning |
|---|---|---|
data[].id |
string |
The integration: polylang, wpml, rank_math, yoast, seopress, and with Pro acf and woocommerce |
data[].name |
string |
Its name |
data[].description |
string |
What it does |
data[].features |
array |
What it adds, one line each |
data[].screen |
string|null |
The admin screen it relates to |
data[].detected |
boolean |
Whether the other plugin is installed and active |
data[].enabled |
boolean |
Whether its switch is on |
data[].running |
boolean |
Whether it is running now |
See Integrations.
Errors
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixa-permalink-manager/v1/integrations" \
-u "admin:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-permalink-manager/v1/integrations');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERPWD => 'admin:' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const auth = 'Basic ' + btoa(`admin:${process.env.WP_APP_PASSWORD}`);
const response = await fetch('https://your-site.example/wp-json/plugixa-permalink-manager/v1/integrations', {
headers: { 'Authorization': auth },
});
const { data } = await response.json();
Quick Links
Share