This commit is contained in:
Mateusz Gruszczyński committed 2026-11-20 17:18:02 +01:00
1 parent 5e43752041
commit 15425fb803
34 files changed
+1423 -89

No files matched your search

+52 -11
View File
@@ -1961,9 +1961,7 @@
"vhosts": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
"$ref": "#/components/schemas/VhostScopeCatalogItem"
}
},
"dashboard": {
@@ -1976,6 +1974,10 @@
"items": {
"$ref": "#/components/schemas/CacheBan"
}
},
"catalog_version": {
"type": "string",
"description": "Fingerprint of effective Vhost scope catalog, including Docker publications. Check on view=live even when revision is unchanged."
}
},
"additionalProperties": false
@@ -6961,9 +6963,12 @@
"vhosts": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
"$ref": "#/components/schemas/VhostScopeCatalogItem"
}
},
"catalog_version": {
"type": "string",
"description": "Fingerprint of effective Vhost scope catalog, including Docker publications. Check on view=live even when revision is unchanged."
}
}
},
@@ -8959,6 +8964,42 @@
"maxLength": 262144
}
}
},
"VhostScopeCatalogItem": {
"type": "object",
"description": "Effective reverse-proxy Vhost, including generated Docker publications. The stable ID remains the API scope; the label is presentation-only.",
"additionalProperties": true,
"properties": {
"id": {
"type": "string",
"description": "Stable Vhost scope ID, also used in cache purge/invalidation and Traffic analytics."
},
"hosts": {
"type": "array",
"items": {
"type": "string"
}
},
"docker": {
"type": "boolean",
"description": "True for a generated Docker Vhost."
},
"label": {
"type": "string",
"description": "Human-readable Vhost description; Docker entries include container/domain/agent where available."
},
"metrics": {
"type": "object",
"additionalProperties": true,
"description": "Only in full Cache responses."
},
"settings": {
"type": "object",
"additionalProperties": true,
"nullable": true,
"description": "Resolved effective cache settings; only in full Cache responses."
}
}
}
}
},
@@ -11025,7 +11066,7 @@
"operationId": "get_api_cache",
"responses": {
"200": {
"description": "Full response by default. view=live omits static settings/vhost configuration while retaining revision, live metrics, dashboard objects/domains and BAN rules.",
"description": "Full response by default, including ordinary and generated Docker Vhost scopes (with human labels, resolved cache settings and metrics). view=live omits static settings/vhost definitions but retains revision, catalog_version, metrics, dashboard and BAN rules.",
"content": {
"application/json": {
"schema": {
@@ -11080,7 +11121,7 @@
"name": "vhost",
"in": "query",
"required": false,
"description": "Configured vhost ID. Omit to select all scopes.",
"description": "Ordinary or generated Docker Vhost ID. Omit to select all scopes.",
"schema": {
"type": "string"
}
@@ -11111,7 +11152,7 @@
"name": "view",
"in": "query",
"required": false,
"description": "Set to live for polling. Omits static settings and vhost configuration; refetch the full view when revision changes.",
"description": "Set to live for polling. Omits static settings/vhost catalog; refetch full view when revision or catalog_version changes.",
"schema": {
"type": "string",
"enum": [
@@ -14212,7 +14253,7 @@
"name": "vhost",
"in": "query",
"required": false,
"description": "Configured vhost ID or * for all vhosts.",
"description": "Ordinary or generated Docker Vhost ID, or * for all Vhosts.",
"schema": {
"type": "string",
"default": "*"
@@ -14222,7 +14263,7 @@
"name": "view",
"in": "query",
"required": false,
"description": "Set to live for polling. Omits the static vhost list; refetch the full view when revision changes.",
"description": "Set to live for polling. Omits static Vhost list; refetch full view when revision or catalog_version changes.",
"schema": {
"type": "string",
"enum": [
@@ -14233,7 +14274,7 @@
],
"responses": {
"200": {
"description": "Full response by default. view=live omits the static vhost list while retaining revision, current settings, GeoIP state and analytics.",
"description": "Full response includes ordinary and generated Docker Vhost scope IDs with readable labels. view=live omits the static Vhost list while retaining revision, catalog_version, settings, GeoIP state and analytics.",
"content": {
"application/json": {
"schema": {