easy-svg-pro/v1/audit/originals
Lists every kept original from the SVG cleaner, without their bytes.
REST endpoint · Easy SVG Pro · Status: Internal · Defined in includes/core/rest.php
Usage
GET /wp-json/easy-svg-pro/v1/audit/originals
Example
curl -u admin:app-password https://example.com/wp-json/easy-svg-pro/v1/audit/originals
Description
Covers media attachments, free library icons and icon sets that were cleaned. Sizes come from one query, so no original is loaded. At most 500 per kind are listed; more is true when there were more. Permission: Requires manage_options, an active licence and the audit feature (SVG cleaner) switched on.
Permission: Requires manage_options, an active licence and the audit feature (SVG cleaner) switched on.
Return value
rows with ref (media:<id>, icon:<id> or set:<id>), kind, label and size in bytes, plus more.
Response
rows with ref (media:<id>, icon:<id> or set:<id>), kind, label and size in bytes, plus more.
{
"rows": [
{
"ref": "media:101",
"kind": "media",
"label": "logo",
"size": 2048
}
],
"more": false
}