Convex · Schema

CreateCustomDomainRequest

BackendDatabaseFunctionsReal-TimeReactiveServerlessTypeScript

Properties

Name Type Description
domain string The custom domain name to associate with the deployment.
request_destination string The routing destination for requests to this domain.
View JSON Schema on GitHub

JSON Schema

convex-createcustomdomainrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateCustomDomainRequest",
  "title": "CreateCustomDomainRequest",
  "type": "object",
  "required": [
    "domain",
    "request_destination"
  ],
  "properties": {
    "domain": {
      "type": "string",
      "description": "The custom domain name to associate with the deployment."
    },
    "request_destination": {
      "type": "string",
      "description": "The routing destination for requests to this domain.",
      "enum": [
        "convexCloud",
        "convexSite"
      ]
    }
  }
}