diff --git a/openapi.json b/openapi.json index c2834a75..0f22e211 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2.0.0", - "x-box-commit-hash": "" + "x-box-commit-hash": "021960106e" }, "servers": [ { @@ -18050,10 +18050,19 @@ ] }, "retention_length": { - "type": "string", - "format": "int32", + "oneOf": [ + { + "type": "string", + "format": "int32", + "nullable": true + }, + { + "type": "number", + "format": "int32", + "nullable": false + } + ], "example": "365", - "minimum": 1, "description": "The length of the retention policy. This value\nspecifies the duration in days that the retention\npolicy will be active for after being assigned to\ncontent. If the policy has a `policy_type` of\n`indefinite`, the `retention_length` will also be\n`indefinite`." }, "retention_type": { @@ -18264,8 +18273,18 @@ "description": "Specifies the retention type:\n\n* `modifiable`: You can modify the retention policy. For example,\nyou can add or remove folders, shorten or lengthen\nthe policy duration, or delete the assignment.\nUse this type if your retention policy\nis not related to any regulatory purposes.\n* `non-modifiable`: You can modify the retention policy\nonly in a limited way: add a folder, lengthen the duration,\nretire the policy, change the disposition action\nor notification settings. You cannot perform other actions,\nsuch as deleting the assignment or shortening the\npolicy duration. Use this type to ensure\ncompliance with regulatory retention policies.\n\nWhen updating a retention policy, you can use\n`non-modifiable` type only. You can convert a\n`modifiable` policy to `non-modifiable`, but\nnot the other way around." }, "retention_length": { - "type": "string", - "format": "int32", + "oneOf": [ + { + "type": "string", + "format": "int32", + "nullable": true + }, + { + "type": "number", + "format": "int32", + "nullable": false + } + ], "example": "365", "description": "The length of the retention policy. This value\nspecifies the duration in days that the retention\npolicy will be active for after being assigned to\ncontent. If the policy has a `policy_type` of\n`indefinite`, the `retention_length` will also be\n`indefinite`." }, @@ -24257,7 +24276,7 @@ "example": "file", "enum": [ "file", - "folder." + "folder" ] }, "id": { @@ -36390,11 +36409,11 @@ "type": "string", "description": "The state of the archive being downloaded.", "default": "in_progress", - "example": "success", + "example": "succeeded", "enum": [ "in_progress", "failed", - "success" + "succeeded" ] } }