Acronis · Schema

Activity

A subordinate activity within a task

CybersecurityData ProtectionEndpoint Management

Properties

Name Type Description
id string Activity unique identifier
type string Activity type
state string
result_code string
parent_activity_id string Parent activity UUID if nested
task_id string Parent task identifier
sustainable boolean Whether activity can be requeued on failure
createdAt string
startedAt string
completedAt string
View JSON Schema on GitHub

JSON Schema

acronis-activity-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Activity",
  "title": "Activity",
  "type": "object",
  "description": "A subordinate activity within a task",
  "properties": {
    "id": {
      "type": "string",
      "description": "Activity unique identifier"
    },
    "type": {
      "type": "string",
      "description": "Activity type"
    },
    "state": {
      "type": "string",
      "enum": [
        "enqueued",
        "assigned",
        "started",
        "paused",
        "completed"
      ]
    },
    "result_code": {
      "type": "string",
      "enum": [
        "ok",
        "error",
        "warning",
        "cancelled",
        "abandoned",
        "timedout"
      ]
    },
    "parent_activity_id": {
      "type": "string",
      "description": "Parent activity UUID if nested"
    },
    "task_id": {
      "type": "string",
      "description": "Parent task identifier"
    },
    "sustainable": {
      "type": "boolean",
      "description": "Whether activity can be requeued on failure"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "startedAt": {
      "type": "string",
      "format": "date-time"
    },
    "completedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}