Dropto · Schema

PrepareDeployResponse

Response of `POST /deploys/prepare`.

HostingArtificial IntelligenceStatic SitesDeveloper ToolsCloud

Properties

Name Type Description
batchConcurrency nullintegerstring How many of Batches to send at once; null when there are none. The upload Worker can hold only six R2 writes open per request, so this is what decides how fast many small files go, and it is set here
batches array Batch permits, each covering several small files sent as one body. Empty unless the request asked for batches and they are enabled; a file is in exactly one of Upload and this.
deployId string ULID of the new deploy; part of every R2 key it writes.
reused integerstring How many files the live deploy already holds byte-identical. These are absent from Upload and are copied server-side when the deploy completes.
total integerstring Files in the whole deploy: Reused plus what must be uploaded.
unchanged boolean True when the manifest describes exactly what is already live, so no deploy was created. The caller has nothing to upload and must not call `complete`: DeployId is the deploy already serving, and comp
upload array One upload permit per file sent on its own.
uploadUrl string The single endpoint every permit is presented to. Sent with the response rather than compiled into the client, because it is a different host in development, in tests and in production — and because a
url nullstring Public URL of the site, sent only when Unchanged is true. That answer is the end of the deploy, and without it the caller would have to ask a second endpoint just to show the link.
warnings nullarray Things about this deploy the caller should be told although it was accepted, or null when there are none — today only that `_functions/` will not run on this site (`docs/briefs/FUNCTIONS-BRIEF.md` D23
View JSON Schema on GitHub

JSON Schema

dropto-run-prepare-deploy-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dropto-run/json-schema/dropto-run-prepare-deploy-response-schema.json",
  "title": "PrepareDeployResponse",
  "description": "Response of `POST /deploys/prepare`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dropto-run-deploys-api-openapi.yml#/components/schemas/PrepareDeployResponse",
  "properties": {
    "batchConcurrency": {
      "description": "How many of Batches to send at once; null when there are none. The upload Worker can\nhold only six R2 writes open per request, so this is what decides how fast many small files go, and it\nis set here so it can be tuned without a client release. Single permits are not affected.",
      "format": "int32",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ]
    },
    "batches": {
      "description": "Batch permits, each covering several small files sent as one body. Empty unless the request asked\nfor batches and they are enabled; a file is in exactly one of Upload and this.",
      "items": {
        "$ref": "#/$defs/UploadBatch"
      },
      "type": "array"
    },
    "deployId": {
      "description": "ULID of the new deploy; part of every R2 key it writes.",
      "type": "string"
    },
    "reused": {
      "description": "How many files the live deploy already holds byte-identical. These are absent from\nUpload and are copied server-side when the deploy completes.",
      "format": "int32",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "integer",
        "string"
      ]
    },
    "total": {
      "description": "Files in the whole deploy: Reused plus what must be uploaded.",
      "format": "int32",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "integer",
        "string"
      ]
    },
    "unchanged": {
      "default": false,
      "description": "True when the manifest describes exactly what is already live, so no deploy was created. The caller\nhas nothing to upload and must not call `complete`: DeployId is the deploy\nalready serving, and completing it again would only rewrite the mapping to where it already points.",
      "type": "boolean"
    },
    "upload": {
      "description": "One upload permit per file sent on its own.",
      "items": {
        "$ref": "#/$defs/UploadTarget"
      },
      "type": "array"
    },
    "uploadUrl": {
      "description": "The single endpoint every permit is presented to. Sent with the response rather than compiled into\nthe client, because it is a different host in development, in tests and in production — and because\na client that knew the address without being told would still know it after we moved.",
      "type": "string"
    },
    "url": {
      "description": "Public URL of the site, sent only when Unchanged is true. That answer is the end\nof the deploy, and without it the caller would have to ask a second endpoint just to show the link.",
      "type": [
        "null",
        "string"
      ]
    },
    "warnings": {
      "description": "Things about this deploy the caller should be told although it was accepted, or null when there are none —\ntoday only that `_functions/` will not run on this site (`docs/briefs/FUNCTIONS-BRIEF.md` D23).",
      "items": {
        "type": "string"
      },
      "type": [
        "null",
        "array"
      ]
    }
  },
  "required": [
    "deployId",
    "upload",
    "batches",
    "uploadUrl",
    "reused",
    "total"
  ],
  "type": "object",
  "$defs": {
    "BatchFile": {
      "description": "One file inside a batch.",
      "properties": {
        "path": {
          "description": "Normalized path, which the client uses to find the bytes and to name a failure.",
          "type": "string"
        },
        "sha256": {
          "description": "Digest, which is also how the layout line and the object's key are built.",
          "type": "string"
        }
      },
      "required": [
        "path",
        "sha256"
      ],
      "type": "object"
    },
    "UploadBatch": {
      "description": "Several small files the client sends as one body, under one permit.",
      "properties": {
        "files": {
          "description": "The files, in the order their bytes must follow the layout.",
          "items": {
            "$ref": "#/$defs/BatchFile"
          },
          "type": "array"
        },
        "token": {
          "description": "Bearer token authorising exactly these files.",
          "type": "string"
        }
      },
      "required": [
        "token",
        "files"
      ],
      "type": "object"
    },
    "UploadTarget": {
      "description": "Where the client should PUT one file, and what the PUT must carry.",
      "properties": {
        "path": {
          "description": "Normalized path, which is also what the manifest records.",
          "type": "string"
        },
        "sha256": {
          "description": "Digest signed into Token, echoed back because the client needs it to name the\nfile it is sending. It is the same value the client put in the manifest; returning it saves the\nclient from keeping its own manifest indexed by path just to find it again.",
          "type": "string"
        },
        "token": {
          "description": "Bearer token authorising exactly this object. Signed by the control plane and verified by the upload\nWorker, which refuses a second write of the same key without touching R2.",
          "type": "string"
        }
      },
      "required": [
        "path",
        "token",
        "sha256"
      ],
      "type": "object"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dropto-run-prepare-deploy-response"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.