Zum Inhalt
HALOWERK

Finopswerk

archive restore copy clock ledger

Originalsize,requests/completionobservations andarchiveexpirydomain determine202/pending409/ready200trace,temporarycopyexpiryfromCOMPLETION,newperiodfromupdaterequest andseparatearchive/restoredbyte-hours. Archiveobjectremainswhilecopyexists;archiveexpiryclipsoverride. FinitewholeUTC-gridhourmodel,noexactmidnightinputs,tierspeedupgrade,IntelligentTiering,versions,actualGET/bills/prices/fullAPIcertification. Oneboundedmissingarchiveexpiry.

POST https://finops.halowerk.com/v1/archive-restore-copy-clock-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
size_bytesintegerJa
horizonintegerJa
archive_expiry_domainarrayJa
eventsarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "size_bytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    },
    "horizon": {
      "type": "integer",
      "minimum": 1,
      "maximum": 240
    },
    "archive_expiry_domain": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 240
      },
      "minItems": 1,
      "maxItems": 2
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "hour": {
            "type": "integer",
            "minimum": 1,
            "maximum": 239
          },
          "kind": {
            "enum": [
              "request",
              "complete"
            ]
          },
          "days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10
          }
        },
        "required": [
          "hour",
          "kind",
          "days"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 8
    },
    "report": {
      "type": "object",
      "properties": {
        "events": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "status": {
                "anyOf": [
                  {
                    "enum": [
                      0,
                      200,
                      202,
                      409
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "state": {
                "anyOf": [
                  {
                    "enum": [
                      "archived",
                      "pending",
                      "ready",
                      "gone"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "copy_expiry_hour": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "archive_byte_hours": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "restored_byte_hours": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "new_restore_jobs": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "period_updates": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "status",
              "state",
              "copy_expiry_hour",
              "archive_byte_hours",
              "restored_byte_hours",
              "new_restore_jobs",
              "period_updates"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 8
        },
        "final": {
          "type": "object",
          "properties": {
            "state": {
              "anyOf": [
                {
                  "enum": [
                    "archived",
                    "pending",
                    "ready",
                    "gone"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "copy_expiry_hour": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "archive_byte_hours": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "restored_byte_hours": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "new_restore_jobs": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "period_updates": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000000
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "state",
            "copy_expiry_hour",
            "archive_byte_hours",
            "restored_byte_hours",
            "new_restore_jobs",
            "period_updates"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "events",
        "final"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "size_bytes",
    "horizon",
    "archive_expiry_domain",
    "events",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "size_bytes": 100,
  "horizon": 144,
  "archive_expiry_domain": [
    72
  ],
  "events": [
    {
      "hour": 1,
      "kind": "request",
      "days": 1
    },
    {
      "hour": 3,
      "kind": "request",
      "days": 9
    },
    {
      "hour": 5,
      "kind": "complete",
      "days": 0
    }
  ],
  "report": {
    "events": [
      {
        "status": 202,
        "state": "pending",
        "copy_expiry_hour": 0,
        "new_restore_jobs": 1,
        "period_updates": 0,
        "archive_byte_hours": 100,
        "restored_byte_hours": 0
      },
      {
        "status": 409,
        "state": "pending",
        "copy_expiry_hour": 0,
        "new_restore_jobs": 1,
        "period_updates": 0,
        "archive_byte_hours": 300,
        "restored_byte_hours": 0
      },
      {
        "status": 0,
        "state": "ready",
        "copy_expiry_hour": 48,
        "new_restore_jobs": 1,
        "period_updates": 0,
        "archive_byte_hours": 500,
        "restored_byte_hours": 0
      }
    ],
    "final": {
      "state": "gone",
      "copy_expiry_hour": 0,
      "new_restore_jobs": 1,
      "period_updates": 0,
      "archive_byte_hours": 7200,
      "restored_byte_hours": 4300
    }
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →