cnvs.app · Schema
AddImageRequest
CompanyWhiteboardCollaborationReal-TimeKanbanMCPAI AgentsDiagramming
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| x | number | |
| y | number | |
| width | number | Displayed width in board px. |
| height | number | Displayed height in board px. |
| dataUrl | string | Data URL: `data:image/(png|jpeg|gif|webp|svg+xml);base64, |
| thumbDataUrl | stringnull | Optional tiny thumbnail (≤8 kB JPEG/PNG/WebP, ~64 px on long edge). Embedded into SVG previews so other AI viewers see the image instead of a placeholder. |
| author | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cnvs-app/json-schema/cnvs-app-add-image-request-schema.json",
"title": "AddImageRequest",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cnvs-app-openapi.yml#/components/schemas/AddImageRequest",
"type": "object",
"required": [
"x",
"y",
"width",
"height",
"dataUrl"
],
"properties": {
"id": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number",
"description": "Displayed width in board px."
},
"height": {
"type": "number",
"description": "Displayed height in board px."
},
"dataUrl": {
"type": "string",
"description": "Data URL: `data:image/(png|jpeg|gif|webp|svg+xml);base64,<payload>`. Max ~900 kB total. Hosted URLs NOT accepted — fetch + base64-encode first. Only image payloads are accepted: the decoded header bytes are sniffed (PNG/JPEG/GIF/WebP magic bytes or an `<svg>` root), so ordinary PDFs, archives and other files relabeled as images are rejected with 400 (a header check, not a full image decode).",
"pattern": "^data:image/(png|jpeg|gif|webp|svg\\+xml);base64,"
},
"thumbDataUrl": {
"type": [
"string",
"null"
],
"description": "Optional tiny thumbnail (≤8 kB JPEG/PNG/WebP, ~64 px on long edge). Embedded into SVG previews so other AI viewers see the image instead of a placeholder."
},
"author": {
"$ref": "#/$defs/AuthorTag"
}
},
"$defs": {
"AuthorTag": {
"type": "string",
"description": "Author tag, charset `[A-Za-z0-9:_\\-.]`, max 80 chars. Defaults to `ai:rest` for REST mutations. Use `ai:<your-label>` (e.g. `ai:claude`, `ai:mybot`) so humans can tell AI edits apart.",
"pattern": "^[A-Za-z0-9:_\\-.]{1,80}$"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cnvs-app-add-image-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.