Skip to content

Commit 6b27b40

Browse files
feat(swagger): scylla, update new tablet repair API (#4232)
This commit adds new 'await_completion' query param introduced in scylladb/scylladb#22436 and updates response to tablet task ID as per scylladb/scylladb#22436 (comment).
1 parent af23793 commit 6b27b40

File tree

3 files changed

+96
-3
lines changed

3 files changed

+96
-3
lines changed

v3/swagger/gen/scylla/v1/client/operations/storage_service_tablets_repair_post_parameters.go

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v3/swagger/gen/scylla/v1/client/operations/storage_service_tablets_repair_post_responses.go

Lines changed: 47 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v3/swagger/scylla_v1.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12694,12 +12694,27 @@
1269412694
"required": true,
1269512695
"type": "string",
1269612696
"description": "Tokens owned by the tablets to repair. Multiple tokens can be provided using a comma-separated list. When set to the special word 'all', all tablets will be repaired"
12697+
},
12698+
{
12699+
"name": "await_completion",
12700+
"in": "query",
12701+
"required": false,
12702+
"type": "string",
12703+
"description": "Set true to wait for the repair to complete. Set false to skip waiting for the repair to complete. When the option is not provided, it defaults to false."
1269712704
}
1269812705
],
1269912706
"responses": {
1270012707
"200": {
12701-
"description": "Success",
12702-
"headers": {}
12708+
"description": "Tablet task ID",
12709+
"schema": {
12710+
"type": "object",
12711+
"properties": {
12712+
"tablet_task_id": {
12713+
"description": "Tablet task ID",
12714+
"type": "string"
12715+
}
12716+
}
12717+
}
1270312718
},
1270412719
"default": {
1270512720
"description": "internal server error",

0 commit comments

Comments
 (0)