Fastly · Schema

ServiceVersion

A version of a Fastly service. Versions represent distinct configurations that can be activated or deactivated independently.

CDNEdge CloudEdge ComputeWebAssemblySecurityAIObservabilityAsyncAPIStreamingWebhooksLogging

Properties

Name Type Description
number integer The version number.
service_id string The alphanumeric string identifying the service.
active boolean Whether this version is currently active.
locked boolean Whether this version is locked and cannot be modified.
deployed boolean Whether this version has been deployed.
staging boolean Whether this version is in the staging environment.
testing boolean Whether this version is in the testing environment.
comment string A freeform descriptive note about the version.
created_at string The date and time in ISO 8601 format when the version was created.
updated_at string The date and time in ISO 8601 format when the version was last updated.
deleted_at string The date and time in ISO 8601 format when the version was deleted.
View JSON Schema on GitHub

JSON Schema

fastly-serviceversion-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ServiceVersion",
  "title": "ServiceVersion",
  "type": "object",
  "description": "A version of a Fastly service. Versions represent distinct configurations that can be activated or deactivated independently.",
  "properties": {
    "number": {
      "type": "integer",
      "description": "The version number."
    },
    "service_id": {
      "type": "string",
      "description": "The alphanumeric string identifying the service."
    },
    "active": {
      "type": "boolean",
      "description": "Whether this version is currently active."
    },
    "locked": {
      "type": "boolean",
      "description": "Whether this version is locked and cannot be modified."
    },
    "deployed": {
      "type": "boolean",
      "description": "Whether this version has been deployed."
    },
    "staging": {
      "type": "boolean",
      "description": "Whether this version is in the staging environment."
    },
    "testing": {
      "type": "boolean",
      "description": "Whether this version is in the testing environment."
    },
    "comment": {
      "type": "string",
      "description": "A freeform descriptive note about the version."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time in ISO 8601 format when the version was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time in ISO 8601 format when the version was last updated."
    },
    "deleted_at": {
      "type": "string",
      "format": "date-time",
      "nullable": true,
      "description": "The date and time in ISO 8601 format when the version was deleted."
    }
  }
}