Skip to content

Commit

Permalink
Update TableResourceList
Browse files Browse the repository at this point in the history
  • Loading branch information
amisi01 committed Feb 15, 2022
1 parent 2b4fbcf commit 6dd4519
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"responses": {
"200": {
"body": {
"tableNames": [
"table1"
"value": [
"table1",
"table2"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@
"200": {
"description": "The operation completed successfully.",
"schema": {
"$ref": "#/definitions/RestorableTableResourcesGetResult"
"$ref": "#/definitions/RestorableTableResourcesListResult"
}
},
"default": {
Expand All @@ -902,6 +902,9 @@
"$ref": "cosmos-db.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
}
Expand Down Expand Up @@ -1674,21 +1677,19 @@
}
}
},
"RestorableTableResourcesGetResult": {
"description": "The Get operation response, that contains the restorable Table names.",
"RestorableTableResourcesListResult": {
"type": "object",
"properties": {
"tableNames": {
"value": {
"readOnly": true,
"$ref": "#/definitions/TableRestoreResource"
"type": "array",
"items": {
"$ref": "../../preview/2021-11-15-preview/cosmos-db.json#/definitions/TableName"
},
"description": "List of restorable table names."
}
}
},
"TableRestoreResource": {
"type": "array",
"items": {
"$ref": "../../preview/2021-11-15-preview/cosmos-db.json#/definitions/TableName"
}
},
"description": "List of restorable table names."
},
"OperationType": {
"description": "Enum to indicate the operation type of the event.",
Expand Down Expand Up @@ -1835,6 +1836,22 @@
"x-ms-parameter-location": "method",
"description": "Restorable Tables event feed end time."
},
"restoreStartTime": {
"name": "startTime",
"in": "query",
"required": false,
"type": "string",
"x-ms-parameter-location": "method",
"description": "The snapshot create timestamp after which snapshots need to be listed."
},
"restoreEndTime": {
"name": "endTime",
"in": "query",
"required": false,
"type": "string",
"x-ms-parameter-location": "method",
"description": "The snapshot create timestamp before which snapshots need to be listed."
},
"locationParameter": {
"name": "location",
"in": "path",
Expand Down

0 comments on commit 6dd4519

Please sign in to comment.