Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix zip download enum #376

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 28 additions & 9 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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`."
},
Expand Down Expand Up @@ -24257,7 +24276,7 @@
"example": "file",
"enum": [
"file",
"folder."
"folder"
]
},
"id": {
Expand Down Expand Up @@ -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"
]
}
}
Expand Down
Loading