Skip to content

Commit e121116

Browse files
committed
Update en to output generated at 7aa13db
1 parent ae412ec commit e121116

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

openapi.json

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2.0.0",
17-
"x-box-commit-hash": "d81cf2f982"
17+
"x-box-commit-hash": "d6b3a4d2fb"
1818
},
1919
"servers": [
2020
{
@@ -21566,7 +21566,7 @@
2156621566
"content": {
2156721567
"application/json": {
2156821568
"schema": {
21569-
"$ref": "#/components/schemas/Task"
21569+
"$ref": "#/components/schemas/TermsOfService"
2157021570
}
2157121571
}
2157221572
}
@@ -25014,7 +25014,7 @@
2501425014
"type": "array",
2501525015
"description": "The permissions that this access token permits,\nproviding a list of resources (files, folders, etc)\nand the scopes permitted for each of those resources.",
2501625016
"items": {
25017-
"$ref": "#/components/schemas/FileScope"
25017+
"$ref": "#/components/schemas/FileOrFolderScope"
2501825018
}
2501925019
},
2502025020
"refresh_token": {
@@ -27109,7 +27109,7 @@
2710927109
"type": "array",
2711027110
"description": "The permissions that this access token permits,\nproviding a list of resources (files, folders, etc)\nand the scopes permitted for each of those resources.",
2711127111
"items": {
27112-
"$ref": "#/components/schemas/FileScope"
27112+
"$ref": "#/components/schemas/FileOrFolderScope"
2711327113
}
2711427114
}
2711527115
}
@@ -32689,6 +32689,10 @@
3268932689
],
3269032690
"x-box-variant": "base",
3269132691
"description": "The root-level record that is supposed to represent a\nsingle Terms of Service.",
32692+
"required": [
32693+
"id",
32694+
"type"
32695+
],
3269232696
"properties": {
3269332697
"id": {
3269432698
"type": "string",
@@ -36639,14 +36643,14 @@
3663936643
}
3664036644
]
3664136645
},
36642-
"FileScope": {
36643-
"title": "File scope",
36646+
"FileOrFolderScope": {
36647+
"title": "File or folder scope",
3664436648
"type": "object",
36645-
"description": "A relation between a file and the scopes for which the file can be accessed",
36649+
"description": "A relation between a resource (file or folder) and the scopes for which the resource can be accessed",
3664636650
"properties": {
3664736651
"scope": {
3664836652
"type": "string",
36649-
"description": "The file scopes for the file access",
36653+
"description": "The scopes for the resource access",
3665036654
"example": "item_download",
3665136655
"enum": [
3665236656
"annotation_edit",
@@ -36666,10 +36670,17 @@
3666636670
"object": {
3666736671
"allOf": [
3666836672
{
36669-
"$ref": "#/components/schemas/File--Mini"
36673+
"oneOf": [
36674+
{
36675+
"$ref": "#/components/schemas/Folder--Mini"
36676+
},
36677+
{
36678+
"$ref": "#/components/schemas/File--Mini"
36679+
}
36680+
]
3667036681
},
3667136682
{
36672-
"description": "The file for which the file can be accessed"
36683+
"description": "The file or folder resource"
3667336684
}
3667436685
]
3667536686
}

0 commit comments

Comments
 (0)