changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "files": {
+ "description": "Inlined contents of the requested text files (default: all text files, capped for size).",
+ "items": {
+ "properties": {
+ "content": {
+ "description": "Full text content of the file.",
+ "type": "string"
+ },
+ "encoding": {
+ "description": "Always 'utf-8' — only text files are inlined.",
+ "enum": [
+ "utf-8"
+ ],
+ "type": "string"
+ },
+ "path": {
+ "description": "Path of this file under the site root.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "content",
+ "encoding"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "manifest": {
+ "description": "Every file on the site (always complete, regardless of which contents were inlined).",
+ "items": {
+ "properties": {
+ "content_type": {
+ "description": "Stored content-type, e.g. 'text/html'.",
+ "type": "string"
+ },
+ "is_text": {
+ "description": "Whether the file is a text type eligible to have its content inlined.",
+ "type": "boolean"
+ },
+ "path": {
+ "description": "Path under the site root, e.g. 'index.html'.",
+ "type": "string"
+ },
+ "sha256": {
+ "description": "Hex sha256 of the file bytes; null if not recorded for this file.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "size_bytes": {
+ "description": "File size in bytes.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "path",
+ "size_bytes",
+ "content_type",
+ "sha256",
+ "is_text"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "site_id": {
+ "description": "The site's slug / id.",
+ "type": "string"
+ },
+ "truncated": {
+ "description": "true if some requested file contents were omitted for size — request specific paths to read them.",
+ "type": "boolean"
+ },
+ "url": {
+ "description": "The live URL of the site.",
+ "type": "string"
+ },
+ "version": {
+ "description": "The site's current version — pass as expected_version to update_site_file to avoid clobbering.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "site_id",
+ "version",
+ "url",
+ "manifest",
+ "files",
+ "truncated"
+ ],
+ "type": "object"
+}