SiteTune
SiteTune objectA site's automatic tuning (ADR 0116)
policystring requiredAllowed values:"inherit""off"plan_policystring requiredAllowed values:"auto""suggest""off"effectivestring requiredAllowed values:"auto""suggest""off"plan_warmboolean requiredstatestring required'' (never), applied, rolled_back, failed, reverted
up_to_dateboolean requiredapplied_atstring (date-time) | null optionalprobed_atstring (date-time) | null optionallast_errorstring optionalblocked_untilstring (date-time) | null optionaloverriddenarray<string> | null optionaldriftedarray<string> | null optional
Used by
| GET | /api/v1/tenants/{tid}/sites/{id}/tune | The site's automatic tuning, its profile and history (ADR 0116) |
| POST | /api/v1/tenants/{tid}/sites/{id}/tune/apply | Probe the site and apply its profile now, checked and rolled back if the site answers differently |
| POST | /api/v1/tenants/{tid}/sites/{id}/tune/revert | Take back what the tuner applied |
| PUT | /api/v1/tenants/{tid}/sites/{id}/tune/policy | Follow the plan's tuning policy, or opt this site out (off reverts) |