{
  "openapi": "3.1.0",
  "info": {
    "title": "screen.fyi",
    "version": "1.0.0",
    "description": "Take a clean screenshot of any public web page, desktop or mobile, full page or first screen. One URL in, one image out.\n\nA note on what screen.fyi keeps: each capture in full (the address requested, the traffic of the page as it loads, the image or document returned) and where the request came from (IP address, rough place and network, reported browser, connection fingerprint). It is all kept indefinitely, as part of a study of how the web is used. Using the service or its API is acceptance of this; please send nothing private. https://screen.fyi/what-we-keep"
  },
  "servers": [
    {
      "url": "https://screen.fyi"
    }
  ],
  "externalDocs": {
    "description": "How to call screen.fyi",
    "url": "https://screen.fyi/docs"
  },
  "paths": {
    "/capture": {
      "get": {
        "operationId": "takeCapture",
        "summary": "Open the address in a fresh, isolated Chromium and return what it shows. Images and PDFs come back as binary; text, Markdown and HTML as UTF-8; JSON holds the article and the status the page answered with.",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The public web address, http or https, to capture.",
              "format": "uri",
              "example": "https://example.com"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
              "enum": [
                "png",
                "jpeg",
                "webp",
                "text",
                "markdown",
                "html",
                "json",
                "pdf"
              ],
              "default": "png"
            }
          },
          {
            "name": "width",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Width of the viewport, in pixels.",
              "minimum": 240,
              "maximum": 2560,
              "default": 1280
            }
          },
          {
            "name": "height",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Height of the viewport, in pixels.",
              "minimum": 200,
              "maximum": 2560,
              "default": 800
            }
          },
          {
            "name": "scale",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 2,
              "default": 1,
              "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
            }
          },
          {
            "name": "full_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
            }
          },
          {
            "name": "quality",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Quality of a JPEG or WebP image.",
              "minimum": 1,
              "maximum": 100,
              "default": 80
            }
          },
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "A further pause after the page is ready, in milliseconds.",
              "minimum": 0,
              "maximum": 2000,
              "default": 0
            }
          },
          {
            "name": "timeout",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
              "minimum": 1000,
              "maximum": 20000,
              "default": 15000
            }
          },
          {
            "name": "selector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "A CSS selector to wait for, and then to capture or read alone.",
              "maxLength": 500
            }
          },
          {
            "name": "javascript",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "Whether the page may run its scripts while it is captured."
            }
          },
          {
            "name": "mobile",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "post": {
        "operationId": "submitCapture",
        "summary": "The same capture as GET /capture, with its options sent in the body: an image or PDF as binary, text, Markdown or HTML as UTF-8, or JSON with the article and the page's own status.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "png"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "png"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/plain": {
      "get": {
        "operationId": "readAsPlainText",
        "summary": "Return the page as plain text, read from the rendered page. A format parameter may ask for something else.",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The public web address, http or https, to capture.",
              "format": "uri",
              "example": "https://example.com"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
              "enum": [
                "png",
                "jpeg",
                "webp",
                "text",
                "markdown",
                "html",
                "json",
                "pdf"
              ],
              "default": "text"
            }
          },
          {
            "name": "width",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Width of the viewport, in pixels.",
              "minimum": 240,
              "maximum": 2560,
              "default": 1280
            }
          },
          {
            "name": "height",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Height of the viewport, in pixels.",
              "minimum": 200,
              "maximum": 2560,
              "default": 800
            }
          },
          {
            "name": "scale",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 2,
              "default": 1,
              "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
            }
          },
          {
            "name": "full_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
            }
          },
          {
            "name": "quality",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Quality of a JPEG or WebP image.",
              "minimum": 1,
              "maximum": 100,
              "default": 80
            }
          },
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "A further pause after the page is ready, in milliseconds.",
              "minimum": 0,
              "maximum": 2000,
              "default": 0
            }
          },
          {
            "name": "timeout",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
              "minimum": 1000,
              "maximum": 20000,
              "default": 15000
            }
          },
          {
            "name": "selector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "A CSS selector to wait for, and then to capture or read alone.",
              "maxLength": 500
            }
          },
          {
            "name": "javascript",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "Whether the page may run its scripts while it is captured."
            }
          },
          {
            "name": "mobile",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "post": {
        "operationId": "submitPlainText",
        "summary": "Plain text of the rendered page, with options in the body. A format parameter may ask for something else.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "text"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "text"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/md": {
      "get": {
        "operationId": "readAsMarkdown",
        "summary": "Return the page as Markdown, set down from the rendered page. A format parameter may ask for something else.",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The public web address, http or https, to capture.",
              "format": "uri",
              "example": "https://example.com"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
              "enum": [
                "png",
                "jpeg",
                "webp",
                "text",
                "markdown",
                "html",
                "json",
                "pdf"
              ],
              "default": "markdown"
            }
          },
          {
            "name": "width",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Width of the viewport, in pixels.",
              "minimum": 240,
              "maximum": 2560,
              "default": 1280
            }
          },
          {
            "name": "height",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Height of the viewport, in pixels.",
              "minimum": 200,
              "maximum": 2560,
              "default": 800
            }
          },
          {
            "name": "scale",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 2,
              "default": 1,
              "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
            }
          },
          {
            "name": "full_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
            }
          },
          {
            "name": "quality",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Quality of a JPEG or WebP image.",
              "minimum": 1,
              "maximum": 100,
              "default": 80
            }
          },
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "A further pause after the page is ready, in milliseconds.",
              "minimum": 0,
              "maximum": 2000,
              "default": 0
            }
          },
          {
            "name": "timeout",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
              "minimum": 1000,
              "maximum": 20000,
              "default": 15000
            }
          },
          {
            "name": "selector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "A CSS selector to wait for, and then to capture or read alone.",
              "maxLength": 500
            }
          },
          {
            "name": "javascript",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "Whether the page may run its scripts while it is captured."
            }
          },
          {
            "name": "mobile",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "post": {
        "operationId": "submitMarkdown",
        "summary": "Markdown of the rendered page, with options in the body. A format parameter may ask for something else.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "markdown"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "markdown"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/html": {
      "get": {
        "operationId": "readRenderedHtml",
        "summary": "Return the HTML of the page as it stands once rendered. A format parameter may ask for something else.",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The public web address, http or https, to capture.",
              "format": "uri",
              "example": "https://example.com"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
              "enum": [
                "png",
                "jpeg",
                "webp",
                "text",
                "markdown",
                "html",
                "json",
                "pdf"
              ],
              "default": "html"
            }
          },
          {
            "name": "width",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Width of the viewport, in pixels.",
              "minimum": 240,
              "maximum": 2560,
              "default": 1280
            }
          },
          {
            "name": "height",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Height of the viewport, in pixels.",
              "minimum": 200,
              "maximum": 2560,
              "default": 800
            }
          },
          {
            "name": "scale",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 2,
              "default": 1,
              "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
            }
          },
          {
            "name": "full_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
            }
          },
          {
            "name": "quality",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Quality of a JPEG or WebP image.",
              "minimum": 1,
              "maximum": 100,
              "default": 80
            }
          },
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "A further pause after the page is ready, in milliseconds.",
              "minimum": 0,
              "maximum": 2000,
              "default": 0
            }
          },
          {
            "name": "timeout",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
              "minimum": 1000,
              "maximum": 20000,
              "default": 15000
            }
          },
          {
            "name": "selector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "A CSS selector to wait for, and then to capture or read alone.",
              "maxLength": 500
            }
          },
          {
            "name": "javascript",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "Whether the page may run its scripts while it is captured."
            }
          },
          {
            "name": "mobile",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "post": {
        "operationId": "submitRenderedHtml",
        "summary": "The rendered HTML of the page, with options in the body. A format parameter may ask for something else.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "html"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "html"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/json": {
      "get": {
        "operationId": "readAsArticle",
        "summary": "Return the page as JSON: the article, read from the rendered page. A format parameter may ask for something else.",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The public web address, http or https, to capture.",
              "format": "uri",
              "example": "https://example.com"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
              "enum": [
                "png",
                "jpeg",
                "webp",
                "text",
                "markdown",
                "html",
                "json",
                "pdf"
              ],
              "default": "json"
            }
          },
          {
            "name": "width",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Width of the viewport, in pixels.",
              "minimum": 240,
              "maximum": 2560,
              "default": 1280
            }
          },
          {
            "name": "height",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Height of the viewport, in pixels.",
              "minimum": 200,
              "maximum": 2560,
              "default": 800
            }
          },
          {
            "name": "scale",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 2,
              "default": 1,
              "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
            }
          },
          {
            "name": "full_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
            }
          },
          {
            "name": "quality",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Quality of a JPEG or WebP image.",
              "minimum": 1,
              "maximum": 100,
              "default": 80
            }
          },
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "A further pause after the page is ready, in milliseconds.",
              "minimum": 0,
              "maximum": 2000,
              "default": 0
            }
          },
          {
            "name": "timeout",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
              "minimum": 1000,
              "maximum": 20000,
              "default": 15000
            }
          },
          {
            "name": "selector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "A CSS selector to wait for, and then to capture or read alone.",
              "maxLength": 500
            }
          },
          {
            "name": "javascript",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "Whether the page may run its scripts while it is captured."
            }
          },
          {
            "name": "mobile",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "post": {
        "operationId": "submitArticle",
        "summary": "The page as article JSON, with options in the body. A format parameter may ask for something else.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "json"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "json"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/pdf": {
      "get": {
        "operationId": "printToPdf",
        "summary": "Return the page printed as a PDF. A format parameter may ask for something else.",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The public web address, http or https, to capture.",
              "format": "uri",
              "example": "https://example.com"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
              "enum": [
                "png",
                "jpeg",
                "webp",
                "text",
                "markdown",
                "html",
                "json",
                "pdf"
              ],
              "default": "pdf"
            }
          },
          {
            "name": "width",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Width of the viewport, in pixels.",
              "minimum": 240,
              "maximum": 2560,
              "default": 1280
            }
          },
          {
            "name": "height",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Height of the viewport, in pixels.",
              "minimum": 200,
              "maximum": 2560,
              "default": 800
            }
          },
          {
            "name": "scale",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 2,
              "default": 1,
              "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
            }
          },
          {
            "name": "full_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
            }
          },
          {
            "name": "quality",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Quality of a JPEG or WebP image.",
              "minimum": 1,
              "maximum": 100,
              "default": 80
            }
          },
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "A further pause after the page is ready, in milliseconds.",
              "minimum": 0,
              "maximum": 2000,
              "default": 0
            }
          },
          {
            "name": "timeout",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
              "minimum": 1000,
              "maximum": 20000,
              "default": 15000
            }
          },
          {
            "name": "selector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "A CSS selector to wait for, and then to capture or read alone.",
              "maxLength": 500
            }
          },
          {
            "name": "javascript",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "Whether the page may run its scripts while it is captured."
            }
          },
          {
            "name": "mobile",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "post": {
        "operationId": "submitPdf",
        "summary": "The page printed as a PDF, with options in the body. A format parameter may ask for something else.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "pdf"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "pdf"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/image": {
      "get": {
        "operationId": "takePicture",
        "summary": "Return a picture of the page as an image. A format parameter may ask for something else.",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The public web address, http or https, to capture.",
              "format": "uri",
              "example": "https://example.com"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
              "enum": [
                "png",
                "jpeg",
                "webp",
                "text",
                "markdown",
                "html",
                "json",
                "pdf"
              ],
              "default": "png"
            }
          },
          {
            "name": "width",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Width of the viewport, in pixels.",
              "minimum": 240,
              "maximum": 2560,
              "default": 1280
            }
          },
          {
            "name": "height",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Height of the viewport, in pixels.",
              "minimum": 200,
              "maximum": 2560,
              "default": 800
            }
          },
          {
            "name": "scale",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 2,
              "default": 1,
              "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
            }
          },
          {
            "name": "full_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
            }
          },
          {
            "name": "quality",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Quality of a JPEG or WebP image.",
              "minimum": 1,
              "maximum": 100,
              "default": 80
            }
          },
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "A further pause after the page is ready, in milliseconds.",
              "minimum": 0,
              "maximum": 2000,
              "default": 0
            }
          },
          {
            "name": "timeout",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
              "minimum": 1000,
              "maximum": 20000,
              "default": 15000
            }
          },
          {
            "name": "selector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "A CSS selector to wait for, and then to capture or read alone.",
              "maxLength": 500
            }
          },
          {
            "name": "javascript",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "Whether the page may run its scripts while it is captured."
            }
          },
          {
            "name": "mobile",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "post": {
        "operationId": "submitPicture",
        "summary": "A picture of the page as an image, with options in the body. A format parameter may ask for something else.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "png"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The public web address, http or https, to capture.",
                    "format": "uri",
                    "example": "https://example.com"
                  },
                  "format": {
                    "type": "string",
                    "description": "What to hand back: png, jpeg, webp, pdf, html, text, markdown or json.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp",
                      "text",
                      "markdown",
                      "html",
                      "json",
                      "pdf"
                    ],
                    "default": "png"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width of the viewport, in pixels.",
                    "minimum": 240,
                    "maximum": 2560,
                    "default": 1280
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height of the viewport, in pixels.",
                    "minimum": 200,
                    "maximum": 2560,
                    "default": 800
                  },
                  "scale": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 2,
                    "default": 1,
                    "description": "Pixel density: 2 draws each CSS pixel twice over, for sharper type."
                  },
                  "full_page": {
                    "type": "boolean",
                    "default": false,
                    "description": "Capture the whole page from top to bottom, not only the first screen. Up to 16,384 pixels tall and about 24 megapixels."
                  },
                  "quality": {
                    "type": "integer",
                    "description": "Quality of a JPEG or WebP image.",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 80
                  },
                  "wait": {
                    "type": "integer",
                    "description": "A further pause after the page is ready, in milliseconds.",
                    "minimum": 0,
                    "maximum": 2000,
                    "default": 0
                  },
                  "timeout": {
                    "type": "integer",
                    "description": "How long each step may take, in milliseconds. The whole capture must finish within 25 seconds of the browser starting.",
                    "minimum": 1000,
                    "maximum": 20000,
                    "default": 15000
                  },
                  "selector": {
                    "type": "string",
                    "description": "A CSS selector to wait for, and then to capture or read alone.",
                    "maxLength": 500
                  },
                  "javascript": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether the page may run its scripts while it is captured."
                  },
                  "mobile": {
                    "type": "boolean",
                    "default": false,
                    "description": "Put the browser in mobile mode, so the page lays itself out as a phone would ask."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/docs": {
      "get": {
        "operationId": "readReference",
        "summary": "The reference, as an HTML page written on the server.",
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/robots.txt": {
      "get": {
        "operationId": "crawlerNote",
        "summary": "Which paths crawlers may visit, and where the sitemap lives.",
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/sitemap.xml": {
      "get": {
        "operationId": "listPages",
        "summary": "Every public page of the reference and guides.",
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/health": {
      "get": {
        "operationId": "isAwake",
        "summary": "Whether the service is up. It does not look in on anything outside itself.",
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "notesForMachines",
        "summary": "A plain-text account of the service, written for machines.",
        "responses": {
          "200": {
            "description": "As asked.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "Problem": {
        "description": "Something went wrong; the problem is described.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            }
          }
        }
      }
    },
    "schemas": {
      "Problem": {
        "type": "object",
        "required": [
          "problem"
        ],
        "properties": {
          "problem": {
            "type": "object",
            "required": [
              "status",
              "detail"
            ],
            "properties": {
              "status": {
                "type": "integer"
              },
              "detail": {
                "type": "string"
              }
            }
          }
        },
        "example": {
          "problem": {
            "status": 400,
            "detail": "Explanation of the problem."
          }
        }
      }
    }
  }
}
