Canonical · Schema

BatchGetOperationsResponse

The response message for retrieving a batch of long-running operations.

CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity

Properties

Name Type Description
operations array Long-running operations requested.
unreachable array Unreachable operations. Populated when the request opts into `return_partial_success` and reading across collections.
View JSON Schema on GitHub

JSON Schema

canonical-batch-get-operations-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-batch-get-operations-response-schema.json",
  "title": "BatchGetOperationsResponse",
  "description": "The response message for retrieving a batch of long-running operations.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-operationservice-api-openapi.yml#/components/schemas/BatchGetOperationsResponse",
  "type": "object",
  "properties": {
    "operations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Operation"
      },
      "description": "Long-running operations requested."
    },
    "unreachable": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Unreachable operations. Populated when the request opts into\n `return_partial_success` and reading across collections."
    }
  },
  "$defs": {
    "GoogleProtobufAny": {
      "type": "object",
      "properties": {
        "@type": {
          "type": "string",
          "description": "The type of the serialized message."
        }
      },
      "additionalProperties": true,
      "description": "Contains an arbitrary serialized message along with a @type that describes the type of the serialized message."
    },
    "Operation": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The server-assigned name, which is only unique within the same service that\n originally returns it. If you use the default HTTP mapping, the\n `name` should be a resource name ending with `operations/{unique_id}`."
        },
        "metadata": {
          "allOf": [
            {
              "$ref": "#/$defs/GoogleProtobufAny"
            }
          ],
          "description": "Service-specific metadata associated with the operation.  It typically\n contains progress information and common metadata such as create time.\n Some services might not provide such metadata.  Any method that returns a\n long-running operation should document the metadata type, if any."
        },
        "done": {
          "type": "boolean",
          "description": "If the value is `false`, it means the operation is still in progress.\n If `true`, the operation is completed, and either `error` or `response` is\n available."
        },
        "error": {
          "allOf": [
            {
              "$ref": "#/$defs/Status"
            }
          ],
          "description": "The error result of the operation in case of failure or cancellation."
        },
        "response": {
          "allOf": [
            {
              "$ref": "#/$defs/GoogleProtobufAny"
            }
          ],
          "description": "The normal, successful response of the operation.  If the original\n method returns no data on success, such as `Delete`, the response is\n `google.protobuf.Empty`.  If the original method is standard\n `Get`/`Create`/`Update`, the response should be the resource.  For other\n methods, the response should have the type `XxxResponse`, where `Xxx`\n is the original method name.  For example, if the original method name\n is `TakeSnapshot()`, the inferred response type is\n `TakeSnapshotResponse`."
        }
      },
      "description": "This resource represents a long-running operation that is the result of a\n network API call."
    },
    "Status": {
      "type": "object",
      "properties": {
        "code": {
          "type": "integer",
          "description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].",
          "format": "int32"
        },
        "message": {
          "type": "string",
          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."
        },
        "details": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GoogleProtobufAny"
          },
          "description": "A list of messages that carry the error details.  There is a common set of message types for APIs to use."
        }
      },
      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors)."
    }
  }
}

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/canonical-batch-get-operations-response"
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.