|
14 | 14 | "url": "http://www.apache.org/licenses/LICENSE-2.0" |
15 | 15 | }, |
16 | 16 | "version": "2.0.0", |
17 | | - "x-box-commit-hash": "98d60db47f" |
| 17 | + "x-box-commit-hash": "8edc17f8ac" |
18 | 18 | }, |
19 | 19 | "servers": [ |
20 | 20 | { |
|
6252 | 6252 | "name" |
6253 | 6253 | ], |
6254 | 6254 | "explode": false |
| 6255 | + }, |
| 6256 | + { |
| 6257 | + "name": "limit", |
| 6258 | + "in": "query", |
| 6259 | + "description": "The maximum number of items to return per page.", |
| 6260 | + "required": false, |
| 6261 | + "schema": { |
| 6262 | + "type": "integer", |
| 6263 | + "format": "int64", |
| 6264 | + "maximum": 1000 |
| 6265 | + }, |
| 6266 | + "example": 1000 |
| 6267 | + }, |
| 6268 | + { |
| 6269 | + "name": "marker", |
| 6270 | + "in": "query", |
| 6271 | + "description": "Defines the position marker at which to begin returning results. This is\nused when paginating using marker-based pagination.\n\nThis requires `usemarker` to be set to `true`.", |
| 6272 | + "required": false, |
| 6273 | + "schema": { |
| 6274 | + "type": "string" |
| 6275 | + }, |
| 6276 | + "example": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii" |
6255 | 6277 | } |
6256 | 6278 | ], |
6257 | 6279 | "responses": { |
|
7839 | 7861 | "format": "uuid" |
7840 | 7862 | }, |
7841 | 7863 | "example": "01234500-12f1-1234-aa12-b1d234cb567e" |
| 7864 | + }, |
| 7865 | + { |
| 7866 | + "name": "marker", |
| 7867 | + "in": "query", |
| 7868 | + "description": "Defines the position marker at which to begin returning results. This is\nused when paginating using marker-based pagination.\n\nThis requires `usemarker` to be set to `true`.", |
| 7869 | + "required": false, |
| 7870 | + "schema": { |
| 7871 | + "type": "string" |
| 7872 | + }, |
| 7873 | + "example": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii" |
| 7874 | + }, |
| 7875 | + { |
| 7876 | + "name": "limit", |
| 7877 | + "in": "query", |
| 7878 | + "description": "The maximum number of items to return per page.", |
| 7879 | + "required": false, |
| 7880 | + "schema": { |
| 7881 | + "type": "integer", |
| 7882 | + "format": "int64", |
| 7883 | + "maximum": 1000 |
| 7884 | + }, |
| 7885 | + "example": 1000 |
7842 | 7886 | } |
7843 | 7887 | ], |
7844 | 7888 | "responses": { |
|
10089 | 10133 | "content": { |
10090 | 10134 | "application/json": { |
10091 | 10135 | "schema": { |
10092 | | - "$ref": "#/components/schemas/Collaborations" |
| 10136 | + "$ref": "#/components/schemas/CollaborationsOffsetPaginated" |
10093 | 10137 | } |
10094 | 10138 | } |
10095 | 10139 | } |
|
16347 | 16391 | "content": { |
16348 | 16392 | "application/json": { |
16349 | 16393 | "schema": { |
16350 | | - "$ref": "#/components/schemas/Collaborations" |
| 16394 | + "$ref": "#/components/schemas/CollaborationsOffsetPaginated" |
16351 | 16395 | } |
16352 | 16396 | } |
16353 | 16397 | } |
|
17785 | 17829 | "content": { |
17786 | 17830 | "application/json": { |
17787 | 17831 | "schema": { |
17788 | | - "$ref": "#/components/schemas/Items" |
| 17832 | + "$ref": "#/components/schemas/ItemsOffsetPaginated" |
17789 | 17833 | } |
17790 | 17834 | } |
17791 | 17835 | } |
@@ -25963,12 +26007,12 @@ |
25963 | 26007 | "type": "object", |
25964 | 26008 | "properties": { |
25965 | 26009 | "enterprise_has_strong_password_required_for_external_users": { |
25966 | | - "description": "Whether or not the enterprise that owns the content requires\na strong password to collaborate on the content.", |
| 26010 | + "description": "Whether or not the enterprise that owns the content requires\na strong password to collaborate on the content, or enforces\nan exposed password detection for the external collaborators.", |
25967 | 26011 | "type": "boolean", |
25968 | 26012 | "example": true |
25969 | 26013 | }, |
25970 | 26014 | "user_has_strong_password": { |
25971 | | - "description": "Whether or not the user has a strong password set for their\naccount. The field is `null` when a strong password is not\nrequired.", |
| 26015 | + "description": "Whether or not the user has a strong and not exposed password set\nfor their account. The field is `null` when a strong password is\nnot required.", |
25972 | 26016 | "type": "boolean", |
25973 | 26017 | "example": true, |
25974 | 26018 | "nullable": true |
|
26269 | 26313 | } |
26270 | 26314 | } |
26271 | 26315 | }, |
| 26316 | + { |
| 26317 | + "properties": { |
| 26318 | + "entries": { |
| 26319 | + "description": "A list of collaborations", |
| 26320 | + "type": "array", |
| 26321 | + "items": { |
| 26322 | + "$ref": "#/components/schemas/Collaboration" |
| 26323 | + } |
| 26324 | + } |
| 26325 | + } |
| 26326 | + } |
| 26327 | + ], |
| 26328 | + "title": "Collaborations", |
| 26329 | + "x-box-resource-id": "collaborations", |
| 26330 | + "x-box-tag": "user_collaborations" |
| 26331 | + }, |
| 26332 | + "CollaborationsOffsetPaginated": { |
| 26333 | + "description": "A list of collaborations", |
| 26334 | + "type": "object", |
| 26335 | + "allOf": [ |
26272 | 26336 | { |
26273 | 26337 | "type": "object", |
26274 | 26338 | "description": "The part of an API response that describes pagination", |
|
26290 | 26354 | "type": "integer", |
26291 | 26355 | "format": "int64", |
26292 | 26356 | "example": 2000 |
26293 | | - }, |
26294 | | - "order": { |
26295 | | - "description": "The order by which items are returned.\n\nThis field is only returned for calls that use offset-based pagination.\nFor marker-based paginated APIs, this field will be omitted.", |
26296 | | - "type": "array", |
26297 | | - "items": { |
26298 | | - "type": "object", |
26299 | | - "description": "The order in which a pagination is ordered", |
26300 | | - "properties": { |
26301 | | - "by": { |
26302 | | - "description": "The field to order by", |
26303 | | - "type": "string", |
26304 | | - "example": "type" |
26305 | | - }, |
26306 | | - "direction": { |
26307 | | - "description": "The direction to order by, either ascending or descending", |
26308 | | - "type": "string", |
26309 | | - "example": "ASC", |
26310 | | - "enum": [ |
26311 | | - "ASC", |
26312 | | - "DESC" |
26313 | | - ] |
26314 | | - } |
26315 | | - } |
26316 | | - } |
26317 | 26357 | } |
26318 | 26358 | } |
26319 | 26359 | }, |
|
26330 | 26370 | } |
26331 | 26371 | ], |
26332 | 26372 | "title": "Collaborations", |
26333 | | - "x-box-resource-id": "collaborations", |
| 26373 | + "x-box-resource-id": "collaborations_offset_paginated", |
26334 | 26374 | "x-box-tag": "user_collaborations" |
26335 | 26375 | }, |
26336 | 26376 | "CollaboratorVariable": { |
|
30809 | 30849 | "x-box-resource-id": "items", |
30810 | 30850 | "x-box-tag": "folders" |
30811 | 30851 | }, |
| 30852 | + "ItemsOffsetPaginated": { |
| 30853 | + "description": "A list of files, folders, and web links in\ntheir mini representation.", |
| 30854 | + "type": "object", |
| 30855 | + "allOf": [ |
| 30856 | + { |
| 30857 | + "type": "object", |
| 30858 | + "description": "The part of an API response that describes pagination", |
| 30859 | + "properties": { |
| 30860 | + "total_count": { |
| 30861 | + "description": "One greater than the offset of the last entry in the entire collection.\nThe total number of entries in the collection may be less than\n`total_count`.\n\nThis field is only returned for calls that use offset-based pagination.\nFor marker-based paginated APIs, this field will be omitted.", |
| 30862 | + "type": "integer", |
| 30863 | + "format": "int64", |
| 30864 | + "example": 5000 |
| 30865 | + }, |
| 30866 | + "limit": { |
| 30867 | + "description": "The limit that was used for these entries. This will be the same as the\n`limit` query parameter unless that value exceeded the maximum value\nallowed. The maximum value varies by API.", |
| 30868 | + "type": "integer", |
| 30869 | + "format": "int64", |
| 30870 | + "example": 1000 |
| 30871 | + }, |
| 30872 | + "offset": { |
| 30873 | + "description": "The 0-based offset of the first entry in this set. This will be the same\nas the `offset` query parameter.\n\nThis field is only returned for calls that use offset-based pagination.\nFor marker-based paginated APIs, this field will be omitted.", |
| 30874 | + "type": "integer", |
| 30875 | + "format": "int64", |
| 30876 | + "example": 2000 |
| 30877 | + }, |
| 30878 | + "order": { |
| 30879 | + "description": "The order by which items are returned.\n\nThis field is only returned for calls that use offset-based pagination.\nFor marker-based paginated APIs, this field will be omitted.", |
| 30880 | + "type": "array", |
| 30881 | + "items": { |
| 30882 | + "type": "object", |
| 30883 | + "description": "The order in which a pagination is ordered", |
| 30884 | + "properties": { |
| 30885 | + "by": { |
| 30886 | + "description": "The field to order by", |
| 30887 | + "type": "string", |
| 30888 | + "example": "type" |
| 30889 | + }, |
| 30890 | + "direction": { |
| 30891 | + "description": "The direction to order by, either ascending or descending", |
| 30892 | + "type": "string", |
| 30893 | + "example": "ASC", |
| 30894 | + "enum": [ |
| 30895 | + "ASC", |
| 30896 | + "DESC" |
| 30897 | + ] |
| 30898 | + } |
| 30899 | + } |
| 30900 | + } |
| 30901 | + } |
| 30902 | + } |
| 30903 | + }, |
| 30904 | + { |
| 30905 | + "properties": { |
| 30906 | + "entries": { |
| 30907 | + "description": "The items in this collection.", |
| 30908 | + "type": "array", |
| 30909 | + "items": { |
| 30910 | + "oneOf": [ |
| 30911 | + { |
| 30912 | + "$ref": "#/components/schemas/File--Full" |
| 30913 | + }, |
| 30914 | + { |
| 30915 | + "$ref": "#/components/schemas/Folder--Mini" |
| 30916 | + }, |
| 30917 | + { |
| 30918 | + "$ref": "#/components/schemas/WebLink" |
| 30919 | + } |
| 30920 | + ] |
| 30921 | + } |
| 30922 | + } |
| 30923 | + } |
| 30924 | + } |
| 30925 | + ], |
| 30926 | + "title": "Items", |
| 30927 | + "x-box-resource-id": "items_offset_paginated", |
| 30928 | + "x-box-tag": "folders" |
| 30929 | + }, |
30812 | 30930 | "KeywordSkillCard": { |
30813 | 30931 | "description": "A skill card that contains a set of keywords", |
30814 | 30932 | "type": "object", |
|
0 commit comments