Skip to content

capture_site_screenshots

Capture this grant-bound application’s published pages.

Routes, origins, redirect policy, browser settings, worker limits, and artifact credentials are all selected by the server composition. The only caller controls are the closed viewport preset and a page cap that can lower, but never increase, the configured maximum.

{
"additionalProperties": false,
"properties": {
"application_id": {
"format": "uuid",
"type": "string"
},
"max_pages": {
"minimum": 1,
"type": [
"integer",
"null"
]
},
"viewport": {
"default": "desktop",
"enum": [
"desktop",
"mobile"
],
"type": "string"
}
},
"required": [
"application_id"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"entries": {
"items": {
"additionalProperties": false,
"properties": {
"diagnostic_counts": {
"type": "object"
},
"disposition": {
"enum": [
"success",
"failed",
"omitted"
],
"type": "string"
},
"final_url": {
"type": [
"string",
"null"
]
},
"id": {
"format": "uuid",
"type": "string"
},
"image_ref": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"signed_full_res_artifact_link": {
"type": [
"string",
"null"
]
},
"status": {
"type": [
"integer",
"null"
]
},
"thumbnail_ref": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"path",
"disposition"
],
"type": "object"
},
"type": "array"
},
"quota_rejected": {
"type": "boolean"
},
"timed_out": {
"type": "boolean"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"entries"
],
"type": "object"
}