You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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.",
25016
25016
"items": {
25017
-
"$ref": "#/components/schemas/FileScope"
25017
+
"$ref": "#/components/schemas/FileOrFolderScope"
25018
25018
}
25019
25019
},
25020
25020
"refresh_token": {
@@ -27109,7 +27109,7 @@
27109
27109
"type": "array",
27110
27110
"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.",
27111
27111
"items": {
27112
-
"$ref": "#/components/schemas/FileScope"
27112
+
"$ref": "#/components/schemas/FileOrFolderScope"
27113
27113
}
27114
27114
}
27115
27115
}
@@ -32689,6 +32689,10 @@
32689
32689
],
32690
32690
"x-box-variant": "base",
32691
32691
"description": "The root-level record that is supposed to represent a\nsingle Terms of Service.",
32692
+
"required": [
32693
+
"id",
32694
+
"type"
32695
+
],
32692
32696
"properties": {
32693
32697
"id": {
32694
32698
"type": "string",
@@ -36639,14 +36643,14 @@
36639
36643
}
36640
36644
]
36641
36645
},
36642
-
"FileScope": {
36643
-
"title": "File scope",
36646
+
"FileOrFolderScope": {
36647
+
"title": "File or folder scope",
36644
36648
"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",
36646
36650
"properties": {
36647
36651
"scope": {
36648
36652
"type": "string",
36649
-
"description": "The file scopes for the file access",
36653
+
"description": "The scopes for the resource access",
36650
36654
"example": "item_download",
36651
36655
"enum": [
36652
36656
"annotation_edit",
@@ -36666,10 +36670,17 @@
36666
36670
"object": {
36667
36671
"allOf": [
36668
36672
{
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
+
]
36670
36681
},
36671
36682
{
36672
-
"description": "The file for which the file can be accessed"
0 commit comments