Planetscale · Schema

DeployRequest

A deploy request for applying schema changes from a development branch to a target branch.

Properties

Name Type Description
id string The unique identifier of the deploy request.
number integer The deploy request number within the database.
branch string The name of the source branch with schema changes.
into_branch string The name of the target branch to deploy into.
state string The current state of the deploy request.
approved boolean Whether the deploy request has been approved.
deployment object Information about the active or completed deployment.
notes string Notes or description for the deploy request.
created_at string The timestamp when the deploy request was created.
updated_at string The timestamp when the deploy request was last updated.
closed_at string The timestamp when the deploy request was closed.
html_url string The URL to the deploy request in the PlanetScale dashboard.
View JSON Schema on GitHub

JSON Schema

planetscale-deployrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DeployRequest",
  "title": "DeployRequest",
  "type": "object",
  "description": "A deploy request for applying schema changes from a development branch to a target branch.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the deploy request."
    },
    "number": {
      "type": "integer",
      "description": "The deploy request number within the database."
    },
    "branch": {
      "type": "string",
      "description": "The name of the source branch with schema changes."
    },
    "into_branch": {
      "type": "string",
      "description": "The name of the target branch to deploy into."
    },
    "state": {
      "type": "string",
      "description": "The current state of the deploy request.",
      "enum": [
        "open",
        "closed",
        "pending",
        "queued",
        "in_progress",
        "complete",
        "complete_pending_revert",
        "complete_reverted",
        "complete_error"
      ]
    },
    "approved": {
      "type": "boolean",
      "description": "Whether the deploy request has been approved."
    },
    "deployment": {
      "type": "object",
      "description": "Information about the active or completed deployment.",
      "properties": {
        "state": {
          "type": "string",
          "description": "The state of the deployment."
        },
        "started_at": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when deployment started."
        },
        "finished_at": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when deployment finished."
        }
      }
    },
    "notes": {
      "type": "string",
      "description": "Notes or description for the deploy request."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the deploy request was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the deploy request was last updated."
    },
    "closed_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the deploy request was closed."
    },
    "html_url": {
      "type": "string",
      "format": "uri",
      "description": "The URL to the deploy request in the PlanetScale dashboard."
    }
  }
}

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/planetscale-deployrequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.