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

feat: test sync #482

Closed
wants to merge 1 commit into from
Closed
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
176 changes: 147 additions & 29 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": "98d60db47f"
"x-box-commit-hash": "c843876109"
},
"servers": [
{
Expand Down Expand Up @@ -6252,6 +6252,28 @@
"name"
],
"explode": false
},
{
"name": "limit",
"in": "query",
"description": "The maximum number of items to return per page.",
"required": false,
"schema": {
"type": "integer",
"format": "int64",
"maximum": 1000
},
"example": 1000
},
{
"name": "marker",
"in": "query",
"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`.",
"required": false,
"schema": {
"type": "string"
},
"example": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
}
],
"responses": {
Expand Down Expand Up @@ -7839,6 +7861,28 @@
"format": "uuid"
},
"example": "01234500-12f1-1234-aa12-b1d234cb567e"
},
{
"name": "marker",
"in": "query",
"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`.",
"required": false,
"schema": {
"type": "string"
},
"example": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
},
{
"name": "limit",
"in": "query",
"description": "The maximum number of items to return per page.",
"required": false,
"schema": {
"type": "integer",
"format": "int64",
"maximum": 1000
},
"example": 1000
}
],
"responses": {
Expand Down Expand Up @@ -10089,7 +10133,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Collaborations"
"$ref": "#/components/schemas/CollaborationsOffsetPaginated"
}
}
}
Expand Down Expand Up @@ -16347,7 +16391,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Collaborations"
"$ref": "#/components/schemas/CollaborationsOffsetPaginated"
}
}
}
Expand Down Expand Up @@ -17785,7 +17829,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Items"
"$ref": "#/components/schemas/ItemsOffsetPaginated"
}
}
}
Expand Down Expand Up @@ -26269,6 +26313,26 @@
}
}
},
{
"properties": {
"entries": {
"description": "A list of collaborations",
"type": "array",
"items": {
"$ref": "#/components/schemas/Collaboration"
}
}
}
}
],
"title": "Collaborations",
"x-box-resource-id": "collaborations",
"x-box-tag": "user_collaborations"
},
"CollaborationsOffsetPaginated": {
"description": "A list of collaborations",
"type": "object",
"allOf": [
{
"type": "object",
"description": "The part of an API response that describes pagination",
Expand All @@ -26290,30 +26354,6 @@
"type": "integer",
"format": "int64",
"example": 2000
},
"order": {
"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.",
"type": "array",
"items": {
"type": "object",
"description": "The order in which a pagination is ordered",
"properties": {
"by": {
"description": "The field to order by",
"type": "string",
"example": "type"
},
"direction": {
"description": "The direction to order by, either ascending or descending",
"type": "string",
"example": "ASC",
"enum": [
"ASC",
"DESC"
]
}
}
}
}
}
},
Expand All @@ -26330,7 +26370,7 @@
}
],
"title": "Collaborations",
"x-box-resource-id": "collaborations",
"x-box-resource-id": "collaborations_offset_paginated",
"x-box-tag": "user_collaborations"
},
"CollaboratorVariable": {
Expand Down Expand Up @@ -30809,6 +30849,84 @@
"x-box-resource-id": "items",
"x-box-tag": "folders"
},
"ItemsOffsetPaginated": {
"description": "A list of files, folders, and web links in\ntheir mini representation.",
"type": "object",
"allOf": [
{
"type": "object",
"description": "The part of an API response that describes pagination",
"properties": {
"total_count": {
"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.",
"type": "integer",
"format": "int64",
"example": 5000
},
"limit": {
"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.",
"type": "integer",
"format": "int64",
"example": 1000
},
"offset": {
"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.",
"type": "integer",
"format": "int64",
"example": 2000
},
"order": {
"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.",
"type": "array",
"items": {
"type": "object",
"description": "The order in which a pagination is ordered",
"properties": {
"by": {
"description": "The field to order by",
"type": "string",
"example": "type"
},
"direction": {
"description": "The direction to order by, either ascending or descending",
"type": "string",
"example": "ASC",
"enum": [
"ASC",
"DESC"
]
}
}
}
}
}
},
{
"properties": {
"entries": {
"description": "The items in this collection.",
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/File--Full"
},
{
"$ref": "#/components/schemas/Folder--Mini"
},
{
"$ref": "#/components/schemas/WebLink"
}
]
}
}
}
}
],
"title": "Items",
"x-box-resource-id": "items_offset_paginated",
"x-box-tag": "folders"
},
"KeywordSkillCard": {
"description": "A skill card that contains a set of keywords",
"type": "object",
Expand Down
Loading